feat: stack upgrades#604
Merged
Merged
Conversation
chaitanyapotti
approved these changes
May 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
This PR upgrades the core
torus-embedstack to the latest Web3Auth/Torus ecosystem versions and updates the demo app so it continues to build and run correctly after those upgrades.The demo changes are primarily focused on keeping the example app aligned with the new controller exports and the Tailwind CSS v4 / Vite 8 setup used by the latest
@toruslabs/vue-components.Description
@web3auth/ws-embed,@toruslabs/torus-scripts, TypeScript, ESLint, Prettier, webpack, and related toolingToruswrapper to match the newer embed SDK expectations by preserving defaultweb3AuthClientId/ network setup and defaultingloginModeto"embed"@toruslabs/*, Vue, and Vite versions@tailwindcss/viteautoprefixerDEFAULT_SUPPORTED_NETWORKS) and explicitly pass supported chains during initHow has this been tested?
npm run buildnpm --prefix examples/demo-app run buildScreenshots (if appropriate):
N/A
Types of changes
Checklist:
Note
Medium Risk
Moderate risk due to broad dependency/tooling upgrades (Web3Auth/Torus SDK, build tooling, Vite/Tailwind) that can change runtime behavior and bundling output. Small wrapper API/default changes may affect integrators relying on previous init/login defaults.
Overview
Upgrades the core
@toruslabs/torus-embedstack to the latest@web3auth/ws-embedand modernizes the build/lint toolchain (TypeScript/ESLint/Prettier/torus-scripts) with updated Node/npm engine requirements.Adjusts the
Toruswrapper (src/embed.ts) to align with newer embed SDK expectations by baking in defaultweb3AuthClientId/network values and defaultingloginModeto"embed"duringinit.Refreshes the demo app to match the new controller/component APIs and build setup: updates dependencies to latest
@toruslabs/*, moves styling to Tailwind v4 via@tailwindcss/vite, and updates dashboard initialization to useDEFAULT_SUPPORTED_NETWORKSand pass explicitchains/chainIdduringtorus.init().Reviewed by Cursor Bugbot for commit 57aac07. Bugbot is set up for automated code reviews on this repo. Configure here.