Skip to content

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 27 May 13:00
· 34 commits to main since this release
4bb7d29

Minor Changes

  • de27362: Add callback response parsing, signature verification, and browser launch fix

    • parseCallbackResponse(body) — parse and type-narrow the five Sigil callback response shapes (signed transfer, signed message, connected, verified, rejected); throws on unknown or malformed payloads
    • verifyEnvelopeSignature(envelope, options?) — verify an ES256 signed envelope using the embedded public_jwk or a caller-supplied key; returns false for proof-less envelopes
    • Fix openSigilUrl to use an anchor-click instead of window.location.assign, which allows the sigil:// protocol handler to be triggered without navigating the current page
    • Export new callback response types: SigilSignedTransferCallback, SigilSignedMessageCallback, SigilConnectedCallback, SigilVerifiedCallback, SigilRejectedCallback, SigilCallbackResponse