Skip to content

radius-sdk@0.8.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 03:33
· 5 commits to main since this release
7daf950

Minor Changes

  • 5644f50: Base and Base Sepolia default to the Radius facilitators (facilitator.radiustech.xyz, facilitator.testnet.radiustech.xyz), as the Radius platform catalog names them; Base Sepolia no longer defaults to x402.org and Base mainnet no longer needs a named facilitator. Presets carry their mainnet/testnet counterpart (counterpartOf()), and PRESET_NAMES / NETWORK_ALIASES list the preset ids and aliases, so NetworkName follows the preset list. The CLI derives wallet pay's networks from the presets: RADIUS_<PRESET>_RPC_URL and rpcUrls["<preset>"] set the RPC of every non-Radius preset (RADIUS_BASE_RPC_URL and RADIUS_BASE_SEPOLIA_RPC_URL are unchanged).

Patch Changes

  • 0f77aa6: Sellers no longer declare eip2612GasSponsoring in a 402 whose offers are all EIP-3009 (the Radius default since 0.4.0): EIP-3009 needs no approval, so there is nothing to sponsor. The declaration stays when the 402 carries a Permit2 offer whose facilitator supports sponsoring, and gasSponsoring: true now forces it only for Permit2 offers. Buyers see PaymentOffer.gasSponsored: false for such offers; payments are unchanged.