@dexterai/x402 1.8.1 → 1.8.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/dist/server/index.cjs
CHANGED
|
@@ -193,12 +193,12 @@ var FacilitatorClient = class {
|
|
|
193
193
|
const kind = supported.kinds.find(
|
|
194
194
|
(k) => k.x402Version === 2 && k.scheme === "exact" && k.network === network
|
|
195
195
|
);
|
|
196
|
-
if (!kind
|
|
196
|
+
if (!kind) {
|
|
197
197
|
throw new Error(
|
|
198
|
-
`Facilitator does not support network "${network}" with scheme "exact"
|
|
198
|
+
`Facilitator does not support network "${network}" with scheme "exact"`
|
|
199
199
|
);
|
|
200
200
|
}
|
|
201
|
-
return kind.extra
|
|
201
|
+
return kind.extra?.feePayer;
|
|
202
202
|
}
|
|
203
203
|
/**
|
|
204
204
|
* Get extra data for a network (feePayer, decimals, EIP-712 data, etc.)
|