Releases: getpassmint/passmint-node
Releases · getpassmint/passmint-node
Release list
v0.3.0
Minor Changes
- f41b671: Add the optional
headerFieldsslot toTemplateDesign, so templates created or updated through the SDK can place small fields in the pass header (top-right, next to the logo).
Patch Changes
- 93c099e: Document the wallet URLs carried on a pass (
url,download_url,google_wallet_url) and the "build your own Apple/Google Wallet buttons" fallback pattern in the README, and clarify the JSDoc on those fields so they're self-explanatory in-editor.
v0.2.2
Patch Changes
- f8fda7e: Bind the default
fetchtoglobalThisso the SDK works on Cloudflare Workers. The client stored the bareglobalThis.fetchand invoked it as a method (this.fetchImpl(...)); workerd requiresfetchto be called with its own global as the receiver, so every request threwTypeError: Illegal invocationunless a customfetchwas passed in options. Node's undici is not receiver-sensitive, which is why tests never caught it.
v0.2.1
Patch Changes
- 26bbc93: The
User-Agentheader is now derived from the package version instead of a hardcoded string (it had drifted topassmint-node/0.1.0).src/version.tsis regenerated automatically duringversion-packages, a unit test fails if it ever drifts frompackage.json, and the SDK now exportsVERSION.