Skip to content

Releases: atxp-dev/sdk

v0.11.12

02 Jun 16:03
73bbf2d

Choose a tag to compare

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

v0.11.11

02 Jun 14:31
2827140

Choose a tag to compare

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

29 May 00:16
7b9cd38

Choose a tag to compare

Release v0.11.10 with the MPP resource capture changes and release workflow fixes.

v0.11.9

28 May 22:05
0a11c66

Choose a tag to compare

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

15 Apr 22:19

Choose a tag to compare

  • 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

v0.10.10

31 Mar 23:17

Choose a tag to compare

Phase 2: Account.authorize(), PaymentClient, AuthorizationError, buildPaymentHeaders

v0.10.9

31 Mar 23:04

Choose a tag to compare

Publish fix: adds --ignore-existing, adds @atxp/mpp and @atxp/tempo packages

v0.10.8

31 Mar 22:40
1c63f53

Choose a tag to compare

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

v0.10.7

16 Mar 19:31

Choose a tag to compare

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).

v0.10.6

04 Mar 18:53
01a216d

Choose a tag to compare

feat: add getProfile() to ATXPAccount for exposing /me profile data (account type, funded status)