> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xenarch.com/llms.txt
> Use this file to discover all available pages before exploring further.

# JavaScript SDK

> Changelog for @xenarch/sdk, the JavaScript and TypeScript SDK for agents and merchants.

Install with `npm install @xenarch/sdk`. Source: [xenarch-sdks/js/sdk](https://github.com/xenarch-ai/xenarch-sdks/tree/main/js/sdk). See the [TypeScript SDK guide](https://docs.xenarch.com/sdks/typescript.md).

**v1.3.0**

2026-11-25

* Choose which networks and coins a pay link takes: `links.networks()`, `links.setNetworks()`. Besides USDC on Base, a link can take USDC and USDT on Ethereum, BNB Chain and Monad, and USDT on Tron. `links.availableNetworks()` lists them all. XEN-719
* `links.walletScan()` shows a payer's balances and network fees on each network a link takes.
* Payments and orders carry `network`, `token`, `chain_id` and `explorer_url`.

**v1.2.1**

2026-11-24

* README: the seller pays Xenarch 1% of each payment. Gasless applies to agent (x402) payments; people paying a pay link send an ordinary USDC transfer and pay Base's network fee. XEN-675 XEN-673

**v1.2.0**

2026-07-12

* Covers the full public API: pay links, payments, subscribers, orders, webhooks and the agent control plane. XEN-555
* New wrappers: metered collection (`collect.prepare`), subscription suspend and unsuspend, metered cap suggestions, and the `subscription.status_changed` webhook type. XEN-636
* Fixed: the services API now sends your credentials. XEN-637

**v1.1.0**

2026-06-05

* Verify webhook signatures with the timestamped `X-Xenarch-Signature: t=…,v1=…` scheme, which rejects replayed deliveries. XEN-431

**v1.0.0**

2026-06-04

* First release: one SDK for Node, Bun, Deno and edge runtimes. `sdk.x402` pays any HTTP 402 resource; `sdk.merchant` manages pay links, payments, subscribers and your merchant profile; `sdk.webhooks` verifies webhook signatures. XEN-419
* `Xenarch.fromConfig()` reuses the CLI's wallet and session.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.