/** * paygate v3 — x402 paywall middleware for Express and Fastify. * * Accept payment from AI agents in two lines of code. Merchants don't * hold keys, agents pay per-request, USDC settles in seconds on Base * mainnet via ArisPay's facilitator. * * Express: * import { paygate } from 'paygate/express'; * const pw = paygate({ merchantId: process.env.PAYGATE_MERCHANT_ID }); * app.get('/api/data', pw({ priceCents: 10 }), handler); * * Fastify: * import paygate from 'paygate/fastify'; * await app.register(paygate, { merchantId: process.env.PAYGATE_MERCHANT_ID }); * app.get('/api/data', { config: { paygate: { priceCents: 10 } } }, handler); * * v2 callers (`wallet` + `network` + `price`) keep working via a compat * shim; a deprecation warning fires on first use. The shim is removed * in v4. */ export { handlePaywall, DEFAULT_FACILITATOR, DEFAULT_API_URL, buildBazaarDiscoveryExtension, manifestPointerFor, resolveManifestDocument, matchPriorSettlement, networkFamily, feePayerFromSupported, svmPaymentIdFromTransaction, SOLANA_MAINNET_CAIP2, SOLANA_DEVNET_CAIP2, } from "./core.js"; export type { PaygateConfig, PaygateCurrency, RoutePrice, PaywallResult, DiscoveryRateLimitConfig, PriorSettlementLike, SettlementFamily, } from "./core.js"; export { ARISPAY_FIAT_SCHEME, FIAT_CURRENCIES, buildFiatAccept, fiatAuthorizationFromPayload, isValidFiatSettlement, } from "./fiat.js"; export type { FiatAccept, FiatCurrency, FiatRequirements, FiatSettleResponse, FiatTerms, } from "./fiat.js"; export { paygate } from "./express.js"; export { arispayManifest } from "./express.js"; export { paygatePlugin } from "./fastify.js"; export { default as paygatePluginDefault } from "./fastify.js"; export { GhostPayPartner } from "./ghost-partner.js"; export type { GhostPayPartnerConfig, GhostPaymentLink, GhostWebhookPayload, } from "./ghost-partner.js"; export { buildSellerManifest, validateCapabilityManifest, } from "./manifest.js"; export type { CapabilityManifestV1, ManifestProduct, ManifestRail, ManifestValidation, } from "./manifest.js"; export { registerResource } from "./register.js"; export type { RegisterResult } from "./register.js"; export { verifyUrl } from "./verify.js"; export type { VerifyCheck, VerifyReceipt } from "./verify.js"; export { parseWrapArgv, validateWrapArgs, runWrap } from "./wrap.js"; export type { WrapArgs, WrapError } from "./wrap.js"; export { generateWrapFiles } from "./wrap-templates.js"; export type { WrapOptions, WrapRoute } from "./wrap-templates.js"; //# sourceMappingURL=index.d.ts.map