From 71766de9f623bbc42b5b7643f10c83f01507bb8e Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 8 Oct 2026 14:42:20 +0000 Subject: [PATCH] chore: version packages --- .changeset/generated-types-pagination.md | 23 ----------------------- CHANGELOG.md | 24 ++++++++++++++++++++++++ package.json | 2 +- src/version.ts | 2 +- 4 files changed, 26 insertions(+), 25 deletions(-) delete mode 100644 .changeset/generated-types-pagination.md diff --git a/.changeset/generated-types-pagination.md b/.changeset/generated-types-pagination.md deleted file mode 100644 index b4c0e5c..0000000 --- a/.changeset/generated-types-pagination.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@passmint/node': minor ---- - -Response types are now derived from the API's OpenAPI spec. Every 0.4.0 type name is still exported. A few types, such as `TemplateDesign` and `PassImages`, are still hand-written. - -New: - -- `passes.createDownloadLink()` and `passes.redemptions()`. -- `startingAfter` on list methods, and `listAll()` auto-pagination on `passes`, `templates`, `webhooks` and `events`, plus `passes.listAllEvents()` and `webhooks.listAllDeliveries()`. -- `templates.list()` takes `includeArchived`, `limit` and `startingAfter`. -- Types for `issuerName`, `locations` and `relevantDate` on template designs, `redemption_policy`, `require_download_link`, the `delivery` and `warnings` fields on pass updates, `warnings` on pass voids and on templates. -- The `pass.update_failed` and `pass.redeemed` webhook events. -- `PassEventType` is a new export. - -Runtime change: `PASSMINT_EVENT_TYPES` now has 9 entries (adds `pass.update_failed` and `pass.redeemed`). Code that subscribes webhooks with `events: [...PASSMINT_EVENT_TYPES]` will start receiving those events. - -Type-level changes: - -- Response types gained fields the API was already returning, for example `Pass.redeemed_count` and `Account.plan`. Reading and casting are unaffected, but object literals you type as `Pass`, `Template` or `Account` by hand need the new fields. -- Event type unions gained `pass.update_failed` and `pass.redeemed`, and `PassEvent['type']` gained `update_failed`, `redeemed`, `download_link_created` and `update_not_delivered`. Exhaustive switches and `Record` maps will flag the new members. -- `Pass.field_values` and `Account.organization_slug` keep their 0.4.0 types for compatibility; see their docs for what the API can actually return. -- Exported response types are now type aliases rather than interfaces. `extends` and `implements` still work; declaration merging into them no longer does. diff --git a/CHANGELOG.md b/CHANGELOG.md index 65d5960..70c0aa0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ # @passmint/node +## 0.5.0 + +### Minor Changes + +- 67231a6: Response types are now derived from the API's OpenAPI spec. Every 0.4.0 type name is still exported. A few types, such as `TemplateDesign` and `PassImages`, are still hand-written. + + New: + + - `passes.createDownloadLink()` and `passes.redemptions()`. + - `startingAfter` on list methods, and `listAll()` auto-pagination on `passes`, `templates`, `webhooks` and `events`, plus `passes.listAllEvents()` and `webhooks.listAllDeliveries()`. + - `templates.list()` takes `includeArchived`, `limit` and `startingAfter`. + - Types for `issuerName`, `locations` and `relevantDate` on template designs, `redemption_policy`, `require_download_link`, the `delivery` and `warnings` fields on pass updates, `warnings` on pass voids and on templates. + - The `pass.update_failed` and `pass.redeemed` webhook events. + - `PassEventType` is a new export. + + Runtime change: `PASSMINT_EVENT_TYPES` now has 9 entries (adds `pass.update_failed` and `pass.redeemed`). Code that subscribes webhooks with `events: [...PASSMINT_EVENT_TYPES]` will start receiving those events. + + Type-level changes: + + - Response types gained fields the API was already returning, for example `Pass.redeemed_count` and `Account.plan`. Reading and casting are unaffected, but object literals you type as `Pass`, `Template` or `Account` by hand need the new fields. + - Event type unions gained `pass.update_failed` and `pass.redeemed`, and `PassEvent['type']` gained `update_failed`, `redeemed`, `download_link_created` and `update_not_delivered`. Exhaustive switches and `Record` maps will flag the new members. + - `Pass.field_values` and `Account.organization_slug` keep their 0.4.0 types for compatibility; see their docs for what the API can actually return. + - Exported response types are now type aliases rather than interfaces. `extends` and `implements` still work; declaration merging into them no longer does. + ## 0.4.0 ### Minor Changes diff --git a/package.json b/package.json index a031081..9159930 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@passmint/node", - "version": "0.4.0", + "version": "0.5.0", "description": "Official Node.js SDK for the Passmint API.", "type": "module", "packageManager": "pnpm@9.15.0", diff --git a/src/version.ts b/src/version.ts index fe00299..aa521ab 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1,2 +1,2 @@ // Generated by scripts/sync-version.mjs — do not edit by hand. -export const VERSION = '0.4.0' +export const VERSION = '0.5.0'