UNPKG

@thorium-dev-group/x402-mcp-extension

Version:
13 lines 519 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isPaymentRequired = isPaymentRequired; exports.getPaymentOptions = getPaymentOptions; function isPaymentRequired(getOptions, target, propertyKey) { const options = getOptions(target, propertyKey); return options?.payment !== undefined; } function getPaymentOptions(getOptions, target, propertyKey) { const options = getOptions(target, propertyKey); return options?.payment; } //# sourceMappingURL=PaymentOptions.js.map