@mixrpay/agent-sdk 0.3.0 → 0.3.2
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 +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -466,7 +466,7 @@ console.log(`Testnet: ${wallet.isTestnet()}`); // true
|
|
|
466
466
|
| Variable | Required | Description |
|
|
467
467
|
|----------|----------|-------------|
|
|
468
468
|
| `MIXRPAY_SESSION_KEY` | Yes | Your session key (`sk_live_...` or `sk_test_...`) |
|
|
469
|
-
| `MIXRPAY_BASE_URL` | No | MixrPay server URL (default: `https://mixrpay.com`) |
|
|
469
|
+
| `MIXRPAY_BASE_URL` | No | MixrPay server URL (default: `https://www.mixrpay.com`) |
|
|
470
470
|
|
|
471
471
|
## 🔒 Security Best Practices
|
|
472
472
|
|
package/dist/index.cjs
CHANGED
|
@@ -442,8 +442,8 @@ function getAmountUsd(requirements) {
|
|
|
442
442
|
}
|
|
443
443
|
|
|
444
444
|
// src/agent-wallet.ts
|
|
445
|
-
var SDK_VERSION = "0.3.
|
|
446
|
-
var DEFAULT_BASE_URL = process.env.MIXRPAY_BASE_URL || "https://mixrpay.com";
|
|
445
|
+
var SDK_VERSION = "0.3.1";
|
|
446
|
+
var DEFAULT_BASE_URL = process.env.MIXRPAY_BASE_URL || "https://www.mixrpay.com";
|
|
447
447
|
var DEFAULT_TIMEOUT = 3e4;
|
|
448
448
|
var NETWORKS = {
|
|
449
449
|
BASE_MAINNET: { chainId: 8453, name: "Base", isTestnet: false },
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -408,8 +408,8 @@ function getAmountUsd(requirements) {
|
|
|
408
408
|
}
|
|
409
409
|
|
|
410
410
|
// src/agent-wallet.ts
|
|
411
|
-
var SDK_VERSION = "0.3.
|
|
412
|
-
var DEFAULT_BASE_URL = process.env.MIXRPAY_BASE_URL || "https://mixrpay.com";
|
|
411
|
+
var SDK_VERSION = "0.3.1";
|
|
412
|
+
var DEFAULT_BASE_URL = process.env.MIXRPAY_BASE_URL || "https://www.mixrpay.com";
|
|
413
413
|
var DEFAULT_TIMEOUT = 3e4;
|
|
414
414
|
var NETWORKS = {
|
|
415
415
|
BASE_MAINNET: { chainId: 8453, name: "Base", isTestnet: false },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mixrpay/agent-sdk",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.2",
|
|
4
4
|
"description": "MixrPay Agent SDK - Enable AI agents to make x402 payments with session keys",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"type": "git",
|
|
49
49
|
"url": "https://github.com/mixrpay/mixrpay-js"
|
|
50
50
|
},
|
|
51
|
-
"homepage": "https://mixrpay.com",
|
|
51
|
+
"homepage": "https://www.mixrpay.com",
|
|
52
52
|
"bugs": {
|
|
53
53
|
"url": "https://github.com/mixrpay/mixrpay-js/issues"
|
|
54
54
|
},
|