Skip to main content
November 11, 2025 - @faremeter/* v0.12.0
  • New package: Introduced @faremeter/rides with adapters for EVM and Solana; exposes createPayer/payer to attach local wallets and perform paid fetches, plus an example script.
  • EVM exact facilitator: Removed local nonce tracking; rely solely on on-chain authorization status.
  • Solana wallet: Exported the LocalWallet type from wallet-solana.
  • DX/tooling: Added ESLint config to ignore underscore-prefixed unused vars; updated tests to use _ctx/_input.
  • Minor APIs: Unified matcher usage with unused context params marked; small client handler tweaks for EVM and Solana.
October 30, 2025 - @faremeter/* v0.11.0
  • Facilitator routes: Added debug logging when a handler accepts and returns a settlement.
  • Types: New ChainInfo type to decouple EVM chain shape from viem; added a reusable generateRequirementsMatcher helper for scheme/network/asset matching.
  • EVM exact: Client and facilitator now use unified matchers; client filters on validated tuple including asset; facilitator matches settlement against the requirement, uses ChainInfo, and passes chain: null when signing.
  • Solana exact: Common, client, and facilitator switched to shared matchers; client supports token config for associated address derivation; verification enforces max priority fee, blocks facilitator-funded ATA creation, and rejects facilitator-owned source or authority.
  • Wallets: EVM local and Ledger wallets accept ChainInfo instead of viem Chain; updated types and construction paths.
  • Docs/Examples: DEV.md notes bundled opsh; Solana server examples correct the required env var to PAYTO_KEYPAIR_PATH.
October 27, 2025 - @faremeter/* v0.10.0
  • Fetch: Refactored wrap to delegate parsing/building to a new internal API; added internal.ts, exported as fetch/internal; ‎wrap now uses ‎processPaymentRequiredResponse and sets ‎X-PAYMENT header from it.
  • Middleware: Accepts can be mixed single-or-array entries; logic flattens before fetching requirements.
  • Solana info: ‎lookupX402Network returns aliases (e.g., mainnet-beta → [“solana-mainnet-beta”,“solana”]); ‎x402Exact now emits requirements for all aliases.
  • Solana exact: Unified client/facilitator matching via ‎generateMatcher; client simplified matcher usage; facilitator supports multiple network aliases in ‎getSupported and uses shared matcher; added matcher tests, shared matcher module; removed ‎lookupX402Network re-export.
  • Types: ‎caseInsensitiveLiteral supports multiple values; tests updated.
October 20, 2025 - @faremeter/* v0.9.0
  • Facilitator: Added timeouts and promise utilities; routes now use timed all‑settled for requirements and expose a new /supported endpoint.
  • Middleware: Introduced an aged LRU cache; middleware caches payment requirements by default and allows override injection.
  • EVM info: Split known x402 networks; added Polygon mainnet and Amoy USDC; unified asset resolution with findAssetInfo; x402Exact uses resolved network.
  • EVM exact: Client can accept contract info via options; facilitator returns supported kinds and uses unified asset resolution.
  • Solana exact: Extra now includes recentBlockhash and decimals; client can operate without RPC by reading extra; facilitator returns supported kinds.
October 9, 2025 - @faremeter/* v0.8.0
  • Facilitator: EVM setup moved into index; added Base Sepolia and SKALE Europa handlers; more route logging and info-level defaults.
  • Fetch: New fetch module with retry/backoff, error throwing, and exported mocks; tests moved into src.
  • EVM info: Asset catalog now includes forwarder details; lookup by chain ID; added SKALE Europa support.
  • EVM exact: Client uses chain ID and verifyingContract; common adds forwarder domain; facilitator supports EIP‑3009 forwarding.
  • Wallets: EVM and Ledger wallets now take a viem Chain directly; removed internal network config.
  • Solana: Use native network names; x402 network derived via helpers in exact client/facilitator.
  • Examples: Added forwarding Express server and SKALE payment script; Base Sepolia scripts updated.
September 19, 2025 - @faremeter/* v0.7.0
  • Facilitator app: EVM handler creation is now async and awaited.
  • EVM networks: Added support for base; wallet config includes Base mainnet RPC.
  • Info (EVM): Asset metadata now includes a contractName; entries for base/base‑sepolia updated.
  • EVM exact (client): Uses asset contractName for EIP‑712 domain name.
  • EVM exact (common): New helper to generate EIP‑712 domain from on‑chain token name/version.
  • EVM exact (facilitator): Handler is async; removes base‑sepolia gate; uses existing chainId; stops forcing chain; validates on‑chain name; derives domain via common; reports networkId from chainId.
  • Cleanup: Dropped BASE_SEPOLIA_NETWORK export; minor index export tweak.
September 19, 2025 - @faremeter/* v0.6.0
  • EVM exact: Moved to conditional export at payment-evm/exact; scripts updated.
  • Solana rename: payment‑solana‑exact merged into payment‑solana/exact with tests.
  • Imports fixed: Facilitator, middleware, fetch updated to new paths.
  • Errors/logging: More precise rethrows and Solana error formatting.
  • Workspace: Added @solana/rpc-types.
September 19, 2025 - @faremeter/* v0.6.0
  • Middleware refactor: New common module; old utils removed.
  • Adapters simplified: Express and Hono now use the common handler.
  • Exports updated: Middleware exposes express, hono, common; index re-exports.
  • Facilitator hardened: Better error handling and settlement responses.
  • Examples adjusted: Import direct createMiddleware and simpler handlers.
September 18, 2025 - @faremeter/* v0.5.0
September 18, 2025 - @faremeter/* v0.4.0
August 17, 2025 - @faremeter/* v0.3.0
July 6, 2025 - @faremeter/* v0.2.0
June 22, 2025 - @faremeter/* v0.1.0
June 8, 2025 - @faremeter/* v0.1.0
  • Hello World