@agentspend/sdk 0.3.7 → 0.3.8

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/dist/index.js CHANGED
@@ -72,7 +72,7 @@ function createAgentSpend(options) {
72
72
  let resourceServer = null;
73
73
  const cryptoNetwork = (options.crypto?.network ?? "eip155:8453");
74
74
  if (options.crypto || options.serviceApiKey) {
75
- const facilitatorUrl = options.crypto?.facilitatorUrl ?? "https://x402.org/facilitator";
75
+ const facilitatorUrl = options.crypto?.facilitatorUrl ?? "https://facilitator.openx402.ai";
76
76
  facilitator = new server_1.HTTPFacilitatorClient({ url: facilitatorUrl });
77
77
  resourceServer = new server_1.x402ResourceServer(facilitator);
78
78
  (0, server_2.registerExactEvmScheme)(resourceServer);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agentspend/sdk",
3
- "version": "0.3.7",
3
+ "version": "0.3.8",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "publishConfig": {
package/src/index.ts CHANGED
@@ -202,7 +202,7 @@ export function createAgentSpend(options: AgentSpendOptions): AgentSpend {
202
202
 
203
203
  if (options.crypto || options.serviceApiKey) {
204
204
  const facilitatorUrl =
205
- options.crypto?.facilitatorUrl ?? "https://x402.org/facilitator";
205
+ options.crypto?.facilitatorUrl ?? "https://facilitator.openx402.ai";
206
206
  facilitator = new HTTPFacilitatorClient({ url: facilitatorUrl });
207
207
  resourceServer = new x402ResourceServer(facilitator);
208
208
  registerExactEvmScheme(resourceServer);