diff --git a/package-lock.json b/package-lock.json index cb3701da1..4dd66a125 100644 --- a/package-lock.json +++ b/package-lock.json @@ -31480,7 +31480,6 @@ "dependencies": { "@web3auth/base": "^9.0.0-alpha.0", "@web3auth/base-evm-adapter": "^9.0.0-alpha.0", - "@web3auth/torus-evm-adapter": "^9.0.0-alpha.0", "@web3auth/wallet-connect-v2-adapter": "^9.0.0-alpha.0", "mipd": "^0.0.7" }, @@ -31506,7 +31505,6 @@ "@web3auth/base": "^9.0.0-alpha.0", "@web3auth/base-solana-adapter": "^9.0.0-alpha.0", "@web3auth/solana-provider": "^9.0.0-alpha.0", - "@web3auth/torus-solana-adapter": "^9.0.0-alpha.0", "bn.js": "^5.2.1" }, "engines": { diff --git a/packages/adapters/default-evm-adapter/package.json b/packages/adapters/default-evm-adapter/package.json index 0335de360..5a6e871d0 100644 --- a/packages/adapters/default-evm-adapter/package.json +++ b/packages/adapters/default-evm-adapter/package.json @@ -22,7 +22,6 @@ "dependencies": { "@web3auth/base": "^9.0.0-alpha.0", "@web3auth/base-evm-adapter": "^9.0.0-alpha.0", - "@web3auth/torus-evm-adapter": "^9.0.0-alpha.0", "@web3auth/wallet-connect-v2-adapter": "^9.0.0-alpha.0", "mipd": "^0.0.7" }, diff --git a/packages/adapters/default-evm-adapter/src/index.ts b/packages/adapters/default-evm-adapter/src/index.ts index 458b47165..a6040283a 100644 --- a/packages/adapters/default-evm-adapter/src/index.ts +++ b/packages/adapters/default-evm-adapter/src/index.ts @@ -21,11 +21,7 @@ export const getDefaultExternalAdapters = async (params: { options: IWeb3AuthCor ...(chainConfig || {}), }; - const [{ TorusWalletAdapter }, { WalletConnectV2Adapter }] = await Promise.all([ - import("@web3auth/torus-evm-adapter"), - import("@web3auth/wallet-connect-v2-adapter"), - ]); - const torusWalletAdapter = new TorusWalletAdapter({ chainConfig: finalChainConfig, clientId, sessionTime, web3AuthNetwork, useCoreKitKey }); + const [{ WalletConnectV2Adapter }] = await Promise.all([import("@web3auth/wallet-connect-v2-adapter")]); const wcv2Adapter = new WalletConnectV2Adapter({ chainConfig: finalChainConfig, @@ -54,5 +50,5 @@ export const getDefaultExternalAdapters = async (params: { options: IWeb3AuthCor }); }); - return [...injectedProviders, torusWalletAdapter, wcv2Adapter]; + return [...injectedProviders, wcv2Adapter]; }; diff --git a/packages/adapters/default-solana-adapter/package.json b/packages/adapters/default-solana-adapter/package.json index 03e3c6dc3..6f469945f 100644 --- a/packages/adapters/default-solana-adapter/package.json +++ b/packages/adapters/default-solana-adapter/package.json @@ -29,7 +29,6 @@ "@web3auth/base": "^9.0.0-alpha.0", "@web3auth/base-solana-adapter": "^9.0.0-alpha.0", "@web3auth/solana-provider": "^9.0.0-alpha.0", - "@web3auth/torus-solana-adapter": "^9.0.0-alpha.0", "bn.js": "^5.2.1" }, "files": [ diff --git a/packages/adapters/default-solana-adapter/src/index.ts b/packages/adapters/default-solana-adapter/src/index.ts index ac5adef95..ff30516c3 100644 --- a/packages/adapters/default-solana-adapter/src/index.ts +++ b/packages/adapters/default-solana-adapter/src/index.ts @@ -23,8 +23,6 @@ export const getDefaultExternalAdapters = async (params: { options: IWeb3AuthCor ...(getChainConfig(chainConfig.chainNamespace, chainConfig?.chainId) as CustomChainConfig), ...(chainConfig || {}), }; - const [{ SolanaWalletAdapter }] = await Promise.all([import("@web3auth/torus-solana-adapter")]); - const solanaWalletAdapter = new SolanaWalletAdapter({ chainConfig: finalChainConfig, clientId, sessionTime, web3AuthNetwork, useCoreKitKey }); // get installed wallets that support standard wallet const standardWalletAdapters = [] as BaseAdapter[]; @@ -50,5 +48,5 @@ export const getDefaultExternalAdapters = async (params: { options: IWeb3AuthCor }) ); }); - return [solanaWalletAdapter, ...standardWalletAdapters]; + return standardWalletAdapters; };