Skip to content

feat(truapi)!: payment requests by id through PaymentPlatform - #1232

Closed
filvecchiato wants to merge 5 commits into
funding/corefrom
funding/off-ramp
Closed

filvecchiato wants to merge 5 commits into
funding/corefrom
funding/off-ramp

Conversation

@filvecchiato

@filvecchiato filvecchiato commented Oct 6, 2026 •

Copy link
Copy Markdown
Collaborator

payment.request and payment.statusSubscribe follow a caller-chosen 32-byte id, as the SDK does. Stacked on #1229.

  • AlreadyExists for a reused id, PartiallyClaimed as a status
  • Hosts serve both through PaymentPlatform; natively set_payment_callbacks and notify_payment_status
  • A product needs a signed-in session to pay or follow a payment

Breaking: the payment request and status wire shapes change.

Part of #1178.

@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Bundle size report

Compared with main at 02c9712.

Raw Gzip Brotli
truapi-host 7.84 MiB (+50.6 KiB, +0.6%) 5.65 MiB (+16.3 KiB, +0.3%) 5.38 MiB (+12.0 KiB, +0.2%)
truapi-provider 4.03 MiB 1.27 MiB 959.8 KiB
truapi 5.75 MiB (+35.7 KiB, +0.6%) 810.2 KiB (+5.3 KiB, +0.7%) 664.1 KiB (+4.2 KiB, +0.6%)
Total 17.62 MiB (+86.2 KiB, +0.5%) 7.71 MiB (+21.6 KiB, +0.3%) 6.96 MiB (+16.1 KiB, +0.2%)

WebAssembly modules

Raw Gzip Brotli
truapi-host/wasm/web/truapi_server_bg.wasm 2.74 MiB (+50.2 KiB, +1.8%) 978.4 KiB (+16.2 KiB, +1.7%) 738.3 KiB (+11.8 KiB, +1.6%)
truapi-host/wasm/web/truapi_verifiable_bg.wasm 4.89 MiB 4.64 MiB 4.61 MiB
truapi-provider/truapi_provider_bg.wasm 3.99 MiB 1.26 MiB 952.1 KiB
Changed files (10)
Raw Gzip Brotli
truapi-host/wasm/web/truapi_server_bg.wasm 2.74 MiB (+50.2 KiB, +1.8%) 978.4 KiB (+16.2 KiB, +1.7%) 738.3 KiB (+11.8 KiB, +1.6%)
truapi/explorer/codegen/types.js 217.6 KiB (+13.2 KiB, +6.5%) 29.7 KiB (+1.8 KiB, +6.6%) 23.9 KiB (+1.4 KiB, +6.4%)
truapi/playground/codegen/truapi-dts.js 285.0 KiB (+12.2 KiB, +4.5%) 49.1 KiB (+2.1 KiB, +4.5%) 39.6 KiB (+1.7 KiB, +4.4%)
truapi/playground/codegen/services.js 98.0 KiB (+3.4 KiB, +3.6%) 14.7 KiB (+472 B, +3.2%) 12.3 KiB (+362 B, +2.9%)
truapi/generated/types.js 62.8 KiB (+3.0 KiB, +4.9%) 7.6 KiB (+429 B, +5.8%) 6.5 KiB (+315 B, +5.0%)
truapi/generated/client.js 69.0 KiB (+2.5 KiB, +3.8%) 10.3 KiB (+371 B, +3.7%) 8.5 KiB (+314 B, +3.7%)
truapi/generated/wire-decode.js 28.2 KiB (+1.1 KiB, +3.9%) 3.0 KiB (+77 B, +2.6%) 2.5 KiB (+60 B, +2.4%)
truapi-host/generated/host-callbacks.js 10.5 KiB (+399 B, +3.9%) 3.3 KiB (+122 B, +3.7%) 2.8 KiB (+113 B, +4.0%)
truapi/generated/wire-table.js 8.8 KiB (+295 B, +3.4%) 1.5 KiB (+26 B, +1.7%) 1.2 KiB (+19 B, +1.5%)
truapi-host/wasm/web/truapi_server.js 57.8 KiB (+3 B) 10.5 KiB (+6 B, +0.1%) 9.1 KiB (+16 B, +0.2%)

Commit: aa8de7c

@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

CI Status: 24 required jobs green, 21 passed and 3 skipped by path filter.

All job results
job result
android-bindings success
bundle-size success
changes success
changeset-guard success
cli-package success
codegen success
e2e skipped
explorer success
headless-install success
host-android-bindings success
host-android-detekt success
host-wasm success
ios-bindings success
ios-swift success
licenses success
playground success
provider-android-bindings skipped
release-guard success
rust success
ts-client success
ts-debugger success
ts-host success
wasm-provider success
workflow-lint skipped

Signing credentials: failure as of 2026-10-06, a release may fail

Commit aa8de7c2 · run log

@filvecchiato filvecchiato changed the title feat(truapi)!: funding off-ramp, from balance to Asset Hub feat(truapi)!: payment requests by id through PaymentPlatform Oct 6, 2026
@filvecchiato
filvecchiato added this pull request to stack #1284 October 7, 2026 09:49
Base automatically changed from funding/host-data to funding/core October 7, 2026 10:00
@filvecchiato
filvecchiato removed this pull request from stack #1284 October 7, 2026 10:00
@filvecchiato
filvecchiato added this pull request to stack #1287 October 7, 2026 10:00
@filvecchiato
filvecchiato removed this pull request from stack #1287 October 7, 2026 19:03
@filvecchiato

Copy link
Copy Markdown
Collaborator Author

Moved to #1314 (payments by id and balance, against main).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation rfc rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant