-
Notifications
You must be signed in to change notification settings - Fork 1
Releases: atxp-dev/sdk
v0.11.12
73bbf2d Summary
- Propagate the ATXP payment lifecycle id through ATXPAccount retry headers.
- Publish @atxp/client 0.11.12 with the lifecycle header fix.
Validation
- npm test -w packages/atxp-client -- atxpAccountHandler.test.ts
- npm run build -w packages/atxp-client
Assets 2
v0.11.11
2827140 What's Changed
- Propagate payment lifecycle IDs through x402 and MPP payment retries.
- Include the lifecycle payment request ID in resource-server settlement and follow-up charge payloads.
- Expose request context helpers for carrying the payment request ID through ATXP server middleware.
This release includes the changes from PR #175.
Assets 2
v0.11.10
7b9cd38 Release v0.11.10 with the MPP resource capture changes and release workflow fixes.
Assets 2
v0.11.9
0a11c66 Changes
- Carry destination resource metadata in MPP challenges so accounts can attribute MPP payments to the correct product destination.
- Preserve resource metadata both at the MPP challenge level and inside the serialized request payload for Tempo and Solana MPP challenges.
Assets 2
v0.11.8
- Support for settlement over X402 and MPP in addition to the ATXP protocol.
- Server now issues payment challenges for ATXP+X402+MPP[0][1] combined
[0] MPP challenges over MCP use a non-standard error code (-30402 instead of -32042) for this release for back-compatibility with previous ATXP clients. We intend to drop support for older client versions in a future release to standardize on the -32042 error code. ATXP SDK clients from v0.11.X onwards work with either.
[1] The ATXP server's X402 challenge over MCP uses a custom format and should only be expected to work with the ATXP client.
What's Changed
- fix: unify PaymentProtocol type (use @atxp/common, not local duplicate) by @badjer in #145
- feat: authorize() takes protocols[] array — accounts decides protocol via flag by @badjer in #146
- feat: add MPP to server protocol detection, settlement, and omni-challenge by @badjer in #147
- ATXPAccountHandler, settle-at-start, X402 fixes by @badjer in #149
- fix: protocol handler retries use OAuth-authenticated fetch by @badjer in #150
- fix: skip unrecognized chains/currencies instead of throwing by @badjer in #152
- feat: settle in requirePayment + x402 v2 upgrade + unit/identity fixes by @badjer in #151
- feat: x402 v2 upgrade + unit/identity fixes by @badjer in #153
- feat: add context field to AuthorizeResult for settlement passthrough by @badjer in #154
- feat: multi-chain MPP support (Solana + Tempo) by @badjer in #155
- fix: MPP challenge expires + Tempo human-readable amount by @badjer in #156
- fix: X402 Solana SDK review — tests, dedup, server-driven chain selection by @badjer in #157
- fix: restore legacy error code -30402 for backwards compatibility by @badjer in #158
- fix: preserve omni-challenge data through McpServer wrapping by @badjer in #159
- fix: unwrap JSON-RPC error envelope for MCP payment challenges by @badjer in #160
- fix: defer writeHead to prevent Content-Length truncation in payment rewriter by @badjer in #161
- fix: only advertise protocols with actual challenge data by @badjer in #162
- fix: move payment settlement from requirePayment() to middleware by @badjer in #164
Full Changelog: v0.10.10...v0.11.8
Assets 2
v0.10.10
Phase 2: Account.authorize(), PaymentClient, AuthorizationError, buildPaymentHeaders
Assets 2
v0.10.9
Publish fix: adds --ignore-existing, adds @atxp/mpp and @atxp/tempo packages
Assets 2
v0.10.8
1c63f53 What's Changed
- feat: multi-protocol support — unified fetcher + omni-challenge (Phase 1) by @badjer in #143
- feat: PaymentClient + buildPaymentHeaders (Phase 2) by @badjer in #144
Full Changelog: v0.10.7...v0.10.8
Assets 2
v0.10.7
What's New
@atxp/server
getBalance()— New function for MCP servers to check a user's available balance without charging.
Part of ATXP-1712 (dynamic image pricing).