diff --git a/.changeset/oauth-state-binding.md b/.changeset/oauth-state-binding.md deleted file mode 100644 index 8ae3ac6..0000000 --- a/.changeset/oauth-state-binding.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@seamless-auth/types': minor ---- - -Add `binding` to the OAuth start response and the callback request. The auth server returns a -random `binding` from `/oauth/:providerId/start` and checks it on `/oauth/:providerId/callback`, -so a `state` can only be finished by the client that started the sign-in. Both fields are -optional in the schemas so a client can still parse a response from an older auth server. diff --git a/.changeset/raise-zod-floor.md b/.changeset/raise-zod-floor.md deleted file mode 100644 index d87a363..0000000 --- a/.changeset/raise-zod-floor.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@seamless-auth/types': patch ---- - -Raise the `zod` dependency floor from `^4.3.6` to `^4.5.0`. The published declarations use the two-argument `ZodPreprocess` type, which zod 4.3.x does not export and zod 4.4.x declares with a single type parameter, so a consumer resolving zod below 4.5.0 with `skipLibCheck: false` got TS2724 or TS2707 from this package's `.d.ts` files. Consumers pinned to zod 4.4.x or older should upgrade to zod 4.5.0 or later. diff --git a/CHANGELOG.md b/CHANGELOG.md index 4899543..762fb06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # @seamless-auth/types +## 0.29.0 + +### Minor Changes + +- c386361: Add `binding` to the OAuth start response and the callback request. The auth server returns a + random `binding` from `/oauth/:providerId/start` and checks it on `/oauth/:providerId/callback`, + so a `state` can only be finished by the client that started the sign-in. Both fields are + optional in the schemas so a client can still parse a response from an older auth server. + +### Patch Changes + +- 14077a9: Raise the `zod` dependency floor from `^4.3.6` to `^4.5.0`. The published declarations use the two-argument `ZodPreprocess` type, which zod 4.3.x does not export and zod 4.4.x declares with a single type parameter, so a consumer resolving zod below 4.5.0 with `skipLibCheck: false` got TS2724 or TS2707 from this package's `.d.ts` files. Consumers pinned to zod 4.4.x or older should upgrade to zod 4.5.0 or later. + ## 0.28.0 ### Minor Changes diff --git a/package.json b/package.json index 06f673a..e478159 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@seamless-auth/types", - "version": "0.28.0", + "version": "0.29.0", "description": "Shared TypeScript types and Zod schemas for SeamlessAuth.", "author": "Fells Code, LLC", "license": "Apache-2.0",