@mixrpay/agent-sdk 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.
package/README.md CHANGED
@@ -38,7 +38,7 @@ pnpm add @mixrpay/agent-sdk
38
38
 
39
39
  ## 🔧 Configuration
40
40
 
41
- By default, the SDK connects to `http://localhost:3000`. For production, set your MixrPay server URL:
41
+ By default, the SDK connects to `https://mixrpay.com`. For local development, set your MixrPay server URL:
42
42
 
43
43
  ```typescript
44
44
  const wallet = new AgentWallet({
@@ -450,7 +450,7 @@ const wallet = new AgentWallet({
450
450
  | Variable | Required | Description |
451
451
  |----------|----------|-------------|
452
452
  | `MIXRPAY_SESSION_KEY` | Yes | Your session key (`sk_live_...` or `sk_test_...`) |
453
- | `MIXRPAY_BASE_URL` | No | MixrPay server URL (default: `http://localhost:3000`) |
453
+ | `MIXRPAY_BASE_URL` | No | MixrPay server URL (default: `https://mixrpay.com`) |
454
454
 
455
455
  ### x402 Facilitator
456
456
 
package/dist/index.cjs CHANGED
@@ -377,7 +377,7 @@ function validatePaymentAmount(amountUsd, maxPaymentUsd) {
377
377
 
378
378
  // src/agent-wallet.ts
379
379
  var SDK_VERSION = "0.1.0";
380
- var DEFAULT_BASE_URL = process.env.MIXRPAY_BASE_URL || "http://localhost:3000";
380
+ var DEFAULT_BASE_URL = process.env.MIXRPAY_BASE_URL || "https://mixrpay.com";
381
381
  var DEFAULT_FACILITATOR_URL = "https://x402.org/facilitator";
382
382
  var DEFAULT_TIMEOUT = 3e4;
383
383
  var NETWORKS = {
package/dist/index.js CHANGED
@@ -332,7 +332,7 @@ function validatePaymentAmount(amountUsd, maxPaymentUsd) {
332
332
 
333
333
  // src/agent-wallet.ts
334
334
  var SDK_VERSION = "0.1.0";
335
- var DEFAULT_BASE_URL = process.env.MIXRPAY_BASE_URL || "http://localhost:3000";
335
+ var DEFAULT_BASE_URL = process.env.MIXRPAY_BASE_URL || "https://mixrpay.com";
336
336
  var DEFAULT_FACILITATOR_URL = "https://x402.org/facilitator";
337
337
  var DEFAULT_TIMEOUT = 3e4;
338
338
  var NETWORKS = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mixrpay/agent-sdk",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
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",