opentool 0.7.3 → 0.7.4
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/cli/index.js +3 -4
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +3 -4
- package/dist/index.js.map +1 -1
- package/dist/x402/index.js +3 -4
- package/dist/x402/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -706,10 +706,9 @@ async function requireX402Payment(request, payment, options = {}) {
|
|
|
706
706
|
const response = createX402PaymentRequired(definition);
|
|
707
707
|
throw new X402PaymentRequiredError(response);
|
|
708
708
|
}
|
|
709
|
-
const verifyOptions = {
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
}
|
|
709
|
+
const verifyOptions = {
|
|
710
|
+
settle: options.settle !== void 0 ? options.settle : true
|
|
711
|
+
};
|
|
713
712
|
if (options.fetchImpl !== void 0) {
|
|
714
713
|
verifyOptions.fetchImpl = options.fetchImpl;
|
|
715
714
|
}
|