diff --git a/.changeset/stack-upgrade-node-24.md b/.changeset/stack-upgrade-node-24.md deleted file mode 100644 index 299c66b3..00000000 --- a/.changeset/stack-upgrade-node-24.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@web3auth/auth": major ---- - -Require Node.js 24.22 or later and npm 12. Development and CI run on Node 26. Build with Vite+ into the existing `dist/lib.esm` and `dist/lib.cjs` paths for every subpath export, targeting ES2022 so `Object.hasOwn` stays native. Type declarations move from `dist/lib.cjs/types/` to sit next to the CommonJS files, for example `dist/lib.cjs/index.d.ts`; the `exports` map points at the new paths. Drop the `@babel/runtime` peer dependency. Depend on `@toruslabs/customauth` 23, `@toruslabs/ffjavascript` 7, `@toruslabs/constants` 17, `@toruslabs/metadata-helpers` 9, `@toruslabs/session-manager` 6, and `@toruslabs/secure-pub-sub` 5. `getHashQueryParams` now returns only the known redirect keys. In iframe mode, a redirect resumes login only when `loginParams` is valid JSON that names an auth connection. diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..ad60b908 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,7 @@ +# @web3auth/auth + +## 12.0.0 + +### Major Changes + +- 3414598: Require Node.js 24.22 or later and npm 12. Development and CI run on Node 26. Build with Vite+ into the existing `dist/lib.esm` and `dist/lib.cjs` paths for every subpath export, targeting ES2022 so `Object.hasOwn` stays native. Type declarations move from `dist/lib.cjs/types/` to sit next to the CommonJS files, for example `dist/lib.cjs/index.d.ts`; the `exports` map points at the new paths. Drop the `@babel/runtime` peer dependency. Depend on `@toruslabs/customauth` 23, `@toruslabs/ffjavascript` 7, `@toruslabs/constants` 17, `@toruslabs/metadata-helpers` 9, `@toruslabs/session-manager` 6, and `@toruslabs/secure-pub-sub` 5. `getHashQueryParams` now returns only the known redirect keys. In iframe mode, a redirect resumes login only when `loginParams` is valid JSON that names an auth connection. diff --git a/package-lock.json b/package-lock.json index c5fe464e..c5c9aedf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@web3auth/auth", - "version": "11.8.3", + "version": "12.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@web3auth/auth", - "version": "11.8.3", + "version": "12.0.0", "license": "MIT", "dependencies": { "@toruslabs/constants": "^17.0.0", diff --git a/package.json b/package.json index c7dfc84c..fcecc531 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@web3auth/auth", - "version": "11.8.3", + "version": "12.0.0", "description": "Auth sdk for web3auth", "repository": "git@github.com:web3auth/Auth.git", "sideEffects": false,