Skip to content

chore: version packages - #16

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

alexpate merged 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Oct 9, 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.7.0

Minor Changes

  • bc7ce7e: Add templates.republish() and templates.retrieveRepublish() to push a template's current design to passes already issued from it, plus the TemplateRepublish and TemplateRepublishedEvent types. Existing call shapes are unchanged.

    • templates.republish(id) sends an Idempotency-Key (override with { idempotencyKey }). A 429 republish_in_progress throws PassmintRateLimitError immediately; the SDK never auto-retries 429s, and this one can last minutes.
    • New template.republished event type. PassmintEventType and Event['type'] gain it, so exhaustive switches over event types will flag the new case. PASSMINT_EVENT_TYPES gains an entry at runtime: code that subscribes with [...PASSMINT_EVENT_TYPES] will now receive it. It carries data.object.template_republish and no pass, so narrow with event.type === 'template.republished' and use TemplateRepublishedEvent.
    • template.republished is only delivered to endpoints subscribed to it by name, never to "*", so existing wildcard handlers that read data.object.pass keep working.
    • PassDelivery gains optional apple.retrying and google.retrying, set when a failed push was queued for automatic retry.
    • Server behaviour: pass.update_failed now fires only for permanent failures or once retries are exhausted, not for the first transient failure.

@alexpate
alexpate merged commit be922a1 into main Oct 9, 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