@beggar-bot/x402-client 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +2 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # @beggar-bot/x402-client
2
2
 
3
+ Source: [https://github.com/beggar-bot-x402/beggar-bot-connectors/tree/main/packages/x402-client](https://github.com/beggar-bot-x402/beggar-bot-connectors/tree/main/packages/x402-client)
4
+
3
5
  Core client for Beggar Bot's pay-per-call APIs. A request that returns HTTP 402 is signed with the **buyer's** wallet (EIP-3009 `transferWithAuthorization` for USDC on Base) and retried with `PAYMENT-SIGNATURE` (x402 v2) or `X-PAYMENT` (v1).
4
6
 
5
7
  Default price is $0.02 USDC per call. The client will refuse to sign if the 402 asks for more than the configured cap (default $0.02).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beggar-bot/x402-client",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "x402 client for Beggar Bot: $0.02 USDC per call on Base, signed by the buyer's wallet.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -41,7 +41,7 @@
41
41
  "url": "git+https://github.com/beggar-bot-x402/beggar-bot-connectors.git",
42
42
  "directory": "packages/x402-client"
43
43
  },
44
- "homepage": "https://github.com/beggar-bot-x402/beggar-bot-connectors/tree/main/packages/x402-client",
44
+ "homepage": "https://github.com/beggar-bot-x402/beggar-bot-connectors/tree/main/packages/x402-client#readme",
45
45
  "bugs": {
46
46
  "url": "https://github.com/beggar-bot-x402/beggar-bot-connectors/issues"
47
47
  }