diff --git a/demo/vue-app-new/package-lock.json b/demo/vue-app-new/package-lock.json
index 3e8fb1cab..10d3058ac 100644
--- a/demo/vue-app-new/package-lock.json
+++ b/demo/vue-app-new/package-lock.json
@@ -35,6 +35,7 @@
"@web3auth/torus-solana-adapter": "file:../../packages/adapters/torus-solana-adapter",
"@web3auth/wallet-connect-v2-adapter": "file:../../packages/adapters/wallet-connect-v2-adapter",
"@web3auth/wallet-services-plugin": "file:../../packages/plugins/wallet-services-plugin",
+ "@web3auth/ws-embed": "^3.2.1",
"bs58": "^5.0.0",
"ethers": "^6.13.3",
"vue": "^3.5.11",
@@ -57,12 +58,12 @@
},
"../../packages/adapters/auth-adapter": {
"name": "@web3auth/auth-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
"deepmerge": "^4.3.1"
},
"engines": {
@@ -75,11 +76,11 @@
},
"../../packages/adapters/base-evm-adapter": {
"name": "@web3auth/base-evm-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
- "@web3auth/base": "^9.4.0"
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@web3auth/base": "^9.4.5"
},
"engines": {
"node": ">=18.x",
@@ -91,11 +92,11 @@
},
"../../packages/adapters/base-solana-adapter": {
"name": "@web3auth/base-solana-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
- "@web3auth/base": "^9.4.0",
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@web3auth/base": "^9.4.5",
"bs58": "^5.0.0"
},
"devDependencies": {
@@ -111,14 +112,14 @@
},
"../../packages/adapters/coinbase-adapter": {
"name": "@web3auth/coinbase-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-evm-adapter": "^9.4.0"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-evm-adapter": "^9.4.5"
},
"devDependencies": {
- "@coinbase/wallet-sdk": "^4.2.2"
+ "@coinbase/wallet-sdk": "^4.2.3"
},
"engines": {
"node": ">=18.x",
@@ -131,12 +132,12 @@
},
"../../packages/adapters/default-evm-adapter": {
"name": "@web3auth/default-evm-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-evm-adapter": "^9.4.0",
- "@web3auth/wallet-connect-v2-adapter": "^9.4.0",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-evm-adapter": "^9.4.5",
+ "@web3auth/wallet-connect-v2-adapter": "^9.4.5",
"mipd": "^0.0.7"
},
"engines": {
@@ -149,19 +150,19 @@
},
"../../packages/adapters/default-solana-adapter": {
"name": "@web3auth/default-solana-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
"@solana/wallet-standard-features": "^1.2.0",
- "@solana/web3.js": "^1.95.4",
+ "@solana/web3.js": "^1.95.5",
"@wallet-standard/app": "^1.1.0",
"@wallet-standard/base": "^1.1.0",
"@wallet-standard/features": "^1.1.0",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-solana-adapter": "^9.4.0",
- "@web3auth/solana-provider": "^9.4.0",
- "@web3auth/wallet-connect-v2-adapter": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-solana-adapter": "^9.4.5",
+ "@web3auth/solana-provider": "^9.4.5",
+ "@web3auth/wallet-connect-v2-adapter": "^9.4.5",
"bn.js": "^5.2.1"
},
"engines": {
@@ -174,12 +175,12 @@
},
"../../packages/adapters/torus-evm-adapter": {
"name": "@web3auth/torus-evm-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
"@toruslabs/torus-embed": "^5.0.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-evm-adapter": "^9.4.0"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-evm-adapter": "^9.4.5"
},
"engines": {
"node": ">=18.x",
@@ -191,14 +192,14 @@
},
"../../packages/adapters/torus-solana-adapter": {
"name": "@web3auth/torus-solana-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
"@toruslabs/solana-embed": "^2.1.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
- "@web3auth/base-solana-adapter": "^9.4.0",
- "@web3auth/solana-provider": "^9.4.0"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
+ "@web3auth/base-solana-adapter": "^9.4.5",
+ "@web3auth/solana-provider": "^9.4.5"
},
"engines": {
"node": ">=18.x",
@@ -211,19 +212,19 @@
},
"../../packages/adapters/wallet-connect-v2-adapter": {
"name": "@web3auth/wallet-connect-v2-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@solana/web3.js": "^1.95.4",
- "@toruslabs/base-controllers": "^6.2.4",
+ "@solana/web3.js": "^1.95.5",
+ "@toruslabs/base-controllers": "^6.3.2",
"@walletconnect/sign-client": "^2.17.2",
"@walletconnect/types": "^2.17.2",
"@walletconnect/utils": "^2.17.2",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
- "@web3auth/ethereum-provider": "^9.4.0",
- "@web3auth/solana-provider": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
+ "@web3auth/ethereum-provider": "^9.4.5",
+ "@web3auth/solana-provider": "^9.4.5",
"bs58": "^5.0.0",
"deepmerge": "^4.3.1"
},
@@ -240,13 +241,13 @@
},
"../../packages/base": {
"name": "@web3auth/base",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
- "@toruslabs/constants": "^14.1.1",
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@toruslabs/constants": "^14.2.0",
"@toruslabs/http-helpers": "^7.0.0",
- "@web3auth/auth": "^9.5.0",
+ "@web3auth/auth": "^9.5.3",
"jwt-decode": "^4.0.0",
"loglevel": "^1.9.2",
"ts-custom-error": "^3.3.1"
@@ -261,15 +262,15 @@
},
"../../packages/composables/modal-vue-composables": {
"name": "@web3auth/modal-vue-composables",
- "version": "9.4.1",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@web3auth/base": "^9.4.0",
- "@web3auth/modal": "^9.4.1"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/modal": "^9.4.5"
},
"devDependencies": {
- "@web3auth/auth": "^9.5.0",
- "@web3auth/auth-adapter": "^9.4.0"
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/auth-adapter": "^9.4.5"
},
"engines": {
"node": ">=18.x",
@@ -282,22 +283,22 @@
},
"../../packages/modal": {
"name": "@web3auth/modal",
- "version": "9.4.1",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@web3auth/auth-adapter": "^9.4.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
- "@web3auth/no-modal": "^9.4.0",
- "@web3auth/ui": "^9.4.1",
+ "@web3auth/auth-adapter": "^9.4.5",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
+ "@web3auth/no-modal": "^9.4.5",
+ "@web3auth/ui": "^9.4.5",
"deepmerge": "^4.3.1"
},
"devDependencies": {
"@svgr/webpack": "^8.1.0",
"@toruslabs/isomorphic-style-loader": "^5.3.3",
- "@web3auth/account-abstraction-provider": "^9.4.0",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/wallet-connect-v2-adapter": "^9.4.0",
+ "@web3auth/account-abstraction-provider": "^9.4.5",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/wallet-connect-v2-adapter": "^9.4.5",
"css-loader": "^7.1.2",
"postcss-prefix-selector": "^2.1.0",
"style-loader": "^4.0.0",
@@ -319,18 +320,18 @@
},
"../../packages/no-modal": {
"name": "@web3auth/no-modal",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
"deepmerge": "^4.3.1"
},
"devDependencies": {
- "@web3auth/account-abstraction-provider": "^9.4.0",
- "@web3auth/auth-adapter": "^9.4.0",
- "@web3auth/wallet-connect-v2-adapter": "^9.4.0"
+ "@web3auth/account-abstraction-provider": "^9.4.5",
+ "@web3auth/auth-adapter": "^9.4.5",
+ "@web3auth/wallet-connect-v2-adapter": "^9.4.5"
},
"engines": {
"node": ">=18.x",
@@ -370,13 +371,13 @@
},
"../../packages/plugins/solana-wallet-connector-plugin": {
"name": "@web3auth/solana-wallet-connector-plugin",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
"@toruslabs/solana-embed": "^2.1.0",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/no-modal": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/no-modal": "^9.4.5",
"loglevel": "^1.9.2"
},
"engines": {
@@ -389,17 +390,18 @@
},
"../../packages/plugins/wallet-services-plugin": {
"name": "@web3auth/wallet-services-plugin",
- "version": "9.4.0",
+ "version": "9.5.0-alpha.0",
"license": "ISC",
"dependencies": {
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/no-modal": "^9.4.0",
- "@web3auth/ws-embed": "^3.1.0",
+ "@web3auth/account-abstraction-provider": "^9.3.1",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/no-modal": "^9.4.5",
+ "@web3auth/ws-embed": "^3.2.1",
"loglevel": "^1.9.2"
},
"devDependencies": {
- "@toruslabs/ethereum-controllers": "^6.2.4"
+ "@toruslabs/ethereum-controllers": "^6.3.2"
},
"engines": {
"node": ">=18.x",
@@ -411,18 +413,18 @@
},
"../../packages/providers/account-abstraction-provider": {
"name": "@web3auth/account-abstraction-provider",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
"@ethereumjs/util": "^9.1.0",
- "@toruslabs/base-controllers": "^6.2.4",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
- "@web3auth/ethereum-provider": "^9.4.0",
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
+ "@web3auth/ethereum-provider": "^9.4.5",
"ethers": "^6.13.4",
- "permissionless": "^0.2.15",
- "viem": "^2.21.43"
+ "permissionless": "^0.2.20",
+ "viem": "^2.21.52"
},
"engines": {
"node": ">=18.x",
@@ -496,12 +498,12 @@
},
"../../packages/providers/base-provider": {
"name": "@web3auth/base-provider",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
"json-rpc-random-id": "^1.0.1"
},
"devDependencies": {
@@ -517,16 +519,16 @@
},
"../../packages/providers/ethereum-provider": {
"name": "@web3auth/ethereum-provider",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
"@ethereumjs/util": "^9.1.0",
- "@toruslabs/base-controllers": "^6.2.4",
+ "@toruslabs/base-controllers": "^6.3.2",
"@toruslabs/eccrypto": "^5.0.4",
"@toruslabs/http-helpers": "^7.0.0",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
"assert": "^2.1.0",
"bignumber.js": "^9.1.2",
"bn.js": "^5.2.1",
@@ -548,20 +550,20 @@
},
"../../packages/providers/solana-provider": {
"name": "@web3auth/solana-provider",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
+ "@toruslabs/base-controllers": "^6.3.2",
"@toruslabs/tweetnacl-js": "^1.0.4",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
"bn.js": "^5.2.1",
"bs58": "^5.0.0",
"json-rpc-random-id": "^1.0.1"
},
"devDependencies": {
- "@solana/web3.js": "^1.95.4",
+ "@solana/web3.js": "^1.95.5",
"@types/bn.js": "^5.1.6",
"@types/bs58": "^4.0.4",
"@types/json-rpc-random-id": "^1.0.3"
@@ -1057,13 +1059,12 @@
}
},
"node_modules/@nx/nx-linux-x64-gnu": {
- "version": "19.8.4",
- "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-19.8.4.tgz",
- "integrity": "sha512-XcRBNe0ws7KB0PMcUlpQqzzjjxMP8VdqirBz7CfB2XQ8xKmP3370p0cDvqs/4oKDHK4PCkmvVFX60tzakutylA==",
+ "version": "20.1.4",
+ "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-20.1.4.tgz",
+ "integrity": "sha512-vaWV37ZayfyckVI/faWdQWIV9XQb06ZT8jHQnwgSd9tKbGz37vN30eYtgZlFL0P4bHfhjtmMXnLvADmfyO/KOw==",
"cpu": [
"x64"
],
- "license": "MIT",
"optional": true,
"os": [
"linux"
@@ -1244,13 +1245,12 @@
]
},
"node_modules/@rollup/rollup-linux-x64-gnu": {
- "version": "4.24.0",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.0.tgz",
- "integrity": "sha512-ZXFk7M72R0YYFN5q13niV0B7G8/5dcQ9JDp8keJSfr3GoZeXEoMHP/HlvqROA3OMbMdfr19IjCeNAnPUG93b6A==",
+ "version": "4.28.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.28.0.tgz",
+ "integrity": "sha512-Nl4KIzteVEKE9BdAvYoTkW19pa7LR/RBrT6F1dJCV/3pbjwDcaOq+edkP0LXuJ9kflW/xOK414X78r+K84+msw==",
"cpu": [
"x64"
],
- "license": "MIT",
"optional": true,
"os": [
"linux"
@@ -1496,8 +1496,9 @@
}
},
"node_modules/@toruslabs/constants": {
- "version": "14.0.0",
- "license": "MIT",
+ "version": "14.2.0",
+ "resolved": "https://registry.npmjs.org/@toruslabs/constants/-/constants-14.2.0.tgz",
+ "integrity": "sha512-Mb5EfYNSPyvvw5s1JXnpZwritCgp4NmLni1imTqrSKGV3yikYhUn1ufyLMAHGnBBgv4AuMIXBIe3EpJJ+SpA0g==",
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
@@ -1633,11 +1634,11 @@
}
},
"node_modules/@toruslabs/secure-pub-sub": {
- "version": "1.0.0",
- "resolved": "https://registry.npmjs.org/@toruslabs/secure-pub-sub/-/secure-pub-sub-1.0.0.tgz",
- "integrity": "sha512-Xv8SExIJ4/DBw5QHcSN+EGPMddZ2du4NcI9jztLde1K/0Hfnurqw6CcAniU6zpKVRVCRwjiauYCNYIRPBi2M4g==",
- "license": "MIT",
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/@toruslabs/secure-pub-sub/-/secure-pub-sub-1.1.0.tgz",
+ "integrity": "sha512-OFN0Zsa37+c9aStHd4wzau+IYPY+gve9fBPDuPSIuS06cz/bov39DvCP0LaTQUKxK4eQMZENcPu6PeyBvQYQQA==",
"dependencies": {
+ "@toruslabs/constants": "^14.1.1",
"@toruslabs/eccrypto": "^5.0.0",
"@toruslabs/http-helpers": "^7.0.0",
"@toruslabs/metadata-helpers": "^6.0.0",
@@ -1653,11 +1654,11 @@
}
},
"node_modules/@toruslabs/session-manager": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/@toruslabs/session-manager/-/session-manager-3.1.0.tgz",
- "integrity": "sha512-VTaYjTTGTqpUm14YWRsSmY0Tt5z7evC0aOdVW7Ahw/jzyb1witNL4Va2+7XzunziEkLJS3luH+LkziHx67jyQg==",
- "license": "MIT",
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/@toruslabs/session-manager/-/session-manager-3.2.0.tgz",
+ "integrity": "sha512-t+EGFZhn8pxZ5Gjhxr99qNmK20zZD/RYEMRROBuwsETyy/QU17H6dKhqIb306GjmwUPkz2VKKTtJcOg9Ifijuw==",
"dependencies": {
+ "@toruslabs/constants": "^14.1.1",
"@toruslabs/eccrypto": "^5.0.4",
"@toruslabs/http-helpers": "^7.0.0",
"@toruslabs/metadata-helpers": "^6.0.0"
@@ -1667,21 +1668,20 @@
"npm": ">=9.x"
},
"optionalDependencies": {
- "@rollup/rollup-linux-x64-gnu": "^4.22.4"
+ "@rollup/rollup-linux-x64-gnu": "^4.24.4"
}
},
"node_modules/@toruslabs/starkware-crypto": {
- "version": "4.0.0",
- "resolved": "https://registry.npmjs.org/@toruslabs/starkware-crypto/-/starkware-crypto-4.0.0.tgz",
- "integrity": "sha512-oEvcwEulCkLbOfRq3Rz3wS1DgSYV5oCh4N4YNWYDQhz1WoQe3S87hJlVUPvRQHHqhp9vBM0qDUVi0Ez7ibYhMA==",
- "license": "MIT",
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@toruslabs/starkware-crypto/-/starkware-crypto-4.0.1.tgz",
+ "integrity": "sha512-AhnXUscFN2+oLeQuOEbi8vvrQnxUKnE0USWpg7eFHmqUBV8kg6+PAFiWsvJ01+GMQPTMKhKZHyMysxW5AFHc6Q==",
"dependencies": {
"assert": "^2.1.0",
"bip39": "^3.1.0",
"bn.js": "^5.2.1",
- "elliptic": "~6.5.5",
+ "elliptic": "^6.6.1",
"enc-utils": "^3.0.0",
- "ethereum-cryptography": "^2.2.0",
+ "ethereum-cryptography": "^2.2.1",
"hash.js": "^1.1.7"
},
"engines": {
@@ -1761,8 +1761,9 @@
"license": "MIT"
},
"node_modules/@types/node": {
- "version": "22.5.4",
- "license": "MIT",
+ "version": "22.7.5",
+ "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz",
+ "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==",
"dependencies": {
"undici-types": "~6.19.2"
}
@@ -2458,18 +2459,17 @@
"link": true
},
"node_modules/@web3auth/auth": {
- "version": "9.4.1",
- "resolved": "https://registry.npmjs.org/@web3auth/auth/-/auth-9.4.1.tgz",
- "integrity": "sha512-V5JNBc7VeHDmP+9VN4obAIav/NbkyZXEVJ3rD9C4SdbO/ZF3Hc+G8SdVPymJlR2JrBCsuPJiFsUatBl1hx+FSg==",
- "license": "MIT",
+ "version": "9.5.3",
+ "resolved": "https://registry.npmjs.org/@web3auth/auth/-/auth-9.5.3.tgz",
+ "integrity": "sha512-774DFBzuq/mO9y5Zf0ICdK9pZ/YgYgnRVo3CYiayuknA4/wTxosK+xvhlcP6fGRKVgoaYa6bP+gBGmqoFCGUzQ==",
"dependencies": {
"@ethereumjs/util": "^9.1.0",
- "@toruslabs/constants": "^14.0.0",
+ "@toruslabs/constants": "^14.1.1",
"@toruslabs/ffjavascript": "^4.0.0",
"@toruslabs/metadata-helpers": "^6.0.0",
- "@toruslabs/secure-pub-sub": "^1.0.0",
- "@toruslabs/session-manager": "^3.0.0",
- "@toruslabs/starkware-crypto": "^4.0.0",
+ "@toruslabs/secure-pub-sub": "^1.1.0",
+ "@toruslabs/session-manager": "^3.2.0",
+ "@toruslabs/starkware-crypto": "^4.0.1",
"@toruslabs/tweetnacl-js": "^1.0.4",
"base64url": "^3.0.1",
"bip39": "^3.1.0",
@@ -2481,9 +2481,9 @@
"events": "^3.3.0",
"fast-safe-stringify": "^2.1.1",
"json-stable-stringify": "^1.1.1",
- "loglevel": "^1.9.1",
+ "loglevel": "^1.9.2",
"once": "^1.4.0",
- "pump": "^3.0.0",
+ "pump": "^3.0.2",
"readable-stream": "^4.5.2",
"ts-custom-error": "^3.3.1",
"typed-emitter": "^2.1.0"
@@ -2493,8 +2493,8 @@
"npm": ">=9.x"
},
"optionalDependencies": {
- "@nx/nx-linux-x64-gnu": "^19.6.3",
- "@rollup/rollup-linux-x64-gnu": "^4.21.1"
+ "@nx/nx-linux-x64-gnu": "^20.1.2",
+ "@rollup/rollup-linux-x64-gnu": "^4.27.3"
},
"peerDependencies": {
"@babel/runtime": "7.x"
@@ -2589,6 +2589,99 @@
"resolved": "../../packages/plugins/wallet-services-plugin",
"link": true
},
+ "node_modules/@web3auth/ws-embed": {
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/@web3auth/ws-embed/-/ws-embed-3.2.1.tgz",
+ "integrity": "sha512-se2wuHqKQDyYHYIY92lqjVISLYBZWVua2hgGsdos3xKdCjgyE1uZNr4hXE+uvTB14Ib+THYz4ECLq20lDI/wDA==",
+ "dependencies": {
+ "@toruslabs/base-controllers": "^7.0.0-alpha.1",
+ "@toruslabs/ethereum-controllers": "^7.0.0-alpha.3",
+ "@web3auth/auth": "^9.5.3",
+ "fast-deep-equal": "^3.1.3",
+ "loglevel": "^1.9.2",
+ "pump": "^3.0.2",
+ "readable-stream": "^4.5.2"
+ },
+ "engines": {
+ "node": ">=18.x",
+ "npm": ">=9.x"
+ },
+ "peerDependencies": {
+ "@babel/runtime": "7.x"
+ }
+ },
+ "node_modules/@web3auth/ws-embed/node_modules/@toruslabs/base-controllers": {
+ "version": "7.0.0-alpha.1",
+ "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-7.0.0-alpha.1.tgz",
+ "integrity": "sha512-n6WdDvAs9DujysZFnhdya8oRL0zTawrTT/Dg1hgrxtbM3YbZK0AhZxqvEX4SnfqGaIrSgC72jBrCUcxFHeCTVw==",
+ "dependencies": {
+ "@ethereumjs/util": "^9.1.0",
+ "@toruslabs/broadcast-channel": "^11.0.0",
+ "@toruslabs/http-helpers": "^7.0.0",
+ "@web3auth/auth": "^9.5.2",
+ "async-mutex": "^0.5.0",
+ "bignumber.js": "^9.1.2",
+ "bowser": "^2.11.0",
+ "jwt-decode": "^4.0.0",
+ "loglevel": "^1.9.2"
+ },
+ "engines": {
+ "node": ">=18.x",
+ "npm": ">=9.x"
+ },
+ "peerDependencies": {
+ "@babel/runtime": "7.x"
+ }
+ },
+ "node_modules/@web3auth/ws-embed/node_modules/@toruslabs/ethereum-controllers": {
+ "version": "7.0.0-alpha.3",
+ "resolved": "https://registry.npmjs.org/@toruslabs/ethereum-controllers/-/ethereum-controllers-7.0.0-alpha.3.tgz",
+ "integrity": "sha512-m5wrB0hs2FDuh6W2wJ3b93e+LTBU89lHHrIlrH3sbNuK0REi19FJkZn6q66bVPGa6Tj8NeF91FO6phOff5dPZw==",
+ "dependencies": {
+ "@ethereumjs/util": "^9.1.0",
+ "@toruslabs/base-controllers": "^7.0.0-alpha.1",
+ "@toruslabs/http-helpers": "^7.0.0",
+ "@web3auth/auth": "^9.5.2",
+ "async-mutex": "^0.5.0",
+ "bignumber.js": "^9.1.2",
+ "bn.js": "^5.2.1",
+ "deepmerge": "^4.3.1",
+ "ethers": "^6.13.4",
+ "fast-json-patch": "^3.1.1",
+ "fast-safe-stringify": "^2.1.1",
+ "jsonschema": "^1.4.1",
+ "loglevel": "^1.9.2",
+ "permissionless": "^0.2.14",
+ "viem": "^2.21.40"
+ },
+ "engines": {
+ "node": ">=16.18.1",
+ "npm": ">=8.x"
+ },
+ "peerDependencies": {
+ "@babel/runtime": "7.x"
+ }
+ },
+ "node_modules/abitype": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/abitype/-/abitype-1.0.6.tgz",
+ "integrity": "sha512-MMSqYh4+C/aVqI2RQaWqbvI4Kxo5cQV40WQ4QFtDnNzCkqChm8MuENhElmynZlO0qUy/ObkEUaXtKqYnx1Kp3A==",
+ "funding": {
+ "url": "https://github.com/sponsors/wevm"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.0.4",
+ "zod": "^3 >=3.22.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ },
+ "zod": {
+ "optional": true
+ }
+ }
+ },
"node_modules/abort-controller": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz",
@@ -2855,7 +2948,6 @@
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/assert/-/assert-2.1.0.tgz",
"integrity": "sha512-eLHpSK/Y4nhMJ07gDaAzoX/XAKS8PSaojml3M0DM4JpV1LAi5JOJ/p6H/XWrl8L+DzVEvVCW1z3vWAaB9oTsQw==",
- "license": "MIT",
"dependencies": {
"call-bind": "^1.0.2",
"is-nan": "^1.3.2",
@@ -3019,7 +3111,6 @@
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/bip39/-/bip39-3.1.0.tgz",
"integrity": "sha512-c9kiwdk45Do5GL0vJMe7tS95VjCii65mYAH7DfWl3uW8AVzXKQVUm64i3hzVybBDMp9r7j9iNxR85+ul8MdN/A==",
- "license": "ISC",
"dependencies": {
"@noble/hashes": "^1.2.0"
}
@@ -3577,10 +3668,9 @@
"license": "ISC"
},
"node_modules/elliptic": {
- "version": "6.5.7",
- "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.7.tgz",
- "integrity": "sha512-ESVCtTwiA+XhY3wyh24QqRGBoP3rEdDUl3EDUUo9tft074fi19IrdpH7hLCMMP3CIj7jb3W96rn8lt/BqIlt5Q==",
- "license": "MIT",
+ "version": "6.6.1",
+ "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.6.1.tgz",
+ "integrity": "sha512-RaddvvMatK2LJHqFJ+YA4WysVN5Ita9E35botqIYspQ4TkRAlCicdzKOjlyv/1Za5RyTNn7di//eEV0uTAfe3g==",
"dependencies": {
"bn.js": "^4.11.9",
"brorand": "^1.1.0",
@@ -3605,7 +3695,6 @@
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/enc-utils/-/enc-utils-3.0.0.tgz",
"integrity": "sha512-e57t/Z2HzWOLwOp7DZcV0VMEY8t7ptWwsxyp6kM2b2zrk6JqIpXxzkruHAMiBsy5wg9jp/183GdiRXCvBtzsYg==",
- "license": "MIT",
"dependencies": {
"is-typedarray": "1.0.0",
"typedarray-to-buffer": "3.1.5"
@@ -4745,9 +4834,9 @@
}
},
"node_modules/ethers": {
- "version": "6.13.3",
- "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.3.tgz",
- "integrity": "sha512-/DzbZOLVtoO4fKvvQwpEucHAQgIwBGWuRvBdwE/lMXgXvvHHTSkn7XqAQ2b+gjJzZDJjWA9OD05bVceVOsBHbg==",
+ "version": "6.13.4",
+ "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.4.tgz",
+ "integrity": "sha512-21YtnZVg4/zKkCQPjrDj38B1r4nQvTZLopUGMLQ1ePU2zV/joCfDC3t3iKQjWRzjjjbzR+mdAIoikeBRNkdllA==",
"funding": [
{
"type": "individual",
@@ -4758,14 +4847,13 @@
"url": "https://www.buymeacoffee.com/ricmoo"
}
],
- "license": "MIT",
"dependencies": {
"@adraffy/ens-normalize": "1.10.1",
"@noble/curves": "1.2.0",
"@noble/hashes": "1.3.2",
- "@types/node": "18.15.13",
+ "@types/node": "22.7.5",
"aes-js": "4.0.0-beta.5",
- "tslib": "2.4.0",
+ "tslib": "2.7.0",
"ws": "8.17.1"
},
"engines": {
@@ -4792,14 +4880,6 @@
"url": "https://paulmillr.com/funding/"
}
},
- "node_modules/ethers/node_modules/@types/node": {
- "version": "18.15.13",
- "license": "MIT"
- },
- "node_modules/ethers/node_modules/tslib": {
- "version": "2.4.0",
- "license": "0BSD"
- },
"node_modules/ethers/node_modules/ws": {
"version": "8.17.1",
"license": "MIT",
@@ -4849,7 +4929,6 @@
},
"node_modules/fast-deep-equal": {
"version": "3.1.3",
- "dev": true,
"license": "MIT"
},
"node_modules/fast-diff": {
@@ -5601,7 +5680,6 @@
"version": "1.3.2",
"resolved": "https://registry.npmjs.org/is-nan/-/is-nan-1.3.2.tgz",
"integrity": "sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w==",
- "license": "MIT",
"dependencies": {
"call-bind": "^1.0.0",
"define-properties": "^1.1.3"
@@ -5737,8 +5815,7 @@
"node_modules/is-typedarray": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
- "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==",
- "license": "MIT"
+ "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA=="
},
"node_modules/is-weakmap": {
"version": "2.0.2",
@@ -5792,6 +5869,20 @@
"ws": "*"
}
},
+ "node_modules/isows": {
+ "version": "1.0.6",
+ "resolved": "https://registry.npmjs.org/isows/-/isows-1.0.6.tgz",
+ "integrity": "sha512-lPHCayd40oW98/I0uvgaHKWCSvkzY27LjWLbtzOm64yQ+G3Q5npjjbdppU65iZXkK1Zt+kH9pfegli0AYfwYYw==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "peerDependencies": {
+ "ws": "*"
+ }
+ },
"node_modules/iterator.prototype": {
"version": "1.1.2",
"dev": true,
@@ -6393,6 +6484,103 @@
"node": ">= 0.8.0"
}
},
+ "node_modules/ox": {
+ "version": "0.1.2",
+ "resolved": "https://registry.npmjs.org/ox/-/ox-0.1.2.tgz",
+ "integrity": "sha512-ak/8K0Rtphg9vnRJlbOdaX9R7cmxD2MiSthjWGaQdMk3D7hrAlDoM+6Lxn7hN52Za3vrXfZ7enfke/5WjolDww==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "dependencies": {
+ "@adraffy/ens-normalize": "^1.10.1",
+ "@noble/curves": "^1.6.0",
+ "@noble/hashes": "^1.5.0",
+ "@scure/bip32": "^1.5.0",
+ "@scure/bip39": "^1.4.0",
+ "abitype": "^1.0.6",
+ "eventemitter3": "5.0.1"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.4.0"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/ox/node_modules/@noble/curves": {
+ "version": "1.7.0",
+ "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.7.0.tgz",
+ "integrity": "sha512-UTMhXK9SeDhFJVrHeUJ5uZlI6ajXg10O6Ddocf9S6GjbSBVZsJo88HzKwXznNfGpMTRDyJkqMjNDPYgf0qFWnw==",
+ "dependencies": {
+ "@noble/hashes": "1.6.0"
+ },
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/ox/node_modules/@noble/curves/node_modules/@noble/hashes": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.6.0.tgz",
+ "integrity": "sha512-YUULf0Uk4/mAA89w+k3+yUYh6NrEvxZa5T6SY3wlMvE2chHkxFUUIDI8/XW1QSC357iA5pSnqt7XEhvFOqmDyQ==",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/ox/node_modules/@noble/hashes": {
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.6.1.tgz",
+ "integrity": "sha512-pq5D8h10hHBjyqX+cfBm0i8JUXJ0UhczFc4r74zbuT9XgewFo2E3J1cOaGtdZynILNmQ685YWGzGE1Zv6io50w==",
+ "engines": {
+ "node": "^14.21.3 || >=16"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/ox/node_modules/@scure/base": {
+ "version": "1.2.1",
+ "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.2.1.tgz",
+ "integrity": "sha512-DGmGtC8Tt63J5GfHgfl5CuAXh96VF/LD8K9Hr/Gv0J2lAoRGlPOMpqMpMbCTOoOJMZCk2Xt+DskdDyn6dEFdzQ==",
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/ox/node_modules/@scure/bip32": {
+ "version": "1.6.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.6.0.tgz",
+ "integrity": "sha512-82q1QfklrUUdXJzjuRU7iG7D7XiFx5PHYVS0+oeNKhyDLT7WPqs6pBcM2W5ZdwOwKCwoE1Vy1se+DHjcXwCYnA==",
+ "dependencies": {
+ "@noble/curves": "~1.7.0",
+ "@noble/hashes": "~1.6.0",
+ "@scure/base": "~1.2.1"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/ox/node_modules/@scure/bip39": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.5.0.tgz",
+ "integrity": "sha512-Dop+ASYhnrwm9+HA/HwXg7j2ZqM6yk2fyLWb5znexjctFY3+E+eU8cIWI0Pql0Qx4hPZCijlGq4OL71g+Uz30A==",
+ "dependencies": {
+ "@noble/hashes": "~1.6.0",
+ "@scure/base": "~1.2.1"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
"node_modules/p-limit": {
"version": "3.1.0",
"dev": true,
@@ -6490,6 +6678,14 @@
"node": ">=8"
}
},
+ "node_modules/permissionless": {
+ "version": "0.2.21",
+ "resolved": "https://registry.npmjs.org/permissionless/-/permissionless-0.2.21.tgz",
+ "integrity": "sha512-hNrRR/I5InbqkKgRBLhXQY5R0j9biqp688ECBxsW5AO99jOv9HPjz82EdRT87OG4XkCjO4AY20hi4ZPoc+XjRg==",
+ "peerDependencies": {
+ "viem": "^2.21.22"
+ }
+ },
"node_modules/picocolors": {
"version": "1.1.0",
"license": "ISC"
@@ -7744,7 +7940,6 @@
"version": "3.1.5",
"resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz",
"integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==",
- "license": "MIT",
"dependencies": {
"is-typedarray": "^1.0.0"
}
@@ -7841,7 +8036,6 @@
"version": "0.12.5",
"resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz",
"integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==",
- "license": "MIT",
"dependencies": {
"inherits": "^2.0.3",
"is-arguments": "^1.0.4",
@@ -7864,6 +8058,81 @@
"node_modules/valid-url": {
"version": "1.0.9"
},
+ "node_modules/viem": {
+ "version": "2.21.53",
+ "resolved": "https://registry.npmjs.org/viem/-/viem-2.21.53.tgz",
+ "integrity": "sha512-0pY8clBacAwzc59iV1vY4a6U4xvRlA5tAuhClJCKvqA6rXJzmNMMvxQ0EG79lkHr7WtBEruXz8nAmONXwnq4EQ==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "dependencies": {
+ "@noble/curves": "1.6.0",
+ "@noble/hashes": "1.5.0",
+ "@scure/bip32": "1.5.0",
+ "@scure/bip39": "1.4.0",
+ "abitype": "1.0.6",
+ "isows": "1.0.6",
+ "ox": "0.1.2",
+ "webauthn-p256": "0.0.10",
+ "ws": "8.18.0"
+ },
+ "peerDependencies": {
+ "typescript": ">=5.0.4"
+ },
+ "peerDependenciesMeta": {
+ "typescript": {
+ "optional": true
+ }
+ }
+ },
+ "node_modules/viem/node_modules/@scure/bip32": {
+ "version": "1.5.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip32/-/bip32-1.5.0.tgz",
+ "integrity": "sha512-8EnFYkqEQdnkuGBVpCzKxyIwDCBLDVj3oiX0EKUFre/tOjL/Hqba1D6n/8RcmaQy4f95qQFrO2A8Sr6ybh4NRw==",
+ "dependencies": {
+ "@noble/curves": "~1.6.0",
+ "@noble/hashes": "~1.5.0",
+ "@scure/base": "~1.1.7"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/viem/node_modules/@scure/bip39": {
+ "version": "1.4.0",
+ "resolved": "https://registry.npmjs.org/@scure/bip39/-/bip39-1.4.0.tgz",
+ "integrity": "sha512-BEEm6p8IueV/ZTfQLp/0vhw4NPnT9oWf5+28nvmeUICjP99f4vr2d+qc7AVGDDtwRep6ifR43Yed9ERVmiITzw==",
+ "dependencies": {
+ "@noble/hashes": "~1.5.0",
+ "@scure/base": "~1.1.8"
+ },
+ "funding": {
+ "url": "https://paulmillr.com/funding/"
+ }
+ },
+ "node_modules/viem/node_modules/ws": {
+ "version": "8.18.0",
+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.18.0.tgz",
+ "integrity": "sha512-8VbfWfHLbbwu3+N6OKsOMpBdT4kXPDDB9cJk2bJ6mh9ucxdlnNvH1e+roYkKmN9Nxw2yjz7VzeO9oOz2zJ04Pw==",
+ "engines": {
+ "node": ">=10.0.0"
+ },
+ "peerDependencies": {
+ "bufferutil": "^4.0.1",
+ "utf-8-validate": ">=5.0.2"
+ },
+ "peerDependenciesMeta": {
+ "bufferutil": {
+ "optional": true
+ },
+ "utf-8-validate": {
+ "optional": true
+ }
+ }
+ },
"node_modules/vite": {
"version": "5.4.8",
"resolved": "https://registry.npmjs.org/vite/-/vite-5.4.8.tgz",
@@ -8007,6 +8276,21 @@
"typescript": ">=5.0.0"
}
},
+ "node_modules/webauthn-p256": {
+ "version": "0.0.10",
+ "resolved": "https://registry.npmjs.org/webauthn-p256/-/webauthn-p256-0.0.10.tgz",
+ "integrity": "sha512-EeYD+gmIT80YkSIDb2iWq0lq2zbHo1CxHlQTeJ+KkCILWpVy3zASH3ByD4bopzfk0uCwXxLqKGLqp2W4O28VFA==",
+ "funding": [
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/wevm"
+ }
+ ],
+ "dependencies": {
+ "@noble/curves": "^1.4.0",
+ "@noble/hashes": "^1.4.0"
+ }
+ },
"node_modules/webidl-conversions": {
"version": "3.0.1",
"license": "BSD-2-Clause"
diff --git a/demo/vue-app-new/package.json b/demo/vue-app-new/package.json
index d2849e9e6..8b5c9fcff 100644
--- a/demo/vue-app-new/package.json
+++ b/demo/vue-app-new/package.json
@@ -37,6 +37,7 @@
"@web3auth/torus-solana-adapter": "file:../../packages/adapters/torus-solana-adapter",
"@web3auth/wallet-connect-v2-adapter": "file:../../packages/adapters/wallet-connect-v2-adapter",
"@web3auth/wallet-services-plugin": "file:../../packages/plugins/wallet-services-plugin",
+ "@web3auth/ws-embed": "^3.2.1",
"bs58": "^5.0.0",
"ethers": "^6.13.3",
"vue": "^3.5.11",
diff --git a/demo/vue-app-new/src/MainView.vue b/demo/vue-app-new/src/MainView.vue
index 8f97afa1c..8ad131a4f 100644
--- a/demo/vue-app-new/src/MainView.vue
+++ b/demo/vue-app-new/src/MainView.vue
@@ -45,9 +45,12 @@ const walletPlugins = computed(() => {
plugins.push(nftCheckoutPlugin);
}
if (formData.walletPlugin.enable) {
- const { logoDark, logoLight } = formData.walletPlugin;
+ const { logoDark, logoLight, confirmationStrategy } = formData.walletPlugin;
const walletServicesPlugin = new WalletServicesPlugin({
- walletInitOptions: { whiteLabel: { showWidgetButton: true, logoDark: logoDark || "logo", logoLight: logoLight || "logo" } },
+ walletInitOptions: {
+ whiteLabel: { showWidgetButton: true, logoDark: logoDark || "logo", logoLight: logoLight || "logo" },
+ confirmationStrategy,
+ },
});
plugins.push(walletServicesPlugin);
}
diff --git a/demo/vue-app-new/src/components/AppDashboard.vue b/demo/vue-app-new/src/components/AppDashboard.vue
index 05af3dcfb..b46020680 100644
--- a/demo/vue-app-new/src/components/AppDashboard.vue
+++ b/demo/vue-app-new/src/components/AppDashboard.vue
@@ -18,6 +18,12 @@ import {
signTypedMessage,
} from "../services/ethHandlers";
import { signAllTransactions, signAndSendTransaction, signMessage, signTransaction as signSolTransaction } from "../services/solHandlers";
+import {
+ walletSendEth,
+ walletSignPersonalMessage,
+ walletSignTransaction as walletSignEthTransaction,
+ walletSignTypedMessage,
+} from "../services/walletServiceHandlers";
import { formDataStore } from "../store/form";
const { t } = useI18n({ useScope: "global" });
@@ -53,27 +59,6 @@ const isDisplay = (name: string): boolean => {
}
};
-const showPaidMintNFTCheckout = async () => {
- const nftCheckoutPlugin = web3Auth.value?.getPlugin(WALLET_PLUGINS.NFT_CHECKOUT) as NFTCheckoutPlugin;
- nftCheckoutPlugin.show({ contractId: NFT_CHECKOUT_CONTRACT_ID.PAID_MINT });
-};
-const showFreeMintNFTCheckout = async () => {
- const nftCheckoutPlugin = web3Auth.value?.getPlugin(WALLET_PLUGINS.NFT_CHECKOUT) as NFTCheckoutPlugin;
- nftCheckoutPlugin.show({ contractId: NFT_CHECKOUT_CONTRACT_ID.FREE_MINT });
-};
-const showWalletUI = async () => {
- const walletPlugin = web3Auth.value?.getPlugin(WALLET_PLUGINS.WALLET_SERVICES) as WalletServicesPlugin;
- await walletPlugin.showWalletUi();
-};
-const showCheckout = async () => {
- const walletPlugin = web3Auth.value?.getPlugin(WALLET_PLUGINS.WALLET_SERVICES) as WalletServicesPlugin;
- await walletPlugin.showCheckout();
-};
-const showWalletConnectScanner = async () => {
- const walletPlugin = web3Auth.value?.getPlugin(WALLET_PLUGINS.WALLET_SERVICES) as WalletServicesPlugin;
- await walletPlugin.showWalletConnectScanner();
-};
-
const clearConsole = () => {
const el = document.querySelector("#console>pre");
const h1 = document.querySelector("#console>h1");
@@ -104,6 +89,43 @@ const printToConsole = (...args: unknown[]) => {
}
};
+// Wallet Services
+const showWalletUI = async () => {
+ const walletPlugin = web3Auth.value?.getPlugin(WALLET_PLUGINS.WALLET_SERVICES) as WalletServicesPlugin;
+ await walletPlugin.showWalletUi();
+};
+const showCheckout = async () => {
+ const walletPlugin = web3Auth.value?.getPlugin(WALLET_PLUGINS.WALLET_SERVICES) as WalletServicesPlugin;
+ await walletPlugin.showCheckout();
+};
+const showWalletConnectScanner = async () => {
+ const walletPlugin = web3Auth.value?.getPlugin(WALLET_PLUGINS.WALLET_SERVICES) as WalletServicesPlugin;
+ await walletPlugin.showWalletConnectScanner();
+};
+const onWalletSignPersonalMessage = async () => {
+ const walletPlugin = web3Auth.value?.getPlugin(WALLET_PLUGINS.WALLET_SERVICES) as WalletServicesPlugin;
+ await walletSignPersonalMessage(walletPlugin.wsEmbedInstance.provider, printToConsole);
+};
+const onWalletSignTypedData_v4 = async () => {
+ const walletPlugin = web3Auth.value?.getPlugin(WALLET_PLUGINS.WALLET_SERVICES) as WalletServicesPlugin;
+ await walletSignTypedMessage(walletPlugin.wsEmbedInstance.provider, printToConsole);
+};
+const onWalletSendEth = async () => {
+ const walletPlugin = web3Auth.value?.getPlugin(WALLET_PLUGINS.WALLET_SERVICES) as WalletServicesPlugin;
+ await walletSendEth(walletPlugin.wsEmbedInstance.provider, printToConsole);
+};
+
+// NFT Checkout
+const showPaidMintNFTCheckout = async () => {
+ const nftCheckoutPlugin = web3Auth.value?.getPlugin(WALLET_PLUGINS.NFT_CHECKOUT) as NFTCheckoutPlugin;
+ nftCheckoutPlugin.show({ contractId: NFT_CHECKOUT_CONTRACT_ID.PAID_MINT });
+};
+const showFreeMintNFTCheckout = async () => {
+ const nftCheckoutPlugin = web3Auth.value?.getPlugin(WALLET_PLUGINS.NFT_CHECKOUT) as NFTCheckoutPlugin;
+ nftCheckoutPlugin.show({ contractId: NFT_CHECKOUT_CONTRACT_ID.FREE_MINT });
+};
+
+// Ethereum Provider
const onGetUserInfo = async () => {
printToConsole("User Info", userInfo.value);
};
@@ -219,6 +241,13 @@ const onSignPersonalMsg = async () => {
+
+
+
NFT Checkout Service
diff --git a/demo/vue-app-new/src/components/AppSettings.vue b/demo/vue-app-new/src/components/AppSettings.vue
index 1cdf72e1b..d6b556e2b 100644
--- a/demo/vue-app-new/src/components/AppSettings.vue
+++ b/demo/vue-app-new/src/components/AppSettings.vue
@@ -4,7 +4,15 @@ import { ADAPTER_STATUS, CHAIN_NAMESPACES, ChainNamespaceType, log } from "@web3
import { useWeb3Auth } from "@web3auth/modal-vue-composables";
import { computed, InputHTMLAttributes, ref } from "vue";
-import { chainConfigs, chainNamespaceOptions, languageOptions, loginProviderOptions, networkOptions, SmartAccountOptions } from "../config";
+import {
+ chainConfigs,
+ chainNamespaceOptions,
+ confirmationStrategyOptions,
+ languageOptions,
+ loginProviderOptions,
+ networkOptions,
+ SmartAccountOptions,
+} from "../config";
import { formDataStore } from "../store/form";
const formData = formDataStore;
@@ -356,6 +364,15 @@ const onChainNamespaceChange = (value: string) => {
:placeholder="$t('app.walletPlugin.logoDark')"
class="sm:col-span-2"
/>
+
;
};
nftCheckoutPlugin: {
enable: boolean;
@@ -244,6 +246,12 @@ export const getV4TypedData = (chainId: string): SignTypedDataMessageV4 => ({
},
});
+export const confirmationStrategyOptions: { name: string; value: string }[] = [
+ { name: "Modal", value: CONFIRMATION_STRATEGY.MODAL },
+ { name: "Auto Approve", value: CONFIRMATION_STRATEGY.AUTO_APPROVE },
+ { name: "Default", value: CONFIRMATION_STRATEGY.DEFAULT },
+];
+
export const NFT_CHECKOUT_CONTRACT_ID = {
FREE_MINT: "b5b4de3f-0212-11ef-a08f-0242ac190003",
PAID_MINT: "d1145a8b-98ae-44e0-ab63-2c9c8371caff",
diff --git a/demo/vue-app-new/src/services/walletServiceHandlers.ts b/demo/vue-app-new/src/services/walletServiceHandlers.ts
new file mode 100644
index 000000000..06af1219a
--- /dev/null
+++ b/demo/vue-app-new/src/services/walletServiceHandlers.ts
@@ -0,0 +1,96 @@
+/* eslint-disable @typescript-eslint/no-explicit-any */
+import { log } from "@web3auth/base";
+import { verifyMessage as eipVerifyMessage } from "@web3auth/sign-in-with-ethereum";
+import { WalletServicesPlugin } from "@web3auth/wallet-services-plugin";
+import { BrowserProvider, parseEther } from "ethers";
+
+import { getV4TypedData } from "../config";
+
+export const walletSignPersonalMessage = async (provider: WalletServicesPlugin["provider"], uiConsole: any) => {
+ try {
+ const ethProvider = new BrowserProvider(provider);
+ const signer = await ethProvider.getSigner();
+ const account = await signer.getAddress();
+ const from = account;
+
+ const originalMessage = "Example `personal_sign` messages";
+
+ // Sign the message
+ const signedMessage = await signer.signMessage(originalMessage);
+
+ const valid = await eipVerifyMessage({
+ provider: ethProvider,
+ message: originalMessage,
+ signature: signedMessage,
+ signer: from,
+ });
+
+ uiConsole(`Success`, { signedMessage, verify: valid });
+ } catch (error) {
+ log.error("Error", error);
+ uiConsole("Error", error instanceof Error ? error.message : error);
+ }
+};
+
+export const walletSignTypedMessage = async (provider: WalletServicesPlugin["provider"], uiConsole: any) => {
+ try {
+ const ethProvider = new BrowserProvider(provider);
+ const signer = await ethProvider.getSigner();
+ const account = await signer.getAddress();
+ const from = account;
+ const typedData = getV4TypedData(provider.chainId);
+
+ const signedMessage = await signer.signTypedData(typedData.domain, typedData.types, typedData.message);
+
+ const valid = await eipVerifyMessage({
+ provider: ethProvider,
+ typedData,
+ signature: signedMessage,
+ signer: from,
+ });
+
+ uiConsole(`Success`, { signedMessage, verify: valid });
+ } catch (error) {
+ log.error("Error", error);
+ uiConsole("Error", error instanceof Error ? error.message : error);
+ }
+};
+
+export const walletSendEth = async (provider: WalletServicesPlugin["provider"], uiConsole: any) => {
+ try {
+ const ethProvider = new BrowserProvider(provider);
+ const signer = await ethProvider.getSigner();
+ const account = await signer.getAddress();
+ const txRes = await signer.sendTransaction({
+ from: account,
+ to: account,
+ value: parseEther("0.01"),
+ });
+ // check for big int before logging to not break the stringify
+ uiConsole("txRes", txRes.toJSON());
+ } catch (error) {
+ log.info("error", error);
+ uiConsole("error", error instanceof Error ? error.message : error);
+ }
+};
+
+export const walletSignTransaction = async (provider: WalletServicesPlugin["provider"], uiConsole: any) => {
+ try {
+ const ethProvider = new BrowserProvider(provider);
+ const accounts = await provider.request({ method: "eth_accounts" });
+ const smartAccountAddress = accounts[0];
+ const signer = await ethProvider.getSigner(smartAccountAddress);
+ const account = await signer.getAddress();
+ // only supported with social logins (openlogin adapter)
+ const serializedTx = await signer.signTransaction({
+ from: account,
+ to: account,
+ value: parseEther("0.01"),
+ });
+
+ uiConsole("serialized user operation", serializedTx);
+ } catch (error) {
+ log.info("error", error);
+ uiConsole("error", error instanceof Error ? error.message : error);
+ }
+};
diff --git a/demo/vue-app-new/src/store/form.ts b/demo/vue-app-new/src/store/form.ts
index dce67e9d6..977b15a5d 100644
--- a/demo/vue-app-new/src/store/form.ts
+++ b/demo/vue-app-new/src/store/form.ts
@@ -21,6 +21,7 @@ export const formDataStore = reactive({
enable: false,
logoLight: "",
logoDark: "",
+ confirmationStrategy: "default",
},
nftCheckoutPlugin: {
enable: false,
diff --git a/demo/vue-app-new/src/translations/en.json b/demo/vue-app-new/src/translations/en.json
index 5b0550fed..efe2e2089 100644
--- a/demo/vue-app-new/src/translations/en.json
+++ b/demo/vue-app-new/src/translations/en.json
@@ -14,7 +14,8 @@
"walletPlugin": {
"title": "Wallet Service Plugin",
"logoLight": "Logo Light",
- "logoDark": "Logo Dark"
+ "logoDark": "Logo Dark",
+ "confirmationStrategy": "Confirmation Strategy"
},
"nftCheckoutPlugin": {
"title": "NFT Checkout Plugin"
@@ -52,7 +53,6 @@
"sessionTime": "Session Time"
},
"chainNamespace": "Chain namespace",
-
"w3aStatus": "Web3Auth status ::::: {status}",
"isConnected": "Is connected ::::: {isConnected}",
"isInitialized": "Is initialized ::::: {isInitialized}",
diff --git a/lerna.json b/lerna.json
index a9ba7fb6a..f2eb14b3a 100644
--- a/lerna.json
+++ b/lerna.json
@@ -1,4 +1,4 @@
{
- "version": "9.4.1",
+ "version": "9.5.0-alpha.0",
"npmClient": "npm"
}
diff --git a/package-lock.json b/package-lock.json
index 4cb7e1348..b75a48fde 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -23,32 +23,32 @@
"@toruslabs/config": "^2.2.0",
"@toruslabs/eslint-config-typescript": "^3.3.4",
"@toruslabs/torus-scripts": "^6.1.6",
- "@types/chai": "^4.3.19",
- "@types/mocha": "^10.0.9",
+ "@types/chai": "^5.0.1",
+ "@types/mocha": "^10.0.10",
"@types/node": "^22",
- "chai": "^5.1.1",
+ "chai": "^5.1.2",
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
- "husky": "^9.1.6",
+ "husky": "^9.1.7",
"lerna": "^8.1.9",
"lint-staged": "^15.2.10",
"mocha": "^10.8.2",
- "prettier": "^3.3.3",
+ "prettier": "^3.4.1",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
- "tsconfig-paths-webpack-plugin": "^4.1.0",
+ "tsconfig-paths-webpack-plugin": "^4.2.0",
"tslib": "^2.8.1",
- "typescript": "^5.6.3"
+ "typescript": "~5.6.3"
},
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
},
"optionalDependencies": {
- "@nx/nx-linux-x64-gnu": "^20.0.11",
- "@rollup/rollup-linux-x64-gnu": "^4.24.4"
+ "@nx/nx-linux-x64-gnu": "^20.1.4",
+ "@rollup/rollup-linux-x64-gnu": "^4.27.4"
}
},
"node_modules/@adraffy/ens-normalize": {
@@ -3574,9 +3574,9 @@
}
},
"node_modules/@nx/nx-linux-x64-gnu": {
- "version": "20.1.2",
- "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-20.1.2.tgz",
- "integrity": "sha512-yqEW/iglKT4d9lgfnwSNhmDzPxCkRhtdmZqOYpGDM0eZFwYwJF+WRGjW8xIqMj8PA1yrGItzXZOmyFjJqHAF2w==",
+ "version": "20.1.4",
+ "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-20.1.4.tgz",
+ "integrity": "sha512-vaWV37ZayfyckVI/faWdQWIV9XQb06ZT8jHQnwgSd9tKbGz37vN30eYtgZlFL0P4bHfhjtmMXnLvADmfyO/KOw==",
"cpu": [
"x64"
],
@@ -4502,9 +4502,9 @@
]
},
"node_modules/@rollup/rollup-linux-x64-gnu": {
- "version": "4.27.3",
- "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.27.3.tgz",
- "integrity": "sha512-/6bn6pp1fsCGEY5n3yajmzZQAh+mW4QPItbiWxs69zskBzJuheb3tNynEjL+mKOsUSFK11X4LYF2BwwXnzWleA==",
+ "version": "4.28.0",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.28.0.tgz",
+ "integrity": "sha512-Nl4KIzteVEKE9BdAvYoTkW19pa7LR/RBrT6F1dJCV/3pbjwDcaOq+edkP0LXuJ9kflW/xOK414X78r+K84+msw==",
"cpu": [
"x64"
],
@@ -4753,10 +4753,9 @@
}
},
"node_modules/@solana/web3.js": {
- "version": "1.95.4",
- "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.95.4.tgz",
- "integrity": "sha512-sdewnNEA42ZSMxqkzdwEWi6fDgzwtJHaQa5ndUGEJYtoOnM6X5cvPmjoTUp7/k7bRrVAxfBgDnvQQHD6yhlLYw==",
- "license": "MIT",
+ "version": "1.95.5",
+ "resolved": "https://registry.npmjs.org/@solana/web3.js/-/web3.js-1.95.5.tgz",
+ "integrity": "sha512-hU9cBrbg1z6gEjLH9vwIckGBVB78Ijm0iZFNk4ocm5OD82piPwuk3MeQ1rfiKD9YQtr95krrcaopb49EmQJlRg==",
"dependencies": {
"@babel/runtime": "^7.25.0",
"@noble/curves": "^1.4.2",
@@ -5246,14 +5245,14 @@
"license": "MIT"
},
"node_modules/@toruslabs/base-controllers": {
- "version": "6.2.4",
- "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-6.2.4.tgz",
- "integrity": "sha512-VRki0iYnSL3Chy2W/mwk2dc3tiLuSR5a/dwaapCNn3SgMGIEgnJMwq1wNQO1l5eaHgl3eN7b/IL8Y2DfqHnW4g==",
+ "version": "6.3.2",
+ "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-6.3.2.tgz",
+ "integrity": "sha512-YnRAtEM9jVR71ZDPSJtb1P1biAz322hv9R3jKh7SttfI//JPvtw8UdSCCQjSF5cAWLqgOupqq15p+p9Ka0bSPA==",
"dependencies": {
"@ethereumjs/util": "^9.1.0",
"@toruslabs/broadcast-channel": "^11.0.0",
"@toruslabs/http-helpers": "^7.0.0",
- "@web3auth/auth": "^9.3.3",
+ "@web3auth/auth": "^9.5.2",
"async-mutex": "^0.5.0",
"bignumber.js": "^9.1.2",
"bowser": "^2.11.0",
@@ -5298,9 +5297,9 @@
}
},
"node_modules/@toruslabs/constants": {
- "version": "14.1.1",
- "resolved": "https://registry.npmjs.org/@toruslabs/constants/-/constants-14.1.1.tgz",
- "integrity": "sha512-+/ur6lXjMto4FdJR5Y6HqFiEX/8hea9usgwt99neV3IT46auC5NyVdiG6qmohuy67ThLt7IMCIyuJY78eC875g==",
+ "version": "14.2.0",
+ "resolved": "https://registry.npmjs.org/@toruslabs/constants/-/constants-14.2.0.tgz",
+ "integrity": "sha512-Mb5EfYNSPyvvw5s1JXnpZwritCgp4NmLni1imTqrSKGV3yikYhUn1ufyLMAHGnBBgv4AuMIXBIe3EpJJ+SpA0g==",
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
@@ -5388,19 +5387,20 @@
}
},
"node_modules/@toruslabs/ethereum-controllers": {
- "version": "6.2.4",
- "resolved": "https://registry.npmjs.org/@toruslabs/ethereum-controllers/-/ethereum-controllers-6.2.4.tgz",
- "integrity": "sha512-8ckrRp5lb/2RRoUWWMtsDLRfarqAFa7sfMeieFjKGSToe78KmV0MnoorglQPqqh9jtwz607K2nilEQtcFJRLwg==",
+ "version": "6.3.2",
+ "resolved": "https://registry.npmjs.org/@toruslabs/ethereum-controllers/-/ethereum-controllers-6.3.2.tgz",
+ "integrity": "sha512-USh6xeFjz5US11sBj+yspRow3Y5KOTu9mzuouIs/Tuh8lFZTgD04sm5Hsx26jgz6ASl0jTSCZD1fLTQOQoEApA==",
+ "dev": true,
"dependencies": {
"@ethereumjs/util": "^9.1.0",
- "@toruslabs/base-controllers": "^6.2.4",
+ "@toruslabs/base-controllers": "^6.3.2",
"@toruslabs/http-helpers": "^7.0.0",
- "@web3auth/auth": "^9.3.3",
+ "@web3auth/auth": "^9.5.2",
"async-mutex": "^0.5.0",
"bignumber.js": "^9.1.2",
"bn.js": "^5.2.1",
"deepmerge": "^4.3.1",
- "ethers": "^6.13.2",
+ "ethers": "^6.13.4",
"fast-json-patch": "^3.1.1",
"fast-safe-stringify": "^2.1.1",
"jsonschema": "^1.4.1",
@@ -5693,15 +5693,16 @@
}
},
"node_modules/@toruslabs/starkware-crypto": {
- "version": "4.0.0",
- "license": "MIT",
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/@toruslabs/starkware-crypto/-/starkware-crypto-4.0.1.tgz",
+ "integrity": "sha512-AhnXUscFN2+oLeQuOEbi8vvrQnxUKnE0USWpg7eFHmqUBV8kg6+PAFiWsvJ01+GMQPTMKhKZHyMysxW5AFHc6Q==",
"dependencies": {
"assert": "^2.1.0",
"bip39": "^3.1.0",
"bn.js": "^5.2.1",
- "elliptic": "~6.5.5",
+ "elliptic": "^6.6.1",
"enc-utils": "^3.0.0",
- "ethereum-cryptography": "^2.2.0",
+ "ethereum-cryptography": "^2.2.1",
"hash.js": "^1.1.7"
},
"engines": {
@@ -5971,9 +5972,13 @@
}
},
"node_modules/@types/chai": {
- "version": "4.3.19",
+ "version": "5.0.1",
+ "resolved": "https://registry.npmjs.org/@types/chai/-/chai-5.0.1.tgz",
+ "integrity": "sha512-5T8ajsg3M/FOncpLYW7sdOcD6yf4+722sze/tc4KQV0P8Z2rAr3SAuHCIkYmYpt8VbcQlnz8SxlOlPQYefe4cA==",
"dev": true,
- "license": "MIT"
+ "dependencies": {
+ "@types/deep-eql": "*"
+ }
},
"node_modules/@types/connect": {
"version": "3.4.38",
@@ -5989,6 +5994,12 @@
"@types/ms": "*"
}
},
+ "node_modules/@types/deep-eql": {
+ "version": "4.0.2",
+ "resolved": "https://registry.npmjs.org/@types/deep-eql/-/deep-eql-4.0.2.tgz",
+ "integrity": "sha512-c9h9dVVMigMPc4bwTvC5dxqtqJZwQPePsWjPlpSOnojbor6pGqdk541lfA7AqFQr5pB1BRdq0juY9db81BwyFw==",
+ "dev": true
+ },
"node_modules/@types/elliptic": {
"version": "6.4.18",
"dev": true,
@@ -6071,11 +6082,10 @@
"dev": true
},
"node_modules/@types/mocha": {
- "version": "10.0.9",
- "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.9.tgz",
- "integrity": "sha512-sicdRoWtYevwxjOHNMPTl3vSfJM6oyW8o1wXeI7uww6b6xHg8eBznQDNSGBCDJmsE8UMxP05JgZRtsKbTqt//Q==",
- "dev": true,
- "license": "MIT"
+ "version": "10.0.10",
+ "resolved": "https://registry.npmjs.org/@types/mocha/-/mocha-10.0.10.tgz",
+ "integrity": "sha512-xPyYSz1cMPnJQhl0CLMH68j3gprKZaTjG3s5Vi+fDgx+uhG9NOXwbVt52eFS8ECyXhyKcjDLCBEqBExKuiZb7Q==",
+ "dev": true
},
"node_modules/@types/ms": {
"version": "0.7.34",
@@ -6804,9 +6814,9 @@
"link": true
},
"node_modules/@web3auth/auth": {
- "version": "9.5.1",
- "resolved": "https://registry.npmjs.org/@web3auth/auth/-/auth-9.5.1.tgz",
- "integrity": "sha512-+4VQg0JxD4B1iX8TXOqX6GeC4JfQdjmyux6nEHKF9TtxIJvuAdVTXEx48q/CeOSHBAfwjyGrj0Xiik1ZDBIzlg==",
+ "version": "9.5.3",
+ "resolved": "https://registry.npmjs.org/@web3auth/auth/-/auth-9.5.3.tgz",
+ "integrity": "sha512-774DFBzuq/mO9y5Zf0ICdK9pZ/YgYgnRVo3CYiayuknA4/wTxosK+xvhlcP6fGRKVgoaYa6bP+gBGmqoFCGUzQ==",
"dependencies": {
"@ethereumjs/util": "^9.1.0",
"@toruslabs/constants": "^14.1.1",
@@ -6814,7 +6824,7 @@
"@toruslabs/metadata-helpers": "^6.0.0",
"@toruslabs/secure-pub-sub": "^1.1.0",
"@toruslabs/session-manager": "^3.2.0",
- "@toruslabs/starkware-crypto": "^4.0.0",
+ "@toruslabs/starkware-crypto": "^4.0.1",
"@toruslabs/tweetnacl-js": "^1.0.4",
"base64url": "^3.0.1",
"bip39": "^3.1.0",
@@ -6838,8 +6848,8 @@
"npm": ">=9.x"
},
"optionalDependencies": {
- "@nx/nx-linux-x64-gnu": "^19.6.3",
- "@rollup/rollup-linux-x64-gnu": "^4.24.4"
+ "@nx/nx-linux-x64-gnu": "^20.1.2",
+ "@rollup/rollup-linux-x64-gnu": "^4.27.3"
},
"peerDependencies": {
"@babel/runtime": "7.x"
@@ -6849,22 +6859,6 @@
"resolved": "packages/adapters/auth-adapter",
"link": true
},
- "node_modules/@web3auth/auth/node_modules/@nx/nx-linux-x64-gnu": {
- "version": "19.8.4",
- "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-19.8.4.tgz",
- "integrity": "sha512-XcRBNe0ws7KB0PMcUlpQqzzjjxMP8VdqirBz7CfB2XQ8xKmP3370p0cDvqs/4oKDHK4PCkmvVFX60tzakutylA==",
- "cpu": [
- "x64"
- ],
- "license": "MIT",
- "optional": true,
- "os": [
- "linux"
- ],
- "engines": {
- "node": ">= 10"
- }
- },
"node_modules/@web3auth/auth/node_modules/readable-stream": {
"version": "4.5.2",
"license": "MIT",
@@ -6987,14 +6981,13 @@
"link": true
},
"node_modules/@web3auth/ws-embed": {
- "version": "3.1.0",
- "resolved": "https://registry.npmjs.org/@web3auth/ws-embed/-/ws-embed-3.1.0.tgz",
- "integrity": "sha512-IrMzQOcuTEIzrov7Sr54NWzVY6Z7ZNqb63jOzPW4IGouyNW2jIlaqHjQVpFAdvIJFsL4rNSYveRGecKJeeqJNg==",
- "license": "ISC",
+ "version": "3.2.1",
+ "resolved": "https://registry.npmjs.org/@web3auth/ws-embed/-/ws-embed-3.2.1.tgz",
+ "integrity": "sha512-se2wuHqKQDyYHYIY92lqjVISLYBZWVua2hgGsdos3xKdCjgyE1uZNr4hXE+uvTB14Ib+THYz4ECLq20lDI/wDA==",
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.2",
- "@toruslabs/ethereum-controllers": "^6.2.2",
- "@web3auth/auth": "^9.4.1",
+ "@toruslabs/base-controllers": "^7.0.0-alpha.1",
+ "@toruslabs/ethereum-controllers": "^7.0.0-alpha.3",
+ "@web3auth/auth": "^9.5.3",
"fast-deep-equal": "^3.1.3",
"loglevel": "^1.9.2",
"pump": "^3.0.2",
@@ -7008,6 +7001,58 @@
"@babel/runtime": "7.x"
}
},
+ "node_modules/@web3auth/ws-embed/node_modules/@toruslabs/base-controllers": {
+ "version": "7.0.0-alpha.1",
+ "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-7.0.0-alpha.1.tgz",
+ "integrity": "sha512-n6WdDvAs9DujysZFnhdya8oRL0zTawrTT/Dg1hgrxtbM3YbZK0AhZxqvEX4SnfqGaIrSgC72jBrCUcxFHeCTVw==",
+ "dependencies": {
+ "@ethereumjs/util": "^9.1.0",
+ "@toruslabs/broadcast-channel": "^11.0.0",
+ "@toruslabs/http-helpers": "^7.0.0",
+ "@web3auth/auth": "^9.5.2",
+ "async-mutex": "^0.5.0",
+ "bignumber.js": "^9.1.2",
+ "bowser": "^2.11.0",
+ "jwt-decode": "^4.0.0",
+ "loglevel": "^1.9.2"
+ },
+ "engines": {
+ "node": ">=18.x",
+ "npm": ">=9.x"
+ },
+ "peerDependencies": {
+ "@babel/runtime": "7.x"
+ }
+ },
+ "node_modules/@web3auth/ws-embed/node_modules/@toruslabs/ethereum-controllers": {
+ "version": "7.0.0-alpha.3",
+ "resolved": "https://registry.npmjs.org/@toruslabs/ethereum-controllers/-/ethereum-controllers-7.0.0-alpha.3.tgz",
+ "integrity": "sha512-m5wrB0hs2FDuh6W2wJ3b93e+LTBU89lHHrIlrH3sbNuK0REi19FJkZn6q66bVPGa6Tj8NeF91FO6phOff5dPZw==",
+ "dependencies": {
+ "@ethereumjs/util": "^9.1.0",
+ "@toruslabs/base-controllers": "^7.0.0-alpha.1",
+ "@toruslabs/http-helpers": "^7.0.0",
+ "@web3auth/auth": "^9.5.2",
+ "async-mutex": "^0.5.0",
+ "bignumber.js": "^9.1.2",
+ "bn.js": "^5.2.1",
+ "deepmerge": "^4.3.1",
+ "ethers": "^6.13.4",
+ "fast-json-patch": "^3.1.1",
+ "fast-safe-stringify": "^2.1.1",
+ "jsonschema": "^1.4.1",
+ "loglevel": "^1.9.2",
+ "permissionless": "^0.2.14",
+ "viem": "^2.21.40"
+ },
+ "engines": {
+ "node": ">=16.18.1",
+ "npm": ">=8.x"
+ },
+ "peerDependencies": {
+ "@babel/runtime": "7.x"
+ }
+ },
"node_modules/@web3auth/ws-embed/node_modules/readable-stream": {
"version": "4.5.2",
"license": "MIT",
@@ -11060,8 +11105,9 @@
"license": "ISC"
},
"node_modules/elliptic": {
- "version": "6.5.7",
- "license": "MIT",
+ "version": "6.6.1",
+ "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.6.1.tgz",
+ "integrity": "sha512-RaddvvMatK2LJHqFJ+YA4WysVN5Ita9E35botqIYspQ4TkRAlCicdzKOjlyv/1Za5RyTNn7di//eEV0uTAfe3g==",
"dependencies": {
"bn.js": "^4.11.9",
"brorand": "^1.1.0",
@@ -11091,7 +11137,8 @@
},
"node_modules/enc-utils": {
"version": "3.0.0",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/enc-utils/-/enc-utils-3.0.0.tgz",
+ "integrity": "sha512-e57t/Z2HzWOLwOp7DZcV0VMEY8t7ptWwsxyp6kM2b2zrk6JqIpXxzkruHAMiBsy5wg9jp/183GdiRXCvBtzsYg==",
"dependencies": {
"is-typedarray": "1.0.0",
"typedarray-to-buffer": "3.1.5"
@@ -14111,9 +14158,10 @@
}
},
"node_modules/husky": {
- "version": "9.1.6",
+ "version": "9.1.7",
+ "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.7.tgz",
+ "integrity": "sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==",
"dev": true,
- "license": "MIT",
"bin": {
"husky": "bin.js"
},
@@ -15078,7 +15126,8 @@
},
"node_modules/is-typedarray": {
"version": "1.0.0",
- "license": "MIT"
+ "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
+ "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA=="
},
"node_modules/is-unicode-supported": {
"version": "0.1.0",
@@ -18500,6 +18549,22 @@
}
}
},
+ "node_modules/nx/node_modules/@nx/nx-linux-x64-gnu": {
+ "version": "20.1.2",
+ "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-20.1.2.tgz",
+ "integrity": "sha512-yqEW/iglKT4d9lgfnwSNhmDzPxCkRhtdmZqOYpGDM0eZFwYwJF+WRGjW8xIqMj8PA1yrGItzXZOmyFjJqHAF2w==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
"node_modules/nx/node_modules/minimatch": {
"version": "9.0.3",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz",
@@ -19403,16 +19468,17 @@
}
},
"node_modules/permissionless": {
- "version": "0.2.18",
- "resolved": "https://registry.npmjs.org/permissionless/-/permissionless-0.2.18.tgz",
- "integrity": "sha512-l8w4eisCExu2wgIkLUEwVab2+qIjmFl2QVy0MeVal5RxZZrxf+R2y1yJBnRwPnHjrB/aRRNQDN78qqtZ7G3joQ==",
+ "version": "0.2.21",
+ "resolved": "https://registry.npmjs.org/permissionless/-/permissionless-0.2.21.tgz",
+ "integrity": "sha512-hNrRR/I5InbqkKgRBLhXQY5R0j9biqp688ECBxsW5AO99jOv9HPjz82EdRT87OG4XkCjO4AY20hi4ZPoc+XjRg==",
"peerDependencies": {
"viem": "^2.21.22"
}
},
"node_modules/picocolors": {
- "version": "1.1.0",
- "license": "ISC"
+ "version": "1.1.1",
+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",
+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA=="
},
"node_modules/picomatch": {
"version": "2.3.1",
@@ -19597,9 +19663,9 @@
}
},
"node_modules/postcss": {
- "version": "8.4.47",
- "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.47.tgz",
- "integrity": "sha512-56rxCq7G/XfB4EkXq9Egn5GCqugWvDFjafDOThIdMBsI15iqPqR5r15TfSr1YPYeEI19YeaXMCbY6u88Y76GLQ==",
+ "version": "8.4.49",
+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz",
+ "integrity": "sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA==",
"funding": [
{
"type": "opencollective",
@@ -19614,10 +19680,9 @@
"url": "https://github.com/sponsors/ai"
}
],
- "license": "MIT",
"dependencies": {
"nanoid": "^3.3.7",
- "picocolors": "^1.1.0",
+ "picocolors": "^1.1.1",
"source-map-js": "^1.2.1"
},
"engines": {
@@ -20419,9 +20484,10 @@
}
},
"node_modules/prettier": {
- "version": "3.3.3",
+ "version": "3.4.1",
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.1.tgz",
+ "integrity": "sha512-G+YdqtITVZmOJje6QkXQWzl3fSfMxFwm1tjTyo9exhkmWSqC4Yhd1+lug++IlR2mvRVAxEDDWYkQdeSztajqgg==",
"dev": true,
- "license": "MIT",
"bin": {
"prettier": "bin/prettier.cjs"
},
@@ -20835,9 +20901,9 @@
}
},
"node_modules/react-i18next": {
- "version": "15.1.1",
- "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-15.1.1.tgz",
- "integrity": "sha512-R/Vg9wIli2P3FfeI8o1eNJUJue5LWpFsQePCHdQDmX0Co3zkr6kdT8gAseb/yGeWbNz1Txc4bKDQuZYsC0kQfw==",
+ "version": "15.1.3",
+ "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-15.1.3.tgz",
+ "integrity": "sha512-J11oA30FbM3NZegUZjn8ySK903z6PLBz/ZuBYyT1JMR0QPrW6PFXvl1WoUhortdGi9dM0m48/zJQlPskVZXgVw==",
"dependencies": {
"@babel/runtime": "^7.25.0",
"html-parse-stringify": "^3.0.1"
@@ -22533,6 +22599,19 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/rollup/node_modules/@rollup/rollup-linux-x64-gnu": {
+ "version": "4.27.3",
+ "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.27.3.tgz",
+ "integrity": "sha512-/6bn6pp1fsCGEY5n3yajmzZQAh+mW4QPItbiWxs69zskBzJuheb3tNynEjL+mKOsUSFK11X4LYF2BwwXnzWleA==",
+ "cpu": [
+ "x64"
+ ],
+ "dev": true,
+ "optional": true,
+ "os": [
+ "linux"
+ ]
+ },
"node_modules/rpc-websockets": {
"version": "9.0.2",
"license": "LGPL-3.0-only",
@@ -24049,34 +24128,33 @@
}
},
"node_modules/tailwindcss": {
- "version": "3.4.14",
- "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.14.tgz",
- "integrity": "sha512-IcSvOcTRcUtQQ7ILQL5quRDg7Xs93PdJEk1ZLbhhvJc7uj/OAhYOnruEiwnGgBvUtaUAJ8/mhSw1o8L2jCiENA==",
+ "version": "3.4.15",
+ "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.15.tgz",
+ "integrity": "sha512-r4MeXnfBmSOuKUWmXe6h2CcyfzJCEk4F0pptO5jlnYSIViUkVmsawj80N5h2lO3gwcmSb4n3PuN+e+GC1Guylw==",
"dev": true,
- "license": "MIT",
"dependencies": {
"@alloc/quick-lru": "^5.2.0",
"arg": "^5.0.2",
- "chokidar": "^3.5.3",
+ "chokidar": "^3.6.0",
"didyoumean": "^1.2.2",
"dlv": "^1.1.3",
- "fast-glob": "^3.3.0",
+ "fast-glob": "^3.3.2",
"glob-parent": "^6.0.2",
"is-glob": "^4.0.3",
- "jiti": "^1.21.0",
+ "jiti": "^1.21.6",
"lilconfig": "^2.1.0",
- "micromatch": "^4.0.5",
+ "micromatch": "^4.0.8",
"normalize-path": "^3.0.0",
"object-hash": "^3.0.0",
- "picocolors": "^1.0.0",
- "postcss": "^8.4.23",
+ "picocolors": "^1.1.1",
+ "postcss": "^8.4.47",
"postcss-import": "^15.1.0",
"postcss-js": "^4.0.1",
- "postcss-load-config": "^4.0.1",
- "postcss-nested": "^6.0.1",
- "postcss-selector-parser": "^6.0.11",
- "resolve": "^1.22.2",
- "sucrase": "^3.32.0"
+ "postcss-load-config": "^4.0.2",
+ "postcss-nested": "^6.2.0",
+ "postcss-selector-parser": "^6.1.2",
+ "resolve": "^1.22.8",
+ "sucrase": "^3.35.0"
},
"bin": {
"tailwind": "lib/cli.js",
@@ -24640,12 +24718,14 @@
}
},
"node_modules/tsconfig-paths-webpack-plugin": {
- "version": "4.1.0",
+ "version": "4.2.0",
+ "resolved": "https://registry.npmjs.org/tsconfig-paths-webpack-plugin/-/tsconfig-paths-webpack-plugin-4.2.0.tgz",
+ "integrity": "sha512-zbem3rfRS8BgeNK50Zz5SIQgXzLafiHjOwUAvk/38/o1jHn/V5QAgVUcz884or7WYcPaH3N2CIfUc2u0ul7UcA==",
"dev": true,
- "license": "MIT",
"dependencies": {
"chalk": "^4.1.0",
"enhanced-resolve": "^5.7.0",
+ "tapable": "^2.2.1",
"tsconfig-paths": "^4.1.2"
},
"engines": {
@@ -24800,7 +24880,8 @@
},
"node_modules/typedarray-to-buffer": {
"version": "3.1.5",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz",
+ "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==",
"dependencies": {
"is-typedarray": "^1.0.0"
}
@@ -25435,9 +25516,9 @@
}
},
"node_modules/viem": {
- "version": "2.21.48",
- "resolved": "https://registry.npmjs.org/viem/-/viem-2.21.48.tgz",
- "integrity": "sha512-/hBHyG1gdIIuiQv0z9YmzXl5eWJa0UCZGwkeuQzH2Bmg6FIEwZeEcxgiytXZydip+p2wMBFa1jdr7o5O1+mrIg==",
+ "version": "2.21.53",
+ "resolved": "https://registry.npmjs.org/viem/-/viem-2.21.53.tgz",
+ "integrity": "sha512-0pY8clBacAwzc59iV1vY4a6U4xvRlA5tAuhClJCKvqA6rXJzmNMMvxQ0EG79lkHr7WtBEruXz8nAmONXwnq4EQ==",
"funding": [
{
"type": "github",
@@ -26494,12 +26575,12 @@
},
"packages/adapters/auth-adapter": {
"name": "@web3auth/auth-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
"deepmerge": "^4.3.1"
},
"engines": {
@@ -26512,11 +26593,11 @@
},
"packages/adapters/base-evm-adapter": {
"name": "@web3auth/base-evm-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
- "@web3auth/base": "^9.4.0"
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@web3auth/base": "^9.4.5"
},
"engines": {
"node": ">=18.x",
@@ -26528,11 +26609,11 @@
},
"packages/adapters/base-solana-adapter": {
"name": "@web3auth/base-solana-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
- "@web3auth/base": "^9.4.0",
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@web3auth/base": "^9.4.5",
"bs58": "^5.0.0"
},
"devDependencies": {
@@ -26548,14 +26629,14 @@
},
"packages/adapters/coinbase-adapter": {
"name": "@web3auth/coinbase-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-evm-adapter": "^9.4.0"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-evm-adapter": "^9.4.5"
},
"devDependencies": {
- "@coinbase/wallet-sdk": "^4.2.2"
+ "@coinbase/wallet-sdk": "^4.2.3"
},
"engines": {
"node": ">=18.x",
@@ -26568,12 +26649,12 @@
},
"packages/adapters/default-evm-adapter": {
"name": "@web3auth/default-evm-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-evm-adapter": "^9.4.0",
- "@web3auth/wallet-connect-v2-adapter": "^9.4.0",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-evm-adapter": "^9.4.5",
+ "@web3auth/wallet-connect-v2-adapter": "^9.4.5",
"mipd": "^0.0.7"
},
"engines": {
@@ -26586,19 +26667,19 @@
},
"packages/adapters/default-solana-adapter": {
"name": "@web3auth/default-solana-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
"@solana/wallet-standard-features": "^1.2.0",
- "@solana/web3.js": "^1.95.4",
+ "@solana/web3.js": "^1.95.5",
"@wallet-standard/app": "^1.1.0",
"@wallet-standard/base": "^1.1.0",
"@wallet-standard/features": "^1.1.0",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-solana-adapter": "^9.4.0",
- "@web3auth/solana-provider": "^9.4.0",
- "@web3auth/wallet-connect-v2-adapter": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-solana-adapter": "^9.4.5",
+ "@web3auth/solana-provider": "^9.4.5",
+ "@web3auth/wallet-connect-v2-adapter": "^9.4.5",
"bn.js": "^5.2.1"
},
"engines": {
@@ -26611,12 +26692,12 @@
},
"packages/adapters/torus-evm-adapter": {
"name": "@web3auth/torus-evm-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
"@toruslabs/torus-embed": "^5.0.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-evm-adapter": "^9.4.0"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-evm-adapter": "^9.4.5"
},
"engines": {
"node": ">=18.x",
@@ -26628,14 +26709,14 @@
},
"packages/adapters/torus-solana-adapter": {
"name": "@web3auth/torus-solana-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
"@toruslabs/solana-embed": "^2.1.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
- "@web3auth/base-solana-adapter": "^9.4.0",
- "@web3auth/solana-provider": "^9.4.0"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
+ "@web3auth/base-solana-adapter": "^9.4.5",
+ "@web3auth/solana-provider": "^9.4.5"
},
"engines": {
"node": ">=18.x",
@@ -26648,19 +26729,19 @@
},
"packages/adapters/wallet-connect-v2-adapter": {
"name": "@web3auth/wallet-connect-v2-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@solana/web3.js": "^1.95.4",
- "@toruslabs/base-controllers": "^6.2.4",
+ "@solana/web3.js": "^1.95.5",
+ "@toruslabs/base-controllers": "^6.3.2",
"@walletconnect/sign-client": "^2.17.2",
"@walletconnect/types": "^2.17.2",
"@walletconnect/utils": "^2.17.2",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
- "@web3auth/ethereum-provider": "^9.4.0",
- "@web3auth/solana-provider": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
+ "@web3auth/ethereum-provider": "^9.4.5",
+ "@web3auth/solana-provider": "^9.4.5",
"bs58": "^5.0.0",
"deepmerge": "^4.3.1"
},
@@ -26677,13 +26758,13 @@
},
"packages/base": {
"name": "@web3auth/base",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
- "@toruslabs/constants": "^14.1.1",
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@toruslabs/constants": "^14.2.0",
"@toruslabs/http-helpers": "^7.0.0",
- "@web3auth/auth": "^9.5.0",
+ "@web3auth/auth": "^9.5.3",
"jwt-decode": "^4.0.0",
"loglevel": "^1.9.2",
"ts-custom-error": "^3.3.1"
@@ -26698,15 +26779,15 @@
},
"packages/composables/modal-vue-composables": {
"name": "@web3auth/modal-vue-composables",
- "version": "9.4.1",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@web3auth/base": "^9.4.0",
- "@web3auth/modal": "^9.4.1"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/modal": "^9.4.5"
},
"devDependencies": {
- "@web3auth/auth": "^9.5.0",
- "@web3auth/auth-adapter": "^9.4.0"
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/auth-adapter": "^9.4.5"
},
"engines": {
"node": ">=18.x",
@@ -26719,15 +26800,15 @@
},
"packages/composables/no-modal-vue-composables": {
"name": "@web3auth/no-modal-vue-composables",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@web3auth/base": "^9.4.0",
- "@web3auth/no-modal": "^9.4.0"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/no-modal": "^9.4.5"
},
"devDependencies": {
- "@web3auth/auth": "^9.5.0",
- "@web3auth/auth-adapter": "^9.4.0"
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/auth-adapter": "^9.4.5"
},
"engines": {
"node": ">=18.x",
@@ -26740,12 +26821,12 @@
},
"packages/composables/wallet-services-plugin-vue-composables": {
"name": "@web3auth/wallet-services-plugin-vue-composables",
- "version": "9.4.0",
+ "version": "9.5.0-alpha.0",
"license": "ISC",
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
- "@web3auth/base": "^9.4.0",
- "@web3auth/wallet-services-plugin": "^9.4.0"
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/wallet-services-plugin": "^9.5.0-alpha.0"
},
"engines": {
"node": ">=18.x",
@@ -26758,14 +26839,14 @@
},
"packages/hooks/modal-react-hooks": {
"name": "@web3auth/modal-react-hooks",
- "version": "9.4.1",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@web3auth/base": "^9.4.0",
- "@web3auth/modal": "^9.4.1"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/modal": "^9.4.5"
},
"devDependencies": {
- "@web3auth/auth-adapter": "^9.4.0"
+ "@web3auth/auth-adapter": "^9.4.5"
},
"engines": {
"node": ">=18.x",
@@ -26778,14 +26859,14 @@
},
"packages/hooks/no-modal-react-hooks": {
"name": "@web3auth/no-modal-react-hooks",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@web3auth/base": "^9.4.0",
- "@web3auth/no-modal": "^9.4.0"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/no-modal": "^9.4.5"
},
"devDependencies": {
- "@web3auth/auth-adapter": "^9.4.0"
+ "@web3auth/auth-adapter": "^9.4.5"
},
"engines": {
"node": ">=18.x",
@@ -26798,11 +26879,11 @@
},
"packages/hooks/wallet-services-plugin-react-hooks": {
"name": "@web3auth/wallet-services-plugin-react-hooks",
- "version": "9.4.0",
+ "version": "9.5.0-alpha.0",
"license": "ISC",
"dependencies": {
- "@web3auth/base": "^9.4.0",
- "@web3auth/wallet-services-plugin": "^9.4.0"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/wallet-services-plugin": "^9.5.0-alpha.0"
},
"engines": {
"node": ">=18.x",
@@ -26815,22 +26896,22 @@
},
"packages/modal": {
"name": "@web3auth/modal",
- "version": "9.4.1",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@web3auth/auth-adapter": "^9.4.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
- "@web3auth/no-modal": "^9.4.0",
- "@web3auth/ui": "^9.4.1",
+ "@web3auth/auth-adapter": "^9.4.5",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
+ "@web3auth/no-modal": "^9.4.5",
+ "@web3auth/ui": "^9.4.5",
"deepmerge": "^4.3.1"
},
"devDependencies": {
"@svgr/webpack": "^8.1.0",
"@toruslabs/isomorphic-style-loader": "^5.3.3",
- "@web3auth/account-abstraction-provider": "^9.4.0",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/wallet-connect-v2-adapter": "^9.4.0",
+ "@web3auth/account-abstraction-provider": "^9.4.5",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/wallet-connect-v2-adapter": "^9.4.5",
"css-loader": "^7.1.2",
"postcss-prefix-selector": "^2.1.0",
"style-loader": "^4.0.0",
@@ -26852,18 +26933,18 @@
},
"packages/no-modal": {
"name": "@web3auth/no-modal",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
"deepmerge": "^4.3.1"
},
"devDependencies": {
- "@web3auth/account-abstraction-provider": "^9.4.0",
- "@web3auth/auth-adapter": "^9.4.0",
- "@web3auth/wallet-connect-v2-adapter": "^9.4.0"
+ "@web3auth/account-abstraction-provider": "^9.4.5",
+ "@web3auth/auth-adapter": "^9.4.5",
+ "@web3auth/wallet-connect-v2-adapter": "^9.4.5"
},
"engines": {
"node": ">=18.x",
@@ -26903,13 +26984,13 @@
},
"packages/plugins/solana-wallet-connector-plugin": {
"name": "@web3auth/solana-wallet-connector-plugin",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
"@toruslabs/solana-embed": "^2.1.0",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/no-modal": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/no-modal": "^9.4.5",
"loglevel": "^1.9.2"
},
"engines": {
@@ -26922,17 +27003,18 @@
},
"packages/plugins/wallet-services-plugin": {
"name": "@web3auth/wallet-services-plugin",
- "version": "9.4.0",
+ "version": "9.5.0-alpha.0",
"license": "ISC",
"dependencies": {
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/no-modal": "^9.4.0",
- "@web3auth/ws-embed": "^3.1.0",
+ "@web3auth/account-abstraction-provider": "^9.3.1",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/no-modal": "^9.4.5",
+ "@web3auth/ws-embed": "^3.2.1",
"loglevel": "^1.9.2"
},
"devDependencies": {
- "@toruslabs/ethereum-controllers": "^6.2.4"
+ "@toruslabs/ethereum-controllers": "^6.3.2"
},
"engines": {
"node": ">=18.x",
@@ -26944,18 +27026,18 @@
},
"packages/providers/account-abstraction-provider": {
"name": "@web3auth/account-abstraction-provider",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
"@ethereumjs/util": "^9.1.0",
- "@toruslabs/base-controllers": "^6.2.4",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
- "@web3auth/ethereum-provider": "^9.4.0",
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
+ "@web3auth/ethereum-provider": "^9.4.5",
"ethers": "^6.13.4",
- "permissionless": "^0.2.15",
- "viem": "^2.21.43"
+ "permissionless": "^0.2.20",
+ "viem": "^2.21.52"
},
"engines": {
"node": ">=18.x",
@@ -26967,12 +27049,12 @@
},
"packages/providers/base-provider": {
"name": "@web3auth/base-provider",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
"json-rpc-random-id": "^1.0.1"
},
"devDependencies": {
@@ -26988,15 +27070,15 @@
},
"packages/providers/ethereum-mpc-provider": {
"name": "@web3auth/ethereum-mpc-provider",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
"@ethereumjs/util": "^9.1.0",
- "@toruslabs/base-controllers": "^6.2.4",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
- "@web3auth/ethereum-provider": "^9.4.0",
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
+ "@web3auth/ethereum-provider": "^9.4.5",
"ethers": "^6.13.4"
},
"engines": {
@@ -27009,16 +27091,16 @@
},
"packages/providers/ethereum-provider": {
"name": "@web3auth/ethereum-provider",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
"@ethereumjs/util": "^9.1.0",
- "@toruslabs/base-controllers": "^6.2.4",
+ "@toruslabs/base-controllers": "^6.3.2",
"@toruslabs/eccrypto": "^5.0.4",
"@toruslabs/http-helpers": "^7.0.0",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
"assert": "^2.1.0",
"bignumber.js": "^9.1.2",
"bn.js": "^5.2.1",
@@ -27040,20 +27122,20 @@
},
"packages/providers/solana-provider": {
"name": "@web3auth/solana-provider",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
+ "@toruslabs/base-controllers": "^6.3.2",
"@toruslabs/tweetnacl-js": "^1.0.4",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
"bn.js": "^5.2.1",
"bs58": "^5.0.0",
"json-rpc-random-id": "^1.0.1"
},
"devDependencies": {
- "@solana/web3.js": "^1.95.4",
+ "@solana/web3.js": "^1.95.5",
"@types/bn.js": "^5.1.6",
"@types/bs58": "^4.0.4",
"@types/json-rpc-random-id": "^1.0.3"
@@ -27069,13 +27151,13 @@
},
"packages/providers/xrpl-provider": {
"name": "@web3auth/xrpl-provider",
- "version": "9.4.0",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
"ripple-keypairs": "^1.3.1"
},
"devDependencies": {
@@ -27089,18 +27171,18 @@
},
"packages/ui": {
"name": "@web3auth/ui",
- "version": "9.4.1",
+ "version": "9.4.5",
"license": "ISC",
"dependencies": {
"@toruslabs/http-helpers": "^7.0.0",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
"bowser": "^2.11.0",
"classnames": "^2.5.1",
"copy-to-clipboard": "^3.3.3",
"deepmerge": "^4.3.1",
- "i18next": "^23.16.5",
- "react-i18next": "^15.1.1",
+ "i18next": "^23.16.8",
+ "react-i18next": "^15.1.2",
"react-qrcode-logo": "^3.0.0"
},
"devDependencies": {
@@ -27118,14 +27200,14 @@
"autoprefixer": "^10.4.20",
"css-loader": "^7.1.2",
"live-server": "^1.2.2",
- "postcss": "^8.4.47",
+ "postcss": "^8.4.49",
"postcss-loader": "^8.1.1",
"postcss-prefix-selector": "^2.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rollup-plugin-postcss": "^4.0.2",
"style-loader": "^4.0.0",
- "tailwindcss": "^3.4.14",
+ "tailwindcss": "^3.4.15",
"url-loader": "^4.1.1"
},
"engines": {
diff --git a/package.json b/package.json
index c936703e7..5192c849a 100644
--- a/package.json
+++ b/package.json
@@ -9,24 +9,24 @@
"@toruslabs/config": "^2.2.0",
"@toruslabs/eslint-config-typescript": "^3.3.4",
"@toruslabs/torus-scripts": "^6.1.6",
- "@types/chai": "^4.3.19",
- "@types/mocha": "^10.0.9",
+ "@types/chai": "^5.0.1",
+ "@types/mocha": "^10.0.10",
"@types/node": "^22",
- "chai": "^5.1.1",
+ "chai": "^5.1.2",
"cross-env": "^7.0.3",
"dotenv": "^16.4.5",
"eslint": "^8.57.0",
- "husky": "^9.1.6",
+ "husky": "^9.1.7",
"lerna": "^8.1.9",
"lint-staged": "^15.2.10",
"mocha": "^10.8.2",
- "prettier": "^3.3.3",
+ "prettier": "^3.4.1",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
- "tsconfig-paths-webpack-plugin": "^4.1.0",
+ "tsconfig-paths-webpack-plugin": "^4.2.0",
"tslib": "^2.8.1",
- "typescript": "^5.6.3"
+ "typescript": "~5.6.3"
},
"engines": {
"node": ">=18.x",
@@ -50,8 +50,8 @@
},
"name": "web3auth",
"optionalDependencies": {
- "@nx/nx-linux-x64-gnu": "^20.0.11",
- "@rollup/rollup-linux-x64-gnu": "^4.24.4"
+ "@nx/nx-linux-x64-gnu": "^20.1.4",
+ "@rollup/rollup-linux-x64-gnu": "^4.27.4"
},
"private": true,
"repository": {
diff --git a/packages/adapters/auth-adapter/package.json b/packages/adapters/auth-adapter/package.json
index 5ce80ad8a..9d159ba26 100644
--- a/packages/adapters/auth-adapter/package.json
+++ b/packages/adapters/auth-adapter/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/auth-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"description": "Auth adapter for Web3auth",
"keywords": [
"web3Auth/auth-adapter",
@@ -35,9 +35,9 @@
"@babel/runtime": "^7.x"
},
"dependencies": {
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
"deepmerge": "^4.3.1"
},
"lint-staged": {
@@ -59,5 +59,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/adapters/base-evm-adapter/package.json b/packages/adapters/base-evm-adapter/package.json
index 9968ddc4d..b77708c8e 100644
--- a/packages/adapters/base-evm-adapter/package.json
+++ b/packages/adapters/base-evm-adapter/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/base-evm-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"homepage": "https://github.com/Web3Auth/Web3Auth#readme",
"license": "ISC",
"sideEffects": false,
@@ -20,8 +20,8 @@
"pre-commit": "lint-staged --cwd ."
},
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
- "@web3auth/base": "^9.4.0"
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@web3auth/base": "^9.4.5"
},
"files": [
"dist"
@@ -49,5 +49,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/adapters/base-solana-adapter/package.json b/packages/adapters/base-solana-adapter/package.json
index 141ea031a..2ceab785f 100644
--- a/packages/adapters/base-solana-adapter/package.json
+++ b/packages/adapters/base-solana-adapter/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/base-solana-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"homepage": "https://github.com/Web3Auth/Web3Auth#readme",
"license": "ISC",
"sideEffects": false,
@@ -20,8 +20,8 @@
"pre-commit": "lint-staged --cwd ."
},
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
- "@web3auth/base": "^9.4.0",
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@web3auth/base": "^9.4.5",
"bs58": "^5.0.0"
},
"files": [
@@ -53,5 +53,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/adapters/coinbase-adapter/package.json b/packages/adapters/coinbase-adapter/package.json
index 0736641e8..b9264e71f 100644
--- a/packages/adapters/coinbase-adapter/package.json
+++ b/packages/adapters/coinbase-adapter/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/coinbase-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"description": "coinbase adapter for web3auth",
"keywords": [
"web3Auth/coinbase-adapter",
@@ -36,11 +36,11 @@
"@coinbase/wallet-sdk": "^4.x"
},
"dependencies": {
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-evm-adapter": "^9.4.0"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-evm-adapter": "^9.4.5"
},
"devDependencies": {
- "@coinbase/wallet-sdk": "^4.2.2"
+ "@coinbase/wallet-sdk": "^4.2.3"
},
"lint-staged": {
"!(*d).ts": [
@@ -61,5 +61,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/adapters/default-evm-adapter/package.json b/packages/adapters/default-evm-adapter/package.json
index 9998d0e0a..c0e958c10 100644
--- a/packages/adapters/default-evm-adapter/package.json
+++ b/packages/adapters/default-evm-adapter/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/default-evm-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"homepage": "https://github.com/Web3Auth/Web3Auth#readme",
"license": "ISC",
"sideEffects": false,
@@ -20,9 +20,9 @@
"pre-commit": "lint-staged --cwd ."
},
"dependencies": {
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-evm-adapter": "^9.4.0",
- "@web3auth/wallet-connect-v2-adapter": "^9.4.0",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-evm-adapter": "^9.4.5",
+ "@web3auth/wallet-connect-v2-adapter": "^9.4.5",
"mipd": "^0.0.7"
},
"files": [
@@ -51,5 +51,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/adapters/default-solana-adapter/package.json b/packages/adapters/default-solana-adapter/package.json
index d1d8ce3c1..7c2cfe85f 100644
--- a/packages/adapters/default-solana-adapter/package.json
+++ b/packages/adapters/default-solana-adapter/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/default-solana-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"homepage": "https://github.com/Web3Auth/Web3Auth#readme",
"license": "ISC",
"sideEffects": false,
@@ -21,15 +21,15 @@
},
"dependencies": {
"@solana/wallet-standard-features": "^1.2.0",
- "@solana/web3.js": "^1.95.4",
+ "@solana/web3.js": "^1.95.5",
"@wallet-standard/app": "^1.1.0",
"@wallet-standard/base": "^1.1.0",
"@wallet-standard/features": "^1.1.0",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-solana-adapter": "^9.4.0",
- "@web3auth/solana-provider": "^9.4.0",
- "@web3auth/wallet-connect-v2-adapter": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-solana-adapter": "^9.4.5",
+ "@web3auth/solana-provider": "^9.4.5",
+ "@web3auth/wallet-connect-v2-adapter": "^9.4.5",
"bn.js": "^5.2.1"
},
"files": [
@@ -58,5 +58,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/adapters/torus-evm-adapter/package.json b/packages/adapters/torus-evm-adapter/package.json
index 53b960321..f6c04712f 100644
--- a/packages/adapters/torus-evm-adapter/package.json
+++ b/packages/adapters/torus-evm-adapter/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/torus-evm-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"description": "torus wallet adapter for web3auth",
"keywords": [
"web3Auth/torus-evm-adapter",
@@ -36,8 +36,8 @@
},
"dependencies": {
"@toruslabs/torus-embed": "^5.0.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-evm-adapter": "^9.4.0"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-evm-adapter": "^9.4.5"
},
"lint-staged": {
"!(*d).ts": [
@@ -58,5 +58,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/adapters/torus-solana-adapter/package.json b/packages/adapters/torus-solana-adapter/package.json
index 817d4f26a..e67bb323b 100644
--- a/packages/adapters/torus-solana-adapter/package.json
+++ b/packages/adapters/torus-solana-adapter/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/torus-solana-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"description": "torus solana wallet adapter for web3auth",
"keywords": [
"web3Auth/torus-solana-adapter",
@@ -37,10 +37,10 @@
},
"dependencies": {
"@toruslabs/solana-embed": "^2.1.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
- "@web3auth/base-solana-adapter": "^9.4.0",
- "@web3auth/solana-provider": "^9.4.0"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
+ "@web3auth/base-solana-adapter": "^9.4.5",
+ "@web3auth/solana-provider": "^9.4.5"
},
"lint-staged": {
"!(*d).ts": [
@@ -61,5 +61,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/adapters/wallet-connect-v2-adapter/package.json b/packages/adapters/wallet-connect-v2-adapter/package.json
index bd663c3bc..184930c8f 100644
--- a/packages/adapters/wallet-connect-v2-adapter/package.json
+++ b/packages/adapters/wallet-connect-v2-adapter/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/wallet-connect-v2-adapter",
- "version": "9.4.0",
+ "version": "9.4.5",
"description": "wallet connect v2 adapter for web3auth",
"keywords": [
"@web3auth/wallet-connect-v2-adapter",
@@ -35,16 +35,16 @@
"@babel/runtime": "^7.x"
},
"dependencies": {
- "@solana/web3.js": "^1.95.4",
- "@toruslabs/base-controllers": "^6.2.4",
+ "@solana/web3.js": "^1.95.5",
+ "@toruslabs/base-controllers": "^6.3.2",
"@walletconnect/sign-client": "^2.17.2",
"@walletconnect/types": "^2.17.2",
"@walletconnect/utils": "^2.17.2",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
- "@web3auth/ethereum-provider": "^9.4.0",
- "@web3auth/solana-provider": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
+ "@web3auth/ethereum-provider": "^9.4.5",
+ "@web3auth/solana-provider": "^9.4.5",
"bs58": "^5.0.0",
"deepmerge": "^4.3.1"
},
@@ -70,5 +70,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/base/package.json b/packages/base/package.json
index c841848f5..f7ba345b7 100644
--- a/packages/base/package.json
+++ b/packages/base/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/base",
- "version": "9.4.0",
+ "version": "9.4.5",
"homepage": "https://github.com/Web3Auth/Web3Auth#readme",
"license": "ISC",
"sideEffects": false,
@@ -20,10 +20,10 @@
"pre-commit": "lint-staged --cwd ."
},
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
- "@toruslabs/constants": "^14.1.1",
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@toruslabs/constants": "^14.2.0",
"@toruslabs/http-helpers": "^7.0.0",
- "@web3auth/auth": "^9.5.0",
+ "@web3auth/auth": "^9.5.3",
"jwt-decode": "^4.0.0",
"loglevel": "^1.9.2",
"ts-custom-error": "^3.3.1"
@@ -54,5 +54,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/composables/modal-vue-composables/package.json b/packages/composables/modal-vue-composables/package.json
index 14e68c92e..aeff6fa25 100644
--- a/packages/composables/modal-vue-composables/package.json
+++ b/packages/composables/modal-vue-composables/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/modal-vue-composables",
- "version": "9.4.1",
+ "version": "9.4.5",
"description": "Vue composables to simplify integration with web3Auth modal SDK.",
"keywords": [
"web3Auth/modal-vue-composables",
@@ -29,12 +29,12 @@
"dist"
],
"dependencies": {
- "@web3auth/base": "^9.4.0",
- "@web3auth/modal": "^9.4.1"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/modal": "^9.4.5"
},
"devDependencies": {
- "@web3auth/auth": "^9.5.0",
- "@web3auth/auth-adapter": "^9.4.0"
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/auth-adapter": "^9.4.5"
},
"peerDependencies": {
"@babel/runtime": "^7.x",
@@ -53,5 +53,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/composables/no-modal-vue-composables/package.json b/packages/composables/no-modal-vue-composables/package.json
index 9bc587077..048951dc4 100644
--- a/packages/composables/no-modal-vue-composables/package.json
+++ b/packages/composables/no-modal-vue-composables/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/no-modal-vue-composables",
- "version": "9.4.0",
+ "version": "9.4.5",
"description": "Vue composables to simplify integration with web3Auth no-modal SDK.",
"keywords": [
"web3Auth/no-modal-vue-composables",
@@ -29,12 +29,12 @@
"dist"
],
"dependencies": {
- "@web3auth/base": "^9.4.0",
- "@web3auth/no-modal": "^9.4.0"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/no-modal": "^9.4.5"
},
"devDependencies": {
- "@web3auth/auth": "^9.5.0",
- "@web3auth/auth-adapter": "^9.4.0"
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/auth-adapter": "^9.4.5"
},
"peerDependencies": {
"@babel/runtime": "^7.x",
@@ -53,5 +53,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/composables/wallet-services-plugin-vue-composables/package.json b/packages/composables/wallet-services-plugin-vue-composables/package.json
index cbbad3b54..cd1c7e0d7 100644
--- a/packages/composables/wallet-services-plugin-vue-composables/package.json
+++ b/packages/composables/wallet-services-plugin-vue-composables/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/wallet-services-plugin-vue-composables",
- "version": "9.4.0",
+ "version": "9.5.0-alpha.0",
"description": "Vue composables to simplify integration with web3Auth wallet services plugin SDK.",
"keywords": [
"web3Auth/wallet-services-plugin-vue-composables",
@@ -29,9 +29,9 @@
"dist"
],
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
- "@web3auth/base": "^9.4.0",
- "@web3auth/wallet-services-plugin": "^9.4.0"
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/wallet-services-plugin": "^9.5.0-alpha.0"
},
"peerDependencies": {
"@babel/runtime": "^7.x",
@@ -50,5 +50,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/hooks/modal-react-hooks/package.json b/packages/hooks/modal-react-hooks/package.json
index d5a2b08e3..45e1cba94 100644
--- a/packages/hooks/modal-react-hooks/package.json
+++ b/packages/hooks/modal-react-hooks/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/modal-react-hooks",
- "version": "9.4.1",
+ "version": "9.4.5",
"description": "React hooks to simplify integration with web3Auth modal SDK.",
"keywords": [
"web3Auth/modal-react-hooks",
@@ -32,11 +32,11 @@
"dist"
],
"devDependencies": {
- "@web3auth/auth-adapter": "^9.4.0"
+ "@web3auth/auth-adapter": "^9.4.5"
},
"dependencies": {
- "@web3auth/base": "^9.4.0",
- "@web3auth/modal": "^9.4.1"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/modal": "^9.4.5"
},
"peerDependencies": {
"@babel/runtime": "^7.x",
@@ -61,5 +61,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/hooks/no-modal-react-hooks/package.json b/packages/hooks/no-modal-react-hooks/package.json
index 935aec502..fb21390b6 100644
--- a/packages/hooks/no-modal-react-hooks/package.json
+++ b/packages/hooks/no-modal-react-hooks/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/no-modal-react-hooks",
- "version": "9.4.0",
+ "version": "9.4.5",
"description": "React hooks to simplify integration with web3Auth no-modal SDK.",
"keywords": [
"web3Auth/no-modal-react-hooks",
@@ -32,11 +32,11 @@
"dist"
],
"devDependencies": {
- "@web3auth/auth-adapter": "^9.4.0"
+ "@web3auth/auth-adapter": "^9.4.5"
},
"dependencies": {
- "@web3auth/base": "^9.4.0",
- "@web3auth/no-modal": "^9.4.0"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/no-modal": "^9.4.5"
},
"peerDependencies": {
"@babel/runtime": "^7.x",
@@ -61,5 +61,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/hooks/wallet-services-plugin-react-hooks/package.json b/packages/hooks/wallet-services-plugin-react-hooks/package.json
index 5ef1d24ca..fb1ad17ea 100644
--- a/packages/hooks/wallet-services-plugin-react-hooks/package.json
+++ b/packages/hooks/wallet-services-plugin-react-hooks/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/wallet-services-plugin-react-hooks",
- "version": "9.4.0",
+ "version": "9.5.0-alpha.0",
"description": "React hooks to simplify integration with web3Auth wallet-services-plugin SDK.",
"keywords": [
"web3Auth/wallet-services-plugin-react-hooks",
@@ -32,8 +32,8 @@
"dist"
],
"dependencies": {
- "@web3auth/base": "^9.4.0",
- "@web3auth/wallet-services-plugin": "^9.4.0"
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/wallet-services-plugin": "^9.5.0-alpha.0"
},
"peerDependencies": {
"@babel/runtime": "^7.x",
@@ -58,5 +58,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/modal/package.json b/packages/modal/package.json
index aba6b8c15..6a9634f47 100644
--- a/packages/modal/package.json
+++ b/packages/modal/package.json
@@ -4,19 +4,19 @@
"url": "https://github.com/Web3Auth/Web3Auth/issues"
},
"dependencies": {
- "@web3auth/auth-adapter": "^9.4.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
- "@web3auth/no-modal": "^9.4.0",
- "@web3auth/ui": "^9.4.1",
+ "@web3auth/auth-adapter": "^9.4.5",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
+ "@web3auth/no-modal": "^9.4.5",
+ "@web3auth/ui": "^9.4.5",
"deepmerge": "^4.3.1"
},
"devDependencies": {
"@svgr/webpack": "^8.1.0",
"@toruslabs/isomorphic-style-loader": "^5.3.3",
- "@web3auth/account-abstraction-provider": "^9.4.0",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/wallet-connect-v2-adapter": "^9.4.0",
+ "@web3auth/account-abstraction-provider": "^9.4.5",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/wallet-connect-v2-adapter": "^9.4.5",
"css-loader": "^7.1.2",
"postcss-prefix-selector": "^2.1.0",
"style-loader": "^4.0.0",
@@ -69,5 +69,6 @@
},
"types": "dist/types/index.d.ts",
"unpkg": "dist/modal.umd.min.js",
- "version": "9.4.1"
+ "version": "9.4.5",
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/no-modal/package.json b/packages/no-modal/package.json
index 8034d04ff..475e47b02 100644
--- a/packages/no-modal/package.json
+++ b/packages/no-modal/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/no-modal",
- "version": "9.4.0",
+ "version": "9.4.5",
"description": "Multi chain wallet aggregator for web3Auth",
"keywords": [
"web3Auth/no-modal",
@@ -37,15 +37,15 @@
"@web3auth/wallet-connect-v2-adapter": "^9.x"
},
"dependencies": {
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
"deepmerge": "^4.3.1"
},
"devDependencies": {
- "@web3auth/account-abstraction-provider": "^9.4.0",
- "@web3auth/auth-adapter": "^9.4.0",
- "@web3auth/wallet-connect-v2-adapter": "^9.4.0"
+ "@web3auth/account-abstraction-provider": "^9.4.5",
+ "@web3auth/auth-adapter": "^9.4.5",
+ "@web3auth/wallet-connect-v2-adapter": "^9.4.5"
},
"peerDependenciesMeta": {
"@web3auth/auth-adapter": {
@@ -74,5 +74,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/plugins/solana-wallet-connector-plugin/package.json b/packages/plugins/solana-wallet-connector-plugin/package.json
index d9bdf273c..de3f6e015 100644
--- a/packages/plugins/solana-wallet-connector-plugin/package.json
+++ b/packages/plugins/solana-wallet-connector-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/solana-wallet-connector-plugin",
- "version": "9.4.0",
+ "version": "9.4.5",
"description": "Torus Solana wallet connector for which can be used with Web3Auth or private key providers used inside Web3Auth",
"keywords": [
"web3Auth/solana-wallet-connector-plugin",
@@ -33,9 +33,9 @@
],
"dependencies": {
"@toruslabs/solana-embed": "^2.1.0",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/no-modal": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/no-modal": "^9.4.5",
"loglevel": "^1.9.2"
},
"peerDependencies": {
@@ -60,5 +60,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/plugins/wallet-services-plugin/package.json b/packages/plugins/wallet-services-plugin/package.json
index 4a09348ec..bcf6737e0 100644
--- a/packages/plugins/wallet-services-plugin/package.json
+++ b/packages/plugins/wallet-services-plugin/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/wallet-services-plugin",
- "version": "9.4.0",
+ "version": "9.5.0-alpha.0",
"description": "Wallet services for which can be used with Web3Auth or private key providers used inside Web3Auth",
"keywords": [
"web3Auth/wallet-services-plugin",
@@ -31,13 +31,14 @@
"dist"
],
"devDependencies": {
- "@toruslabs/ethereum-controllers": "^6.2.4"
+ "@toruslabs/ethereum-controllers": "^6.3.2"
},
"dependencies": {
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/no-modal": "^9.4.0",
- "@web3auth/ws-embed": "^3.1.0",
+ "@web3auth/account-abstraction-provider": "^9.3.1",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/no-modal": "^9.4.5",
+ "@web3auth/ws-embed": "^3.2.1",
"loglevel": "^1.9.2"
},
"peerDependencies": {
@@ -62,5 +63,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/plugins/wallet-services-plugin/src/plugin.ts b/packages/plugins/wallet-services-plugin/src/plugin.ts
index eaf54bf2b..82dc69e39 100644
--- a/packages/plugins/wallet-services-plugin/src/plugin.ts
+++ b/packages/plugins/wallet-services-plugin/src/plugin.ts
@@ -1,5 +1,6 @@
import { type BaseEmbedControllerState } from "@toruslabs/base-controllers";
import type { EthereumProviderConfig } from "@toruslabs/ethereum-controllers";
+import { AccountAbstractionProvider } from "@web3auth/account-abstraction-provider";
import { SafeEventEmitter, type WhiteLabelData } from "@web3auth/auth";
import {
ADAPTER_EVENTS,
@@ -20,7 +21,7 @@ import {
WALLET_ADAPTERS,
WalletServicesPluginError,
} from "@web3auth/base";
-import WsEmbed, { CtorArgs, WsEmbedParams } from "@web3auth/ws-embed";
+import WsEmbed, { AccountAbstractionConfig, CtorArgs, WsEmbedParams } from "@web3auth/ws-embed";
type WsPluginEmbedParams = Omit & {
/**
@@ -98,11 +99,34 @@ export class WalletServicesPlugin extends SafeEventEmitter implements IPlugin {
if (!connectedChainConfig.ticker) throw WalletServicesPluginError.invalidParams("ticker is required in chainConfig");
if (!connectedChainConfig.tickerName) throw WalletServicesPluginError.invalidParams("tickerName is required in chainConfig");
+ const enableAccountAbstraction =
+ web3auth.coreOptions.useAAWithExternalWallet &&
+ (web3auth.connectedAdapterName === WALLET_ADAPTERS.AUTH ||
+ (web3auth.connectedAdapterName !== WALLET_ADAPTERS.AUTH && web3auth.coreOptions.useAAWithExternalWallet));
+
+ let accountAbstractionConfig: AccountAbstractionConfig;
+
+ if (enableAccountAbstraction) {
+ const smartAccountAddress = (web3auth.coreOptions.accountAbstractionProvider as AccountAbstractionProvider)?.smartAccount.address;
+ const smartAccountType = (web3auth.coreOptions.accountAbstractionProvider as AccountAbstractionProvider)?.config.smartAccountInit.name;
+ const paymasterConfig = (web3auth.coreOptions.accountAbstractionProvider as AccountAbstractionProvider)?.config?.paymasterConfig;
+ const bundlerConfig = (web3auth.coreOptions.accountAbstractionProvider as AccountAbstractionProvider)?.config?.bundlerConfig;
+
+ // TODO: fix this type casting when we start using accountAbstractionController
+ accountAbstractionConfig = {
+ smartAccountAddress: smartAccountAddress || undefined,
+ smartAccountType: smartAccountType || undefined,
+ paymasterConfig: paymasterConfig || undefined,
+ bundlerConfig: bundlerConfig || undefined,
+ } as AccountAbstractionConfig;
+ }
+
const finalInitOptions = {
...this.walletInitOptions,
chainConfig: connectedChainConfig as EthereumProviderConfig,
enableLogging: this.web3auth.coreOptions?.enableLogging,
whiteLabel: mergedWhitelabelSettings,
+ accountAbstractionConfig,
};
await this.wsEmbedInstance.init(finalInitOptions);
diff --git a/packages/providers/account-abstraction-provider/package.json b/packages/providers/account-abstraction-provider/package.json
index 18398a108..3ec882871 100644
--- a/packages/providers/account-abstraction-provider/package.json
+++ b/packages/providers/account-abstraction-provider/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/account-abstraction-provider",
- "version": "9.4.0",
+ "version": "9.4.5",
"homepage": "https://github.com/Web3Auth/Web3Auth#readme",
"license": "ISC",
"main": "dist/lib.cjs/index.js",
@@ -21,14 +21,14 @@
},
"dependencies": {
"@ethereumjs/util": "^9.1.0",
- "@toruslabs/base-controllers": "^6.2.4",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
- "@web3auth/ethereum-provider": "^9.4.0",
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
+ "@web3auth/ethereum-provider": "^9.4.5",
"ethers": "^6.13.4",
- "permissionless": "^0.2.15",
- "viem": "^2.21.43"
+ "permissionless": "^0.2.20",
+ "viem": "^2.21.52"
},
"peerDependencies": {
"@babel/runtime": "7.x"
@@ -56,5 +56,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/providers/account-abstraction-provider/src/providers/AccountAbstractionProvider.ts b/packages/providers/account-abstraction-provider/src/providers/AccountAbstractionProvider.ts
index 1f566fbb0..0cd389b53 100644
--- a/packages/providers/account-abstraction-provider/src/providers/AccountAbstractionProvider.ts
+++ b/packages/providers/account-abstraction-provider/src/providers/AccountAbstractionProvider.ts
@@ -97,7 +97,7 @@ export class AccountAbstractionProvider extends BaseProvider = {
- // Whether or not to emit when the polling starts.
- emitOnBegin?: boolean | undefined;
- // The initial wait time (in ms) before polling.
- initialWaitTime?: ((data: data | void) => Promise) | undefined;
- // The interval (in ms).
- interval: number;
-};
-
-/**
- * Polls a function at a specified interval.
- * same poll function as viem/utils/poll
- */
-export function poll(
- fn: ({ unpoll }: { unpoll: () => void }) => Promise,
- { emitOnBegin, initialWaitTime, interval }: PollOptions
-) {
- let active = true;
-
- const unwatch = () => (active = false);
-
- const watch = async () => {
- let data: data | void;
- if (emitOnBegin) data = await fn({ unpoll: unwatch });
-
- const initialWait = (await initialWaitTime?.(data)) ?? interval;
- await sleep(initialWait);
-
- const _poll = async () => {
- if (!active) return;
- await fn({ unpoll: unwatch });
- await sleep(interval);
- _poll();
- };
-
- _poll();
- };
- watch();
-
- return unwatch;
-}
-
export function getProviderHandlers({
bundlerClient,
smartAccount,
@@ -105,43 +62,14 @@ export function getProviderHandlers({
// @ts-expect-error viem types are too deep
const userOpHash = await bundlerClient.sendUserOperation(userOperationParams);
- const timeout = 120_000;
- return new Promise((resolve, reject) => {
- const done = (fn: () => void) => {
- // eslint-disable-next-line @typescript-eslint/no-use-before-define, no-use-before-define
- unpoll();
- fn();
- };
-
- const unpoll = poll(
- async () => {
- // keep checking for user operation until it is online to return the transaction hash
- // without needing to wait for the receipt
- try {
- const receipt = await bundlerClient.getUserOperation({ hash: userOpHash });
- done(() => resolve(receipt.transactionHash));
- } catch (error) {
- if (!(error instanceof Error && error?.message?.toLowerCase()?.includes("could not be found"))) {
- done(() => reject(error));
- }
- }
- },
- {
- interval: 1000,
- }
- );
-
- setTimeout(() => {
- done(() =>
- reject(
- providerErrors.custom({
- message: "Process transaction wait timeout.",
- code: 4904,
- })
- )
- );
- }, timeout);
- });
+ const txReceipt = await bundlerClient.waitForUserOperationReceipt({ hash: userOpHash });
+ if (!txReceipt.success) {
+ throw providerErrors.custom({
+ message: txReceipt.reason,
+ code: 4905,
+ });
+ }
+ return txReceipt.receipt.transactionHash;
},
processSignTransaction: async (txParams: TransactionParams): Promise => {
const { to, value, data } = txParams;
diff --git a/packages/providers/base-provider/package.json b/packages/providers/base-provider/package.json
index 3b55d3510..beeb8ca2f 100644
--- a/packages/providers/base-provider/package.json
+++ b/packages/providers/base-provider/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/base-provider",
- "version": "9.4.0",
+ "version": "9.4.5",
"homepage": "https://github.com/Web3Auth/Web3Auth#readme",
"license": "ISC",
"sideEffects": false,
@@ -20,9 +20,9 @@
"pre-commit": "lint-staged --cwd ."
},
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
"json-rpc-random-id": "^1.0.1"
},
"devDependencies": {
@@ -54,5 +54,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/providers/ethereum-mpc-provider/package.json b/packages/providers/ethereum-mpc-provider/package.json
index 09e2b5526..a22a9ef77 100644
--- a/packages/providers/ethereum-mpc-provider/package.json
+++ b/packages/providers/ethereum-mpc-provider/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/ethereum-mpc-provider",
- "version": "9.4.0",
+ "version": "9.4.5",
"homepage": "https://github.com/Web3Auth/Web3Auth#readme",
"license": "ISC",
"sideEffects": false,
@@ -21,11 +21,11 @@
},
"dependencies": {
"@ethereumjs/util": "^9.1.0",
- "@toruslabs/base-controllers": "^6.2.4",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
- "@web3auth/ethereum-provider": "^9.4.0",
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
+ "@web3auth/ethereum-provider": "^9.4.5",
"ethers": "^6.13.4"
},
"peerDependencies": {
@@ -54,5 +54,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/providers/ethereum-provider/package.json b/packages/providers/ethereum-provider/package.json
index f1c5cd702..78424016f 100644
--- a/packages/providers/ethereum-provider/package.json
+++ b/packages/providers/ethereum-provider/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/ethereum-provider",
- "version": "9.4.0",
+ "version": "9.4.5",
"homepage": "https://github.com/Web3Auth/Web3Auth#readme",
"license": "ISC",
"sideEffects": false,
@@ -21,12 +21,12 @@
},
"dependencies": {
"@ethereumjs/util": "^9.1.0",
- "@toruslabs/base-controllers": "^6.2.4",
+ "@toruslabs/base-controllers": "^6.3.2",
"@toruslabs/eccrypto": "^5.0.4",
"@toruslabs/http-helpers": "^7.0.0",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
"assert": "^2.1.0",
"bignumber.js": "^9.1.2",
"bn.js": "^5.2.1",
@@ -64,5 +64,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/providers/solana-provider/package.json b/packages/providers/solana-provider/package.json
index aefc2c2a9..51c492595 100644
--- a/packages/providers/solana-provider/package.json
+++ b/packages/providers/solana-provider/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/solana-provider",
- "version": "9.4.0",
+ "version": "9.4.5",
"homepage": "https://github.com/Web3Auth/Web3Auth#readme",
"license": "ISC",
"sideEffects": false,
@@ -20,17 +20,17 @@
"pre-commit": "lint-staged --cwd ."
},
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
+ "@toruslabs/base-controllers": "^6.3.2",
"@toruslabs/tweetnacl-js": "^1.0.4",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
"bn.js": "^5.2.1",
"bs58": "^5.0.0",
"json-rpc-random-id": "^1.0.1"
},
"devDependencies": {
- "@solana/web3.js": "^1.95.4",
+ "@solana/web3.js": "^1.95.5",
"@types/bn.js": "^5.1.6",
"@types/bs58": "^4.0.4",
"@types/json-rpc-random-id": "^1.0.3"
@@ -62,5 +62,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/providers/xrpl-provider/package.json b/packages/providers/xrpl-provider/package.json
index cc9a82145..7f307b76e 100644
--- a/packages/providers/xrpl-provider/package.json
+++ b/packages/providers/xrpl-provider/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/xrpl-provider",
- "version": "9.4.0",
+ "version": "9.4.5",
"homepage": "https://github.com/Web3Auth/Web3Auth#readme",
"license": "ISC",
"sideEffects": false,
@@ -20,10 +20,10 @@
"pre-commit": "lint-staged --cwd ."
},
"dependencies": {
- "@toruslabs/base-controllers": "^6.2.4",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
- "@web3auth/base-provider": "^9.4.0",
+ "@toruslabs/base-controllers": "^6.3.2",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
+ "@web3auth/base-provider": "^9.4.5",
"ripple-keypairs": "^1.3.1"
},
"devDependencies": {
@@ -53,5 +53,6 @@
"keywords": [],
"publishConfig": {
"access": "public"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 9eb177615..b7f5c36a5 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -1,6 +1,6 @@
{
"name": "@web3auth/ui",
- "version": "9.4.1",
+ "version": "9.4.5",
"description": "Ui modal for web3Auth",
"keywords": [
"web3Auth/ui",
@@ -51,26 +51,26 @@
"autoprefixer": "^10.4.20",
"css-loader": "^7.1.2",
"live-server": "^1.2.2",
- "postcss": "^8.4.47",
+ "postcss": "^8.4.49",
"postcss-loader": "^8.1.1",
"postcss-prefix-selector": "^2.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"rollup-plugin-postcss": "^4.0.2",
"style-loader": "^4.0.0",
- "tailwindcss": "^3.4.14",
+ "tailwindcss": "^3.4.15",
"url-loader": "^4.1.1"
},
"dependencies": {
"@toruslabs/http-helpers": "^7.0.0",
- "@web3auth/auth": "^9.5.0",
- "@web3auth/base": "^9.4.0",
+ "@web3auth/auth": "^9.5.3",
+ "@web3auth/base": "^9.4.5",
"bowser": "^2.11.0",
"classnames": "^2.5.1",
"copy-to-clipboard": "^3.3.3",
"deepmerge": "^4.3.1",
- "i18next": "^23.16.5",
- "react-i18next": "^15.1.1",
+ "i18next": "^23.16.8",
+ "react-i18next": "^15.1.2",
"react-qrcode-logo": "^3.0.0"
},
"lint-staged": {
@@ -92,5 +92,6 @@
"engines": {
"node": ">=18.x",
"npm": ">=9.x"
- }
+ },
+ "gitHead": "6c62ee11818e12b77eca33a78ee896e46549ac16"
}