Releases: glyphq/connect
Release list
v4.1.0
Minor Changes
- ee88f69: Add capability-free Relay v2 lifecycle diagnostics, typed safe errors, bounded SSE timeout recovery through
/v2/resultpolling, and deterministic local support IDs while preserving existing v2 wire contracts.
v4.0.1
Patch Changes
- e276e58: Canonicalize official Relay v2 callback expectations to Wallet's capability-safe signed binding.
v4.0.0
Major Changes
-
c49af80: Implement the breaking Glyph Connect request deep-link v2 contract.
- Switch request URLs to
glyph://v2/requestwithglyph-connect-request/2envelopes. - Add deterministic JCS/RFC8785-compatible canonical JSON and
sha256:<base64url>request/network hashing. - Bind requests and signed callback envelopes to typed Qubic networks, defaulting safely to mainnet.
- Remove v1 request launch compatibility from documented and tested SDK behavior.
- Switch request URLs to
v3.0.0
Major Changes
- 87d2157: Add secure relay v2 sessions with separate read and callback capabilities, support verification of wallet-signed callback envelopes, and remove the legacy relay v1
subscribeViaRelay()andrelayCallbackUrl()APIs.
v2.2.1
Patch Changes
- 8413b87: Harden SDK protocol validation, relay result handling, package ESM imports, and release checks to mirror wallet delivery policy.
v2.2.0
Minor Changes
-
3d2765d: Add relay-backed SSE transport for dApps without a server.
subscribeViaRelay(nonce, options?)opens a streaming fetch to the Glyph relay and returns aPromise<GlyphCallbackResponse>. Works in browsers, Node 18+, Bun, Deno, and service workers. NoEventSourcedependency.relayCallbackUrl(nonce, relayUrl?)builds the callback URL forcreateEnvelope().- Supports
onStatusprogress callbacks:opening_wallet,awaiting_approval,completed,failed.
v2.1.0
Minor Changes
- 38d2d91: Add request lifecycle feedback, focus restoration, and configurable callback completion handling.
v2.0.0
v1.0.0
Major Changes
-
15faeb7: Remove proof/signing system and add async
sigilRequest()APIBreaking:
SigilProof,SigilProofOptions,signEnvelope,verifyEnvelopeSignature,serializeSignedRequestPayload,hashSignedRequestPayloadare all removed. Theprooffield is gone fromSigilEnvelope.New:
sigilRequest(req, options?)— launches Sigil via a link click and returns aPromise<SigilCallbackResponse>backed byBroadcastChannel. No server, no polling.New:
handleRedirect()— call at yourcallbackPathroute (default/__sigil__); reads?result=, broadcasts to the waiting Promise, closes the tab.New:
redirect_urifield onSigilEnvelopeandcreateEnvelopeoptions — Sigil opens the browser to this URL with the result as a?result=query param after the user acts.
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