v0.3.0
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 payloadsverifyEnvelopeSignature(envelope, options?)— verify an ES256 signed envelope using the embeddedpublic_jwkor a caller-supplied key; returnsfalsefor proof-less envelopes- Fix
openSigilUrlto use an anchor-click instead ofwindow.location.assign, which allows thesigil://protocol handler to be triggered without navigating the current page - Export new callback response types:
SigilSignedTransferCallback,SigilSignedMessageCallback,SigilConnectedCallback,SigilVerifiedCallback,SigilRejectedCallback,SigilCallbackResponse