Releases: atxp-dev/sdk
Releases · atxp-dev/sdk
v0.11.12
v0.11.11
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.
v0.11.10
Release v0.11.10 with the MPP resource capture changes and release workflow fixes.
v0.11.9
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.
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