Skip to content

Releases

Pass 0.1.2

Pass 0.1.2 Pre-release
Pre-release

Choose a tag to compare

@tolla-bot tolla-bot released this 05 Dec 16:00
cf57b42
  • A 402 offer is now checked before Pass reads it. Pass refuses, and signs nothing, when:
    • the PAYMENT-REQUIRED header is not strict base64 JSON (or is over 16 KB) and the body holds no valid offer
    • the offer says x402Version other than 2
    • accepts is empty or has more than 32 entries
    • a requirement asks for an amount of 0 or pays to the zero address
  • Seven new end-to-end tests cover these cases against the mock merchant.

Install from source: see the README. Not published to npm.