@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 +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
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://
|
|
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
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://
|
|
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);
|