@mixrpay/agent-sdk 0.3.1 → 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 +1 -1
- package/dist/index.js +1 -1
- 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
|
@@ -443,7 +443,7 @@ function getAmountUsd(requirements) {
|
|
|
443
443
|
|
|
444
444
|
// src/agent-wallet.ts
|
|
445
445
|
var SDK_VERSION = "0.3.1";
|
|
446
|
-
var DEFAULT_BASE_URL = process.env.MIXRPAY_BASE_URL || "https://mixrpay.com";
|
|
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.js
CHANGED
|
@@ -409,7 +409,7 @@ function getAmountUsd(requirements) {
|
|
|
409
409
|
|
|
410
410
|
// src/agent-wallet.ts
|
|
411
411
|
var SDK_VERSION = "0.3.1";
|
|
412
|
-
var DEFAULT_BASE_URL = process.env.MIXRPAY_BASE_URL || "https://mixrpay.com";
|
|
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
|
},
|