Skip to content

Releases: getpassmint/passmint-node

v0.3.0

Choose a tag to compare

@github-actions github-actions released this 08 Jul 09:35
6830975

Minor Changes

  • f41b671: Add the optional headerFields slot to TemplateDesign, 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

Choose a tag to compare

@github-actions github-actions released this 07 Jul 20:18
56eb1eb

Patch Changes

  • f8fda7e: Bind the default fetch to globalThis so the SDK works on Cloudflare Workers. The client stored the bare globalThis.fetch and invoked it as a method (this.fetchImpl(...)); workerd requires fetch to be called with its own global as the receiver, so every request threw TypeError: Illegal invocation unless a custom fetch was passed in options. Node's undici is not receiver-sensitive, which is why tests never caught it.

v0.2.1

Choose a tag to compare

@github-actions github-actions released this 07 Jul 19:24
e500dc5

Patch Changes

  • 26bbc93: The User-Agent header is now derived from the package version instead of a hardcoded string (it had drifted to passmint-node/0.1.0). src/version.ts is regenerated automatically during version-packages, a unit test fails if it ever drifts from package.json, and the SDK now exports VERSION.