@relai-fi/x402 0.5.11 → 0.5.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -38,9 +38,9 @@ This SDK handles the entire flow automatically — call `fetch()` and payments h
38
38
 
39
39
  ## Examples
40
40
 
41
- See complete working examples in the [`examples/`](./examples) folder:
41
+ Try a live end-to-end flow in the **RelAI Playground**:
42
42
 
43
- - **[SKALE BITE Next.js](./examples/skale-bite-nextjs)** - Full-stack app with backend protection and frontend payments
43
+ - **[RelAI Playground](https://relai.fi/playground)**
44
44
 
45
45
  ---
46
46
 
@@ -200,7 +200,12 @@ function PayButton() {
200
200
  | **Polygon** | `polygon` | `eip155:137` | EIP-3009 transferWithAuthorization | `0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359` |
201
201
  | **Ethereum** | `ethereum` | `eip155:1` | EIP-3009 transferWithAuthorization | `0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48` |
202
202
 
203
- All networks use **USDC** with 6 decimals. Gas fees are sponsored by the RelAI facilitator.
203
+ All networks support **USDC** (6 decimals). On SKALE Base networks, the SDK also supports:
204
+
205
+ - **SKALE Base (`skale-base`)**: USDT (`0x2bF5bF154b515EaA82C31a65ec11554fF5aF7fCA`), WBTC (`0x1aeeCFE5454c83B42D8A316246CAc9739E7f690e`), WETH (`0x7bD39ABBd0Dd13103542cAe3276C7fA332bCA486`)
206
+ - **SKALE Base Sepolia (`skale-base-sepolia`)**: USDT (`0x3ca0a49f511c2c89c4dcbbf1731120d8919050bf`), WBTC (`0x4512eacd4186b025186e1cf6cc0d89497c530e87`), WETH (`0xf94056bd7f6965db3757e1b145f200b7346b4fc0`)
207
+
208
+ Gas fees are sponsored by the RelAI facilitator.
204
209
 
205
210
  ---
206
211
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@relai-fi/x402",
3
- "version": "0.5.11",
3
+ "version": "0.5.12",
4
4
  "description": "Unified x402 payment SDK for Solana, Base, Avalanche, SKALE Base, SKALE BITE, Polygon, and Ethereum. Automatic 402 handling with zero gas fees.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",
@@ -34,8 +34,7 @@
34
34
  },
35
35
  "files": [
36
36
  "dist",
37
- "README.md",
38
- "examples"
37
+ "README.md"
39
38
  ],
40
39
  "repository": {
41
40
  "type": "git",
@@ -1 +0,0 @@
1
- [{"name":"next-dev","duration":104358256850,"timestamp":2292636581280,"id":1,"tags":{},"startTime":1771321531578,"traceId":"dc5d1d82c5be2e16"}]