Skip to content

v0.5.4

Choose a tag to compare

@Hades-Ye Hades-Ye released this 27 Mar 15:59
· 87 commits to main since this release
c98995f

v0.5.4 - GasFree Deadline Bounds

Release date: March 27, 2026

What's New

  • Deadline bounds enforced: GasFree client clamps deadline/validBefore to provider limits.
    • mainnet: 50–600s (with +5s min / −5s max safety margin)
    • non-mainnet: 50–3600s (with +5s min / −5s max safety margin)
  • Cleaner defaults: GasFree fallback deadline now uses the per-network max to avoid unnecessary clamp warnings.
  • Clamp logging: logs when the deadline is reduced to the provider max.

Breaking Changes

None.

Affected SDKs

  • Python: bankofai-x402==0.5.4
  • TypeScript: @bankofai/x402@0.5.4