diff --git a/package-lock.json b/package-lock.json index ef8ea7eee..a2f583cd3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5382,9 +5382,9 @@ "dev": true }, "node_modules/@toruslabs/base-controllers": { - "version": "5.3.7", - "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-5.3.7.tgz", - "integrity": "sha512-6xHseiUn/tlO9U/qs5FacruYeWVzkFJL+KG5N9gGBGQcYEGfyNH2rOwolTQvX3WlQuauf8Xk9JQ58P2NRH26dQ==", + "version": "5.3.9", + "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-5.3.9.tgz", + "integrity": "sha512-4Gq7/UAslR+CnjkqILe2bfpQm0Rcl43M7SZqH6TOFQI+eD9dGydL8SDZwSB2510fDQXQY85YExHD7OMxvXYVUg==", "dependencies": { "@ethereumjs/util": "^9.0.1", "@metamask/rpc-errors": "^6.1.0", @@ -6382,9 +6382,9 @@ "dev": true }, "node_modules/@types/react": { - "version": "18.2.52", - "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.52.tgz", - "integrity": "sha512-E/YjWh3tH+qsLKaUzgpZb5AY0ChVa+ZJzF7ogehVILrFpdQk6nC/WXOv0bfFEABbXbgNxLBGU7IIZByPKb6eBw==", + "version": "18.2.53", + "resolved": "https://registry.npmjs.org/@types/react/-/react-18.2.53.tgz", + "integrity": "sha512-52IHsMDT8qATp9B9zoOyobW8W3/0QhaJQTw1HwRj0UY2yBpCAQ7+S/CqHYQ8niAm3p4ji+rWUQ9UCib0GxQ60w==", "dev": true, "dependencies": { "@types/prop-types": "*", @@ -23787,11 +23787,11 @@ } }, "node_modules/react-i18next": { - "version": "14.0.1", - "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-14.0.1.tgz", - "integrity": "sha512-TMV8hFismBmpMdIehoFHin/okfvgjFhp723RYgIqB4XyhDobVMyukyM3Z8wtTRmajyFMZrBl/OaaXF2P6WjUAw==", + "version": "14.0.3", + "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-14.0.3.tgz", + "integrity": "sha512-Zav2EEnrQNmCawnzj0l7xitj7jipC7kBNG3o6Cl75NwGndvdp/wu3LSVwJpyAc3eSWMwRFYZ5uNi43CtFUDf/g==", "dependencies": { - "@babel/runtime": "^7.22.5", + "@babel/runtime": "^7.23.9", "html-parse-stringify": "^3.0.1" }, "peerDependencies": { @@ -30339,6 +30339,7 @@ "version": "8.0.0-alpha.8", "license": "ISC", "dependencies": { + "@toruslabs/base-controllers": "^5.3.9", "@web3auth/base": "^8.0.0-alpha.8" }, "engines": { @@ -30354,6 +30355,7 @@ "version": "8.0.0-alpha.8", "license": "ISC", "dependencies": { + "@toruslabs/base-controllers": "^5.3.9", "@web3auth/base": "^8.0.0-alpha.8", "bs58": "^5.0.0" }, @@ -30746,7 +30748,7 @@ "license": "ISC", "dependencies": { "@metamask/rpc-errors": "^6.1.0", - "@toruslabs/base-controllers": "^5.3.7", + "@toruslabs/base-controllers": "^5.3.9", "@toruslabs/openlogin-jrpc": "^6.2.9", "@web3auth/base": "^8.0.0-alpha.8", "json-rpc-random-id": "^1.0.1" @@ -30772,7 +30774,7 @@ "@ethereumjs/util": "^9.0.1", "@metamask/eth-sig-util": "^7.0.1", "@metamask/rpc-errors": "^6.1.0", - "@toruslabs/base-controllers": "^5.3.7", + "@toruslabs/base-controllers": "^5.3.9", "@toruslabs/http-helpers": "^6.0.0", "@toruslabs/openlogin-jrpc": "^6.2.9", "@walletconnect/utils": "^2.11.0", @@ -30802,7 +30804,7 @@ "license": "ISC", "dependencies": { "@metamask/rpc-errors": "^6.1.0", - "@toruslabs/base-controllers": "^5.3.7", + "@toruslabs/base-controllers": "^5.3.9", "@toruslabs/openlogin-ed25519": "^6.0.0", "@toruslabs/openlogin-jrpc": "^6.2.9", "@toruslabs/tweetnacl-js": "^1.0.4", @@ -30834,7 +30836,7 @@ "license": "ISC", "dependencies": { "@metamask/rpc-errors": "^6.1.0", - "@toruslabs/base-controllers": "^5.3.7", + "@toruslabs/base-controllers": "^5.3.9", "@toruslabs/openlogin-jrpc": "^6.2.9", "@web3auth/base": "^8.0.0-alpha.8", "@web3auth/base-provider": "^8.0.0-alpha.8", @@ -30866,7 +30868,7 @@ "i18next": "^23.8.2", "lodash.clonedeep": "^4.5.0", "lodash.merge": "^4.6.2", - "react-i18next": "^14.0.1", + "react-i18next": "^14.0.3", "react-qrcode-logo": "^2.9.0" }, "devDependencies": { @@ -30879,7 +30881,7 @@ "@toruslabs/isomorphic-style-loader": "^5.3.3", "@types/lodash.clonedeep": "^4.5.9", "@types/lodash.merge": "^4.6.9", - "@types/react": "^18.2.52", + "@types/react": "^18.2.53", "@types/react-dom": "^18.2.18", "autoprefixer": "^10.4.17", "css-loader": "^6.10.0", diff --git a/packages/adapters/base-evm-adapter/package.json b/packages/adapters/base-evm-adapter/package.json index d5dd9eef9..9d0d430db 100644 --- a/packages/adapters/base-evm-adapter/package.json +++ b/packages/adapters/base-evm-adapter/package.json @@ -19,6 +19,7 @@ "pre-commit": "lint-staged --cwd ." }, "dependencies": { + "@toruslabs/base-controllers": "^5.3.9", "@web3auth/base": "^8.0.0-alpha.8" }, "files": [ diff --git a/packages/adapters/base-evm-adapter/src/baseEvmAdapter.ts b/packages/adapters/base-evm-adapter/src/baseEvmAdapter.ts index 5bf17ccb2..22ea38a3c 100644 --- a/packages/adapters/base-evm-adapter/src/baseEvmAdapter.ts +++ b/packages/adapters/base-evm-adapter/src/baseEvmAdapter.ts @@ -1,3 +1,4 @@ +import { signChallenge, verifySignedChallenge } from "@toruslabs/base-controllers"; import { ADAPTER_EVENTS, ADAPTER_STATUS, @@ -9,9 +10,7 @@ import { getChainConfig, getSavedToken, saveToken, - signChallenge, UserAuthInfo, - verifySignedChallenge, WalletLoginError, } from "@web3auth/base"; diff --git a/packages/adapters/base-solana-adapter/package.json b/packages/adapters/base-solana-adapter/package.json index dae57603f..82a61fb8f 100644 --- a/packages/adapters/base-solana-adapter/package.json +++ b/packages/adapters/base-solana-adapter/package.json @@ -19,6 +19,7 @@ "pre-commit": "lint-staged --cwd ." }, "dependencies": { + "@toruslabs/base-controllers": "^5.3.9", "@web3auth/base": "^8.0.0-alpha.8", "bs58": "^5.0.0" }, diff --git a/packages/adapters/base-solana-adapter/src/baseSolanaAdapter.ts b/packages/adapters/base-solana-adapter/src/baseSolanaAdapter.ts index 36709ee20..d0b5df203 100644 --- a/packages/adapters/base-solana-adapter/src/baseSolanaAdapter.ts +++ b/packages/adapters/base-solana-adapter/src/baseSolanaAdapter.ts @@ -1,3 +1,4 @@ +import { signChallenge, verifySignedChallenge } from "@toruslabs/base-controllers"; import { ADAPTER_EVENTS, ADAPTER_STATUS, @@ -9,9 +10,7 @@ import { getChainConfig, getSavedToken, saveToken, - signChallenge, UserAuthInfo, - verifySignedChallenge, WalletLoginError, } from "@web3auth/base"; import bs58 from "bs58"; diff --git a/packages/base/src/index.ts b/packages/base/src/index.ts index 83546a86d..fe501b0da 100644 --- a/packages/base/src/index.ts +++ b/packages/base/src/index.ts @@ -1,7 +1,6 @@ export * from "./adapter"; export * from "./chain/config"; export * from "./chain/IChainInterface"; -export * from "./constants"; export * from "./core/IWeb3Auth"; export * from "./errors"; export { default as log } from "./loglevel"; diff --git a/packages/providers/base-provider/package.json b/packages/providers/base-provider/package.json index 01ecf98ee..845276974 100644 --- a/packages/providers/base-provider/package.json +++ b/packages/providers/base-provider/package.json @@ -20,7 +20,7 @@ }, "dependencies": { "@metamask/rpc-errors": "^6.1.0", - "@toruslabs/base-controllers": "^5.3.7", + "@toruslabs/base-controllers": "^5.3.9", "@toruslabs/openlogin-jrpc": "^6.2.9", "@web3auth/base": "^8.0.0-alpha.8", "json-rpc-random-id": "^1.0.1" diff --git a/packages/providers/ethereum-provider/package.json b/packages/providers/ethereum-provider/package.json index 53eaf174a..0e1445bed 100644 --- a/packages/providers/ethereum-provider/package.json +++ b/packages/providers/ethereum-provider/package.json @@ -24,7 +24,7 @@ "@ethereumjs/util": "^9.0.1", "@metamask/eth-sig-util": "^7.0.1", "@metamask/rpc-errors": "^6.1.0", - "@toruslabs/base-controllers": "^5.3.7", + "@toruslabs/base-controllers": "^5.3.9", "@toruslabs/http-helpers": "^6.0.0", "@toruslabs/openlogin-jrpc": "^6.2.9", "@walletconnect/utils": "^2.11.0", diff --git a/packages/providers/solana-provider/package.json b/packages/providers/solana-provider/package.json index b39a01ec7..7da9c58ee 100644 --- a/packages/providers/solana-provider/package.json +++ b/packages/providers/solana-provider/package.json @@ -20,7 +20,7 @@ }, "dependencies": { "@metamask/rpc-errors": "^6.1.0", - "@toruslabs/base-controllers": "^5.3.7", + "@toruslabs/base-controllers": "^5.3.9", "@toruslabs/openlogin-ed25519": "^6.0.0", "@toruslabs/openlogin-jrpc": "^6.2.9", "@toruslabs/tweetnacl-js": "^1.0.4", diff --git a/packages/providers/xrpl-provider/package.json b/packages/providers/xrpl-provider/package.json index 6cacf8254..62d7bb0e2 100644 --- a/packages/providers/xrpl-provider/package.json +++ b/packages/providers/xrpl-provider/package.json @@ -20,7 +20,7 @@ }, "dependencies": { "@metamask/rpc-errors": "^6.1.0", - "@toruslabs/base-controllers": "^5.3.7", + "@toruslabs/base-controllers": "^5.3.9", "@toruslabs/openlogin-jrpc": "^6.2.9", "@web3auth/base": "^8.0.0-alpha.8", "@web3auth/base-provider": "^8.0.0-alpha.8", diff --git a/packages/ui/package.json b/packages/ui/package.json index 05d3e032b..eb6e018cc 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -47,7 +47,7 @@ "@toruslabs/isomorphic-style-loader": "^5.3.3", "@types/lodash.clonedeep": "^4.5.9", "@types/lodash.merge": "^4.6.9", - "@types/react": "^18.2.52", + "@types/react": "^18.2.53", "@types/react-dom": "^18.2.18", "autoprefixer": "^10.4.17", "css-loader": "^6.10.0", @@ -74,7 +74,7 @@ "i18next": "^23.8.2", "lodash.clonedeep": "^4.5.0", "lodash.merge": "^4.6.2", - "react-i18next": "^14.0.1", + "react-i18next": "^14.0.3", "react-qrcode-logo": "^2.9.0" }, "lint-staged": {