Skip to content

Releases: atxp-dev/sdk

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)

v0.10.5

14 Jan 23:35
863cfbe

Choose a tag to compare

What's Changed

  • ATXP accounts make payments 5x faster
  • feat: Use resource_url-based spend permissions by @badjer in #133
  • feat: Handle 202 Accepted from /charge endpoint by @badjer in #137

Full Changelog: v0.10.4...v0.10.5

v0.10.4

12 Jan 20:47
6e3aae3

Choose a tag to compare

What's Changed

Full Changelog: v0.10.3...v0.10.4

v0.10.3

18 Dec 23:08
9604648

Choose a tag to compare

What's Changed

  • Add ChatGPT-compatible authentication example and documentation by @napoleond in #129
  • Support multi-tenant PRM (PRM URLs not at the domain root) by @badjer in #130

Full Changelog: v0.10.2...v0.10.3

v0.10.2

17 Dec 21:35
94901f4

Choose a tag to compare

What's Changed

  • Add PaymentDestination interface for lightweight server destinations by @badjer in #128

Full Changelog: v0.10.1...v0.10.2