diff --git a/.changeset/types-0-29-core.md b/.changeset/types-0-29-core.md new file mode 100644 index 0000000..77cad1c --- /dev/null +++ b/.changeset/types-0-29-core.md @@ -0,0 +1,5 @@ +--- +"@seamless-auth/core": patch +--- + +Depend on `@seamless-auth/types` 0.29.0, which adds the optional OAuth state `binding` to the start response and callback request schemas. Apps now resolve a single copy of the types package alongside the client SDKs. The bundled adapter manifest fallback is refreshed against API 0.19.2 (routes unchanged). diff --git a/.changeset/types-0-29-nextjs.md b/.changeset/types-0-29-nextjs.md new file mode 100644 index 0000000..d0a17d2 --- /dev/null +++ b/.changeset/types-0-29-nextjs.md @@ -0,0 +1,5 @@ +--- +"@seamless-auth/nextjs": patch +--- + +Depend on `@seamless-auth/types` 0.29.0, which adds the optional OAuth state `binding` to the start response and callback request schemas. Apps now resolve a single copy of the types package alongside the client SDKs. diff --git a/packages/core/package.json b/packages/core/package.json index 6425598..286a3e2 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -51,7 +51,7 @@ "test:watch": "pnpm run build && NODE_OPTIONS=--experimental-vm-modules jest --watch" }, "dependencies": { - "@seamless-auth/types": "^0.28.0", + "@seamless-auth/types": "^0.29.0", "@types/jsonwebtoken": "^9.0.10", "jose": "^6.1.3", "jsonwebtoken": "^9.0.2" diff --git a/packages/core/src/manifest/bundledManifest.ts b/packages/core/src/manifest/bundledManifest.ts index 1925976..0539e46 100644 --- a/packages/core/src/manifest/bundledManifest.ts +++ b/packages/core/src/manifest/bundledManifest.ts @@ -3,7 +3,7 @@ import type { AdapterManifest } from "./adapterManifest.js"; export const BUNDLED_ADAPTER_MANIFEST: AdapterManifest = { "schemaVersion": 1, - "apiVersion": "0.18.0", + "apiVersion": "0.19.2", "session": { "subject": "sub", "token": "token", diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index e4f39ba..c25f3da 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -53,7 +53,7 @@ }, "dependencies": { "@seamless-auth/core": "workspace:^", - "@seamless-auth/types": "^0.28.0", + "@seamless-auth/types": "^0.29.0", "cookie": "^1.1.1" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d16cea3..21c7ea2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -24,8 +24,8 @@ importers: packages/core: dependencies: '@seamless-auth/types': - specifier: ^0.28.0 - version: 0.28.0 + specifier: ^0.29.0 + version: 0.29.0 '@types/jsonwebtoken': specifier: ^9.0.10 version: 9.0.10 @@ -144,8 +144,8 @@ importers: specifier: workspace:^ version: link:../core '@seamless-auth/types': - specifier: ^0.28.0 - version: 0.28.0 + specifier: ^0.29.0 + version: 0.29.0 cookie: specifier: ^1.1.1 version: 1.1.1 @@ -882,8 +882,8 @@ packages: cpu: [x64] os: [win32] - '@seamless-auth/types@0.28.0': - resolution: {integrity: sha512-VKb83pSd0KyL608I4pqKxs0KYZNTHlc2CaPula9rtURcgj3eZDky39idSTvsRbHQTlxblvPeNLsgOBnyr+P7FQ==} + '@seamless-auth/types@0.29.0': + resolution: {integrity: sha512-Moiuw17RNZaORrrb5Wypjvl1iBj5K1PqDQkkK8ACYh9NSHD7khMyHaTsx9AzK6zOqROXgRRrIAurk9S1w2CZhA==} engines: {node: '>=22'} '@sinclair/typebox@0.27.10': @@ -3433,7 +3433,7 @@ snapshots: '@rollup/rollup-win32-x64-msvc@4.60.4': optional: true - '@seamless-auth/types@0.28.0': + '@seamless-auth/types@0.29.0': dependencies: zod: 4.6.5