Skip to content

chore: version packages - #9

Merged
alexpate merged 1 commit into
mainfrom
changeset-release/main
Oct 6, 2026
Merged

alexpate merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@passmint/node@0.4.0

Minor Changes

  • 3de93fc: Add template image variants. templates.uploadImage(id, slot, data, { variant }) uploads a PNG/JPEG (Uint8Array, ArrayBuffer or Buffer, base64-encoded without depending on Buffer, so it works on Workers) and templates.deleteImage(id, slot, { variant }) removes one. passes.create and passes.update accept imageVariant (null on update clears it). Pass gains image_variant, Template gains image_variants, and the TemplateImage, TemplateImageSlot, VariantImageSlot and TemplateImageOptions types are exported.

    Also add the optional changeMessage to TemplateField: a %@ format string that makes Apple Wallet show a lock-screen notification when the field changes on update.

    Add per-pass images. passes.uploadImage(id, slot, data) gives one pass its own strip, thumbnail or background image (PNG/JPEG/WebP, up to 8 MB), overriding its variant and template image, and passes.deleteImage(id, slot) removes it. Both return the updated Pass. Pass gains images, which reports whether each resolved slot comes from the pass, its variant or the template, and EventPass gains image_variant. The PassImageSlot, PassImageSource and PassImages types are exported.

@alexpate
alexpate merged commit 293a5b1 into main Oct 6, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant