diff --git a/example/vue-app/package-lock.json b/example/vue-app/package-lock.json index 1c4ec3f..55c618c 100644 --- a/example/vue-app/package-lock.json +++ b/example/vue-app/package-lock.json @@ -13,11 +13,14 @@ "@toruslabs/openlogin-utils": "^8.2.1", "@toruslabs/vue-components": "^7.8.3", "@toruslabs/vue-icons": "^7.6.2", - "@web3auth/base": "^8.12.4", - "@web3auth/ethereum-provider": "^8.12.4", - "@web3auth/passkeys-sfa-plugin": "^8.1.0", - "@web3auth/single-factor-auth": "^8.1.1", - "@web3auth/solana-provider": "^8.12.4", + "@web3auth/account-abstraction-provider": "^9.3.0", + "@web3auth/auth": "^9.4.1", + "@web3auth/base": "^9.3.0", + "@web3auth/ethereum-provider": "^9.3.0", + "@web3auth/passkeys-sfa-plugin": "^9.0.0", + "@web3auth/single-factor-auth": "file:../..", + "@web3auth/solana-provider": "^9.3.0", + "@web3auth/wallet-services-plugin": "^9.3.0", "base64url": "^3.0.1", "vue": "^3.4.31", "vue-i18n": "^9.13.1", @@ -38,6 +41,56 @@ "vue-tsc": "^2.0.24" } }, + "../..": { + "name": "@web3auth/single-factor-auth", + "version": "9.2.0", + "license": "ISC", + "dependencies": { + "@toruslabs/base-controllers": "^6.1.2", + "@toruslabs/constants": "^14.0.0", + "@toruslabs/fetch-node-details": "^14.0.1", + "@toruslabs/session-manager": "^3.0.0", + "@toruslabs/torus.js": "^14.0.2", + "@web3auth/auth": "^9.3.3", + "@web3auth/base": "^9.0.0", + "bs58": "^5.0.0" + }, + "devDependencies": { + "@babel/register": "^7.24.6", + "@toruslabs/config": "^2.2.0", + "@toruslabs/eslint-config-typescript": "^3.3.3", + "@toruslabs/torus-scripts": "^6.1.2", + "@types/chai": "^4.3.19", + "@types/jsonwebtoken": "^9.0.7", + "@types/mocha": "^10.0.8", + "@types/node": "^22", + "@web3auth/base-provider": "^9.0.0", + "@web3auth/ethereum-provider": "^9.0.0", + "@web3auth/solana-provider": "^9.0.0", + "chai": "^4.3.10", + "cross-env": "^7.0.3", + "dotenv": "^16.4.5", + "eslint": "^8.56.0", + "husky": "^9.1.6", + "jsonwebtoken": "^9.0.2", + "lint-staged": "^15.2.10", + "lodash-es": "^4.17.21", + "mocha": "^10.7.3", + "rimraf": "^6.0.1", + "tsconfig-paths": "^4.2.0", + "tsconfig-paths-webpack-plugin": "^4.1.0", + "tslib": "^2.7.0", + "tsx": "^4.19.1", + "typescript": "^5.6.2" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x" + } + }, "../../packages/adapters/base-evm-adapter": { "name": "@web3auth/base-evm-adapter", "version": "8.12.0", @@ -1121,14 +1174,6 @@ "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } }, - "node_modules/@ethereumjs/common": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/@ethereumjs/common/-/common-4.4.0.tgz", - "integrity": "sha512-Fy5hMqF6GsE6DpYTyqdDIJPJgUtDn4dL120zKw+Pswuo+iLyBsEYuSyzMw6NVzD2vDzcBG9fE4+qX4X2bPc97w==", - "dependencies": { - "@ethereumjs/util": "^9.1.0" - } - }, "node_modules/@ethereumjs/rlp": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/@ethereumjs/rlp/-/rlp-4.0.1.tgz", @@ -1140,31 +1185,6 @@ "node": ">=14" } }, - "node_modules/@ethereumjs/tx": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/@ethereumjs/tx/-/tx-5.4.0.tgz", - "integrity": "sha512-SCHnK7m/AouZ7nyoR0MEXw1OO/tQojSbp88t8oxhwes5iZkZCtfFdUrJaiIb72qIpH2FVw6s1k1uP7LXuH7PsA==", - "dependencies": { - "@ethereumjs/common": "^4.4.0", - "@ethereumjs/rlp": "^5.0.2", - "@ethereumjs/util": "^9.1.0", - "ethereum-cryptography": "^2.2.1" - }, - "engines": { - "node": ">=18" - } - }, - "node_modules/@ethereumjs/tx/node_modules/@ethereumjs/rlp": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/@ethereumjs/rlp/-/rlp-5.0.2.tgz", - "integrity": "sha512-DziebCdg4JpGlEqEdGgXmjqcFoJi+JGulUXwEjsZGAscAQ7MyD/7LE/GVCP29vEQxKc7AAwjT3A2ywHp2xfoCA==", - "bin": { - "rlp": "bin/rlp.cjs" - }, - "engines": { - "node": ">=18" - } - }, "node_modules/@ethereumjs/util": { "version": "9.1.0", "resolved": "https://registry.npmjs.org/@ethereumjs/util/-/util-9.1.0.tgz", @@ -1360,165 +1380,6 @@ "postcss": "^8.0.9" } }, - "node_modules/@metamask/abi-utils": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@metamask/abi-utils/-/abi-utils-2.0.4.tgz", - "integrity": "sha512-StnIgUB75x7a7AgUhiaUZDpCsqGp7VkNnZh2XivXkJ6mPkE83U8ARGQj5MbRis7VJY8BC5V1AbB1fjdh0hupPQ==", - "dependencies": { - "@metamask/superstruct": "^3.1.0", - "@metamask/utils": "^9.0.0" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@metamask/abi-utils/node_modules/@ethereumjs/common": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@ethereumjs/common/-/common-3.2.0.tgz", - "integrity": "sha512-pksvzI0VyLgmuEF2FA/JR/4/y6hcPq8OUail3/AvycBaW1d5VSauOZzqGvJ3RTmR4MU35lWE8KseKOsEhrFRBA==", - "dependencies": { - "@ethereumjs/util": "^8.1.0", - "crc-32": "^1.2.0" - } - }, - "node_modules/@metamask/abi-utils/node_modules/@ethereumjs/tx": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@ethereumjs/tx/-/tx-4.2.0.tgz", - "integrity": "sha512-1nc6VO4jtFd172BbSnTnDQVr9IYBFl1y4xPzZdtkrkKIncBCkdbgfdRV+MiTkJYAtTxvV12GRZLqBFT1PNK6Yw==", - "dependencies": { - "@ethereumjs/common": "^3.2.0", - "@ethereumjs/rlp": "^4.0.1", - "@ethereumjs/util": "^8.1.0", - "ethereum-cryptography": "^2.0.0" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/@metamask/abi-utils/node_modules/@ethereumjs/util": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@ethereumjs/util/-/util-8.1.0.tgz", - "integrity": "sha512-zQ0IqbdX8FZ9aw11vP+dZkKDkS+kgIvQPHnSAXzP9pLu+Rfu3D3XEeLbicvoXJTYnhZiPmsZUxgdzXwNKxRPbA==", - "dependencies": { - "@ethereumjs/rlp": "^4.0.1", - "ethereum-cryptography": "^2.0.0", - "micro-ftch": "^0.3.1" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/@metamask/abi-utils/node_modules/@metamask/utils": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/@metamask/utils/-/utils-9.1.0.tgz", - "integrity": "sha512-g2REf+xSt0OZfMoNNdC4+/Yy8eP3KUqvIArel54XRFKPoXbHI6+YjFfrLtfykWBjffOp7DTfIc3Kvk5TLfuiyg==", - "dependencies": { - "@ethereumjs/tx": "^4.2.0", - "@metamask/superstruct": "^3.1.0", - "@noble/hashes": "^1.3.1", - "@scure/base": "^1.1.3", - "@types/debug": "^4.1.7", - "debug": "^4.3.4", - "pony-cause": "^2.1.10", - "semver": "^7.5.4", - "uuid": "^9.0.1" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@metamask/eth-sig-util": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/@metamask/eth-sig-util/-/eth-sig-util-7.0.2.tgz", - "integrity": "sha512-DhTDMNEtED0ihIc4Tysm6qUJTvArCdgSTeeJWdo526W/cAk5mrSAvEYYgv8idAiBumDtcPWGimMTaB7MvY64bg==", - "dependencies": { - "@ethereumjs/util": "^8.1.0", - "@metamask/abi-utils": "^2.0.2", - "@metamask/utils": "^8.1.0", - "@scure/base": "~1.1.3", - "ethereum-cryptography": "^2.1.2", - "tweetnacl": "^1.0.3" - }, - "engines": { - "node": "^16.20 || ^18.16 || >=20" - } - }, - "node_modules/@metamask/eth-sig-util/node_modules/@ethereumjs/util": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@ethereumjs/util/-/util-8.1.0.tgz", - "integrity": "sha512-zQ0IqbdX8FZ9aw11vP+dZkKDkS+kgIvQPHnSAXzP9pLu+Rfu3D3XEeLbicvoXJTYnhZiPmsZUxgdzXwNKxRPbA==", - "dependencies": { - "@ethereumjs/rlp": "^4.0.1", - "ethereum-cryptography": "^2.0.0", - "micro-ftch": "^0.3.1" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/@metamask/superstruct": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@metamask/superstruct/-/superstruct-3.1.0.tgz", - "integrity": "sha512-N08M56HdOgBfRKkrgCMZvQppkZGcArEop3kixNEtVbJKm6P9Cfg0YkI6X0s1g78sNrj2fWUwvJADdZuzJgFttA==", - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@metamask/utils": { - "version": "8.5.0", - "resolved": "https://registry.npmjs.org/@metamask/utils/-/utils-8.5.0.tgz", - "integrity": "sha512-I6bkduevXb72TIM9q2LRO63JSsF9EXduh3sBr9oybNX2hNNpr/j1tEjXrsG0Uabm4MJ1xkGAQEMwifvKZIkyxQ==", - "dependencies": { - "@ethereumjs/tx": "^4.2.0", - "@metamask/superstruct": "^3.0.0", - "@noble/hashes": "^1.3.1", - "@scure/base": "^1.1.3", - "@types/debug": "^4.1.7", - "debug": "^4.3.4", - "pony-cause": "^2.1.10", - "semver": "^7.5.4", - "uuid": "^9.0.1" - }, - "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/@metamask/utils/node_modules/@ethereumjs/common": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@ethereumjs/common/-/common-3.2.0.tgz", - "integrity": "sha512-pksvzI0VyLgmuEF2FA/JR/4/y6hcPq8OUail3/AvycBaW1d5VSauOZzqGvJ3RTmR4MU35lWE8KseKOsEhrFRBA==", - "dependencies": { - "@ethereumjs/util": "^8.1.0", - "crc-32": "^1.2.0" - } - }, - "node_modules/@metamask/utils/node_modules/@ethereumjs/tx": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/@ethereumjs/tx/-/tx-4.2.0.tgz", - "integrity": "sha512-1nc6VO4jtFd172BbSnTnDQVr9IYBFl1y4xPzZdtkrkKIncBCkdbgfdRV+MiTkJYAtTxvV12GRZLqBFT1PNK6Yw==", - "dependencies": { - "@ethereumjs/common": "^3.2.0", - "@ethereumjs/rlp": "^4.0.1", - "@ethereumjs/util": "^8.1.0", - "ethereum-cryptography": "^2.0.0" - }, - "engines": { - "node": ">=14" - } - }, - "node_modules/@metamask/utils/node_modules/@ethereumjs/util": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@ethereumjs/util/-/util-8.1.0.tgz", - "integrity": "sha512-zQ0IqbdX8FZ9aw11vP+dZkKDkS+kgIvQPHnSAXzP9pLu+Rfu3D3XEeLbicvoXJTYnhZiPmsZUxgdzXwNKxRPbA==", - "dependencies": { - "@ethereumjs/rlp": "^4.0.1", - "ethereum-cryptography": "^2.0.0", - "micro-ftch": "^0.3.1" - }, - "engines": { - "node": ">=14" - } - }, "node_modules/@microsoft/tsdoc": { "version": "0.15.0", "resolved": "https://registry.npmjs.org/@microsoft/tsdoc/-/tsdoc-0.15.0.tgz", @@ -1613,6 +1474,21 @@ "node": ">= 8" } }, + "node_modules/@nx/nx-linux-x64-gnu": { + "version": "19.8.8", + "resolved": "https://registry.npmjs.org/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-19.8.8.tgz", + "integrity": "sha512-LCfnm42cQUrrch/8RqVgC46bYovX/ZcbP44pmTgrkChfrmxDhdaIfi0m1aUWpfize6DvCWxvmg8VEaV+Cf4/cg==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10" + } + }, "node_modules/@pkgjs/parseargs": { "version": "0.11.0", "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", @@ -1784,6 +1660,7 @@ "cpu": [ "x64" ], + "dev": true, "optional": true, "os": [ "linux" @@ -1848,9 +1725,9 @@ "dev": true }, "node_modules/@scure/base": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.7.tgz", - "integrity": "sha512-PPNYBslrLNNUQ/Yad37MHYsNQtK67EhWb6WtSvNLLPo7SdVZgkUjD6Dg+5On7zNwmskf8OX7I7Nx5oN+MIWE0g==", + "version": "1.1.9", + "resolved": "https://registry.npmjs.org/@scure/base/-/base-1.1.9.tgz", + "integrity": "sha512-8YKhl8GHiNI/pU2VMaofa2Tor7PJRAjwQLBBuilkJ9L5+13yVbC7JO/wS7piioAvPSwR3JKM1IJ/u4xQzbcXKg==", "funding": { "url": "https://paulmillr.com/funding/" } @@ -1956,35 +1833,19 @@ } }, "node_modules/@toruslabs/base-controllers": { - "version": "5.11.0", - "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-5.11.0.tgz", - "integrity": "sha512-5AsGOlpf3DRIsd6PzEemBoRq+o2OhgSFXj5LZD6gXcBlfe0OpF+ydJb7Q8rIt5wwpQLNJCs8psBUbqIv7ukD2w==", + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/@toruslabs/base-controllers/-/base-controllers-6.2.2.tgz", + "integrity": "sha512-9kCeHqtUcTUD9zj1FnY8lbMWaRCceP9dn6s7XdSwuC/wS+rqIxrNwgfwfbvGUl9ZgcskJ7lyNXQqAwZ92Xlzig==", "dependencies": { - "@ethereumjs/util": "^9.0.3", - "@toruslabs/broadcast-channel": "^10.0.2", - "@toruslabs/http-helpers": "^6.1.1", - "@toruslabs/openlogin-jrpc": "^8.3.0", - "@toruslabs/openlogin-utils": "^8.2.1", + "@ethereumjs/util": "^9.1.0", + "@toruslabs/broadcast-channel": "^11.0.0", + "@toruslabs/http-helpers": "^7.0.0", + "@web3auth/auth": "^9.3.3", "async-mutex": "^0.5.0", "bignumber.js": "^9.1.2", "bowser": "^2.11.0", "jwt-decode": "^4.0.0", - "loglevel": "^1.9.1" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "7.x" - } - }, - "node_modules/@toruslabs/base-session-manager": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@toruslabs/base-session-manager/-/base-session-manager-3.1.1.tgz", - "integrity": "sha512-/awg0VbJcfcdJTB2zYdnoFkNGOioODvBc7i3vfxR6lRpFvVwndYPwbD870bgRiSUt9hSee8pSfokejnjDZGpew==", - "dependencies": { - "@toruslabs/http-helpers": "^6.1.0" + "loglevel": "^1.9.2" }, "engines": { "node": ">=18.x", @@ -1995,13 +1856,13 @@ } }, "node_modules/@toruslabs/broadcast-channel": { - "version": "10.0.2", - "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-10.0.2.tgz", - "integrity": "sha512-aZbKNgV/OhiTKSdxBTGO86xRdeR7Ct1vkB8yeyXRX32moARhZ69uJQL49jKh4cWKV3VeijrL9XvKdn5bzgHQZg==", + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-11.0.0.tgz", + "integrity": "sha512-nnM5yjQGzmCiie37G4Ks+5VsPjMrcY/81tga5ASb/u5TbZhSPQUw0CSW42Q9uBtR8sZbsHU06cPZ8j0z6LeAUg==", "dependencies": { - "@babel/runtime": "^7.24.0", - "@toruslabs/eccrypto": "^4.0.0", - "@toruslabs/metadata-helpers": "^5.1.0", + "@babel/runtime": "^7.24.7", + "@toruslabs/eccrypto": "^5.0.0", + "@toruslabs/metadata-helpers": "^6.0.0", "loglevel": "^1.9.1", "oblivious-set": "1.4.0", "socket.io-client": "^4.7.5", @@ -2025,11 +1886,11 @@ } }, "node_modules/@toruslabs/eccrypto": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/@toruslabs/eccrypto/-/eccrypto-4.0.0.tgz", - "integrity": "sha512-Z3EINkbsgJx1t6jCDVIJjLSUEGUtNIeDjhMWmeDGOWcP/+v/yQ1hEvd1wfxEz4q5WqIHhevacmPiVxiJ4DljGQ==", + "version": "5.0.4", + "resolved": "https://registry.npmjs.org/@toruslabs/eccrypto/-/eccrypto-5.0.4.tgz", + "integrity": "sha512-5PrSe2sn5Ed0u/2oRFtKaGOYpXJS+rJQXlYqxzy7Tbe2wLPCJh5/hZ3yStLfZmrYjHlWYwUx3AIpL/pUOOSU4w==", "dependencies": { - "elliptic": "^6.5.4" + "elliptic": "^6.5.5" }, "engines": { "node": ">=18.x", @@ -2068,29 +1929,43 @@ "typescript": "^5.x" } }, - "node_modules/@toruslabs/fetch-node-details": { - "version": "13.4.0", - "resolved": "https://registry.npmjs.org/@toruslabs/fetch-node-details/-/fetch-node-details-13.4.0.tgz", - "integrity": "sha512-WTfI47Q5sldlz4nh8kNPI95PXm3hjm3IEDnYRY3rlcCrs9sVwdQItKf4D0i5s9sRmwLIpG3po+IpEcdO82CIuA==", - "deprecated": "Not supported. Pls upgrade", + "node_modules/@toruslabs/ethereum-controllers": { + "version": "6.2.2", + "resolved": "https://registry.npmjs.org/@toruslabs/ethereum-controllers/-/ethereum-controllers-6.2.2.tgz", + "integrity": "sha512-ZP44UXLd1m0CpsAHEbPKpTq2AM9ANoxo7zlWQkItOxDaIT41VT2cs80mEkM2XjEEdROu75OV95QqGKjf8uWi6Q==", "dependencies": { - "@toruslabs/constants": "^13.4.0", - "@toruslabs/fnd-base": "^13.4.0", - "@toruslabs/http-helpers": "^6.1.1", - "loglevel": "^1.9.1" + "@ethereumjs/util": "^9.1.0", + "@toruslabs/base-controllers": "^6.2.2", + "@toruslabs/http-helpers": "^7.0.0", + "@web3auth/auth": "^9.3.3", + "async-mutex": "^0.5.0", + "bignumber.js": "^9.1.2", + "bn.js": "^5.2.1", + "deepmerge": "^4.3.1", + "ethers": "^6.13.2", + "fast-json-patch": "^3.1.1", + "fast-safe-stringify": "^2.1.1", + "jsonschema": "^1.4.1", + "loglevel": "^1.9.2" }, "engines": { - "node": ">=18.x", - "npm": ">=9.x" + "node": ">=16.18.1", + "npm": ">=8.x" }, "peerDependencies": { "@babel/runtime": "7.x" } }, - "node_modules/@toruslabs/fetch-node-details/node_modules/@toruslabs/constants": { - "version": "13.4.0", - "resolved": "https://registry.npmjs.org/@toruslabs/constants/-/constants-13.4.0.tgz", - "integrity": "sha512-CjmnMQ5Oj0bqSBGkhv7Xm3LciGJDHwe4AJ1LF6mijlP+QcCnUM5I6kVp60j7zZ/r0DT7nIEiuHHHczGpCZor0A==", + "node_modules/@toruslabs/fetch-node-details": { + "version": "14.0.1", + "resolved": "https://registry.npmjs.org/@toruslabs/fetch-node-details/-/fetch-node-details-14.0.1.tgz", + "integrity": "sha512-cV/X8d97W9kU/ibycV/4rfkDSjl+MIgwbKhsVqvgDtoE1mdjMSeCxJTfEDgjxqzUcVlHjcbeUpzCe8qa/Gvs6A==", + "dependencies": { + "@toruslabs/constants": "^14.0.0", + "@toruslabs/fnd-base": "^14.0.0", + "@toruslabs/http-helpers": "^7.0.0", + "loglevel": "^1.9.1" + }, "engines": { "node": ">=18.x", "npm": ">=9.x" @@ -2100,20 +1975,20 @@ } }, "node_modules/@toruslabs/ffjavascript": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@toruslabs/ffjavascript/-/ffjavascript-2.1.0.tgz", - "integrity": "sha512-zVk/Furvtkd5ulORFPuYHm9A9y8Edt26RNWabhWHiCShghCl3t9ADiVG9c68IAhkZeToKjA2Nxq8CHRRTDSQqQ==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/ffjavascript/-/ffjavascript-4.0.0.tgz", + "integrity": "sha512-sGPKK0xZ7KDLOsVc8/rCb83iCT1xD12+yfl3eoVNppr4vMcPJcXGwqpw4r1nP3Ln10UHvTCduxjUr3axdoxOSw==", "engines": { "node": ">=18.x", "npm": ">=9.x" } }, "node_modules/@toruslabs/fnd-base": { - "version": "13.4.0", - "resolved": "https://registry.npmjs.org/@toruslabs/fnd-base/-/fnd-base-13.4.0.tgz", - "integrity": "sha512-Fc3uFj5ZfDmR4uWAMRyLVvBsSLXJWBHQoHOsucVqvxXpNeLSrFEQIxqlXsgjRfQPOSKtpljSl1MaXibhb5/hfA==", + "version": "14.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/fnd-base/-/fnd-base-14.0.0.tgz", + "integrity": "sha512-zaYrm/HHHU4Evj/Et1HrVT8hmMaUpVw3Rcx2Gvp1W5pWZybbdEVoa0uqIANYxcr/NH7PUIU3DoRbk+bXx0kkYg==", "dependencies": { - "@toruslabs/constants": "^13.4.0" + "@toruslabs/constants": "^14.0.0" }, "engines": { "node": ">=18.x", @@ -2123,24 +1998,12 @@ "@babel/runtime": "7.x" } }, - "node_modules/@toruslabs/fnd-base/node_modules/@toruslabs/constants": { - "version": "13.4.0", - "resolved": "https://registry.npmjs.org/@toruslabs/constants/-/constants-13.4.0.tgz", - "integrity": "sha512-CjmnMQ5Oj0bqSBGkhv7Xm3LciGJDHwe4AJ1LF6mijlP+QcCnUM5I6kVp60j7zZ/r0DT7nIEiuHHHczGpCZor0A==", - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "7.x" - } - }, "node_modules/@toruslabs/http-helpers": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-6.1.1.tgz", - "integrity": "sha512-bJYOaltRzklzObhRdutT1wau17vXyrCCBKJOeN46F1t99MUXi5udQNeErFOcr9qBsvrq2q67eVBkU5XOeBMX5A==", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-7.0.0.tgz", + "integrity": "sha512-U79uCCA1EAManPmgIn+0YpCrKUxj9C7GYlGt7Ftnd3soYCsAXVqWgck+R5knrNvTSOPmot8QYkTl+ncP44Vg/A==", "dependencies": { - "lodash.merge": "^4.6.2", + "deepmerge": "^4.3.1", "loglevel": "^1.9.1" }, "engines": { @@ -2149,7 +2012,7 @@ }, "peerDependencies": { "@babel/runtime": "^7.x", - "@sentry/types": "^7.x" + "@sentry/types": "^8.x" }, "peerDependenciesMeta": { "@sentry/types": { @@ -2158,14 +2021,14 @@ } }, "node_modules/@toruslabs/metadata-helpers": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@toruslabs/metadata-helpers/-/metadata-helpers-5.1.0.tgz", - "integrity": "sha512-7fdqKuWUaJT/ng+PlqrA4XKkn8Dij4JJozfv/4gHTi0f/6JFncpzIces09jTV70hCf0JIsTCvIDlzKOdJ+aeZg==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/@toruslabs/metadata-helpers/-/metadata-helpers-6.0.0.tgz", + "integrity": "sha512-WHmCpvmZHJtkhiAi13GVeLgpfh6dTm7Z1ugCwRmtTq60rSVYO/euVJxzLRgEnWFMlyM1KFOPJXvd68dWuiYXTA==", "dependencies": { - "@toruslabs/eccrypto": "^4.0.0", - "@toruslabs/http-helpers": "^6.1.0", + "@toruslabs/eccrypto": "^5.0.0", + "@toruslabs/http-helpers": "^7.0.0", "elliptic": "^6.5.5", - "ethereum-cryptography": "^2.1.3", + "ethereum-cryptography": "^2.2.0", "json-stable-stringify": "^1.1.1" }, "engines": { @@ -2176,100 +2039,6 @@ "@babel/runtime": "7.x" } }, - "node_modules/@toruslabs/openlogin": { - "version": "8.2.1", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-8.2.1.tgz", - "integrity": "sha512-2X1s6dg8PhF/eXjKChkEHhKNO27gx7pjdUD7moMwu+YNm3+SJWJtt+bJWNbHIvWKHcCsms7nC8Pn3RZ8arOEQg==", - "dependencies": { - "@toruslabs/constants": "^13.2.0", - "@toruslabs/eccrypto": "^4.0.0", - "@toruslabs/metadata-helpers": "^5.1.0", - "@toruslabs/openlogin-session-manager": "^3.1.1", - "@toruslabs/openlogin-utils": "^8.2.1", - "@toruslabs/secure-pub-sub": "^0.2.0", - "bowser": "^2.11.0", - "events": "^3.3.0", - "loglevel": "^1.9.1", - "ts-custom-error": "^3.3.1" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "7.x" - } - }, - "node_modules/@toruslabs/openlogin-ed25519": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-ed25519/-/openlogin-ed25519-8.1.0.tgz", - "integrity": "sha512-s36rFdrV8b99y7YlCbjaMaO+zbolzTLe2DKItUd0MhXJoJhcTMrgssM2yZRE+9sH3i2RocfbEmtwhVyfeQ2V9Q==", - "dependencies": { - "@toruslabs/tweetnacl-js": "^1.0.4" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "7.x" - } - }, - "node_modules/@toruslabs/openlogin-jrpc": { - "version": "8.3.0", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-8.3.0.tgz", - "integrity": "sha512-1OdSkUXGXJobkkMIJHuf+XzwmUB4ROy6uQfPEJ3NXvNj84+N4hNpvC4JPg7VoWBHdfCba9cv6QnQsVArlwai4A==", - "dependencies": { - "end-of-stream": "^1.4.4", - "events": "^3.3.0", - "fast-safe-stringify": "^2.1.1", - "once": "^1.4.0", - "pump": "^3.0.0", - "readable-stream": "^4.5.2" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "7.x" - } - }, - "node_modules/@toruslabs/openlogin-session-manager": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-session-manager/-/openlogin-session-manager-3.1.1.tgz", - "integrity": "sha512-hikBX7CdiWCTNNfsiacPM9O+2Ysf6ULcn9E4og9BVSt4brduUQoa9ioNY6G5m0eH/xQCzRsLpSRGNuOPTBJm3w==", - "dependencies": { - "@toruslabs/base-session-manager": "^3.1.1", - "@toruslabs/eccrypto": "^4.0.0", - "@toruslabs/metadata-helpers": "5.1.0" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "7.x" - } - }, - "node_modules/@toruslabs/openlogin-subkey": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-subkey/-/openlogin-subkey-8.1.0.tgz", - "integrity": "sha512-2zi044Hh1vmr9XlYb9wnMrkXAcjNSXQGU1ia0XW0kbK4jZCdNkIj+8mdrIJrzCe4z7kfjhepigSi4Anj3e/pNQ==", - "dependencies": { - "@toruslabs/ffjavascript": "^2.1.0", - "@toruslabs/metadata-helpers": "^5.1.0", - "bn.js": "^5.2.1" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "7.x", - "@types/bn.js": "^5.1.1" - } - }, "node_modules/@toruslabs/openlogin-utils": { "version": "8.2.1", "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-8.2.1.tgz", @@ -2299,10 +2068,17 @@ "@babel/runtime": "7.x" } }, - "node_modules/@toruslabs/openlogin/node_modules/@toruslabs/constants": { - "version": "13.4.0", - "resolved": "https://registry.npmjs.org/@toruslabs/constants/-/constants-13.4.0.tgz", - "integrity": "sha512-CjmnMQ5Oj0bqSBGkhv7Xm3LciGJDHwe4AJ1LF6mijlP+QcCnUM5I6kVp60j7zZ/r0DT7nIEiuHHHczGpCZor0A==", + "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==", + "dependencies": { + "@toruslabs/eccrypto": "^5.0.0", + "@toruslabs/http-helpers": "^7.0.0", + "@toruslabs/metadata-helpers": "^6.0.0", + "loglevel": "^1.9.1", + "socket.io-client": "^4.7.5" + }, "engines": { "node": ">=18.x", "npm": ">=9.x" @@ -2311,39 +2087,47 @@ "@babel/runtime": "7.x" } }, - "node_modules/@toruslabs/secure-pub-sub": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/@toruslabs/secure-pub-sub/-/secure-pub-sub-0.2.0.tgz", - "integrity": "sha512-pkpEbeJaGHYUFj7M3lVYfzUFSX+54Vfb4M+IB+RagNpWviTp/rUQ+hy+vcFKkuuwsxZ5NDnucHzb7+XJmdLTmA==", + "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==", "dependencies": { - "@toruslabs/eccrypto": "^4.0.0", - "@toruslabs/http-helpers": "^6.1.0", - "@toruslabs/metadata-helpers": "^5.1.0", - "loglevel": "^1.9.1", - "socket.io-client": "^4.7.4" + "@toruslabs/eccrypto": "^5.0.4", + "@toruslabs/http-helpers": "^7.0.0", + "@toruslabs/metadata-helpers": "^6.0.0" }, "engines": { "node": ">=18.x", "npm": ">=9.x" }, - "peerDependencies": { - "@babel/runtime": "7.x" + "optionalDependencies": { + "@rollup/rollup-linux-x64-gnu": "^4.22.4" } }, - "node_modules/@toruslabs/torus.js": { - "version": "12.3.7", - "resolved": "https://registry.npmjs.org/@toruslabs/torus.js/-/torus.js-12.3.7.tgz", - "integrity": "sha512-PosRhG6stUKmRTUgaucUogXIPfNqeA4UWf/jQ8eU/cxjXjWC9UpPkR0/RbfoOIFfiTxcDgMTHSjt7e48Hwt/vA==", - "deprecated": "Not supported. Pls upgrade", + "node_modules/@toruslabs/session-manager/node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.24.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.3.tgz", + "integrity": "sha512-mnEOh4iE4USSccBOtcrjF5nj+5/zm6NcNhbSEfR3Ot0pxBwvEn5QVUXcuOwwPkapDtGZ6pT02xLoPaNv06w7KQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ] + }, + "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==", "dependencies": { - "@toruslabs/constants": "^13.4.0", - "@toruslabs/eccrypto": "^4.0.0", - "@toruslabs/http-helpers": "^6.1.1", + "assert": "^2.1.0", + "bip39": "^3.1.0", "bn.js": "^5.2.1", - "elliptic": "^6.5.5", - "ethereum-cryptography": "^2.1.3", - "json-stable-stringify": "^1.1.1", - "loglevel": "^1.9.1" + "elliptic": "~6.5.5", + "enc-utils": "^3.0.0", + "ethereum-cryptography": "^2.2.0", + "hash.js": "^1.1.7" }, "engines": { "node": ">=18.x", @@ -2353,10 +2137,20 @@ "@babel/runtime": "7.x" } }, - "node_modules/@toruslabs/torus.js/node_modules/@toruslabs/constants": { - "version": "13.4.0", - "resolved": "https://registry.npmjs.org/@toruslabs/constants/-/constants-13.4.0.tgz", - "integrity": "sha512-CjmnMQ5Oj0bqSBGkhv7Xm3LciGJDHwe4AJ1LF6mijlP+QcCnUM5I6kVp60j7zZ/r0DT7nIEiuHHHczGpCZor0A==", + "node_modules/@toruslabs/torus.js": { + "version": "14.0.2", + "resolved": "https://registry.npmjs.org/@toruslabs/torus.js/-/torus.js-14.0.2.tgz", + "integrity": "sha512-+I3ftH6V/65SyEbltSJHMFVfumHaDphyr5r0tK1+ZZzNzsIJhiQxzIjODyKxlCmxANtl2Z0IVV4NQbZ7j5agjg==", + "dependencies": { + "@toruslabs/constants": "^14.0.0", + "@toruslabs/eccrypto": "^5.0.4", + "@toruslabs/http-helpers": "^7.0.0", + "bn.js": "^5.2.1", + "elliptic": "^6.5.5", + "ethereum-cryptography": "^2.2.1", + "json-stable-stringify": "^1.1.1", + "loglevel": "^1.9.1" + }, "engines": { "node": ">=18.x", "npm": ">=9.x" @@ -2402,15 +2196,6 @@ "vue": "^3.x" } }, - "node_modules/@types/bn.js": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-5.1.5.tgz", - "integrity": "sha512-V46N0zwKRF5Q00AZ6hWtN0T8gGmDUaUzLWQvHFo5yThtVwK/VCenFY3wXVbOvNfajEpsTfQM4IN9k/d6gUVX3A==", - "peer": true, - "dependencies": { - "@types/node": "*" - } - }, "node_modules/@types/connect": { "version": "3.4.38", "resolved": "https://registry.npmjs.org/@types/connect/-/connect-3.4.38.tgz", @@ -2419,14 +2204,6 @@ "@types/node": "*" } }, - "node_modules/@types/debug": { - "version": "4.1.12", - "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.12.tgz", - "integrity": "sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==", - "dependencies": { - "@types/ms": "*" - } - }, "node_modules/@types/estree": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.5.tgz", @@ -2445,17 +2222,12 @@ "integrity": "sha512-dRLjCWHYg4oaA77cxO64oO+7JwCwnIzkZPdrrC71jQmQtlhM556pwKo5bUzqvZndkVbeFLIIi+9TC40JNF5hNQ==", "dev": true }, - "node_modules/@types/ms": { - "version": "0.7.34", - "resolved": "https://registry.npmjs.org/@types/ms/-/ms-0.7.34.tgz", - "integrity": "sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==" - }, "node_modules/@types/node": { - "version": "22.1.0", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.1.0.tgz", - "integrity": "sha512-AOmuRF0R2/5j1knA3c6G3HOk523Ga+l+ZXltX8SF1+5oqcXijjfTd8fY3XRZqSihEu9XhtQnKYLmkFaoxgsJHw==", + "version": "22.7.5", + "resolved": "https://registry.npmjs.org/@types/node/-/node-22.7.5.tgz", + "integrity": "sha512-jML7s2NAzMWc//QSJ1a3prpk78cOPchGvXJsC3C6R6PSMoooztvRVQEz89gmBTBY1SPMaqo5teB4uNHPdetShQ==", "dependencies": { - "undici-types": "~6.13.0" + "undici-types": "~6.19.2" } }, "node_modules/@types/semver": { @@ -3167,50 +2939,114 @@ } } }, - "node_modules/@web3auth/base": { - "version": "8.12.4", - "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-8.12.4.tgz", - "integrity": "sha512-RyHF3KZ0SwTglj1CSPo1tp3s9dZKqaDwvmCN48wgJsC288tAFGvZyqFTqeM10WX56OwUcLBrRl4w7oHpYJ8uXg==", + "node_modules/@web3auth/account-abstraction-provider": { + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/@web3auth/account-abstraction-provider/-/account-abstraction-provider-9.3.1.tgz", + "integrity": "sha512-JwNsIxtlXcKMMMNRf46lIwt2VogpGmhL1OzPx6TNN0e0ANcqgSy1C3floYshWJ0Dv3zcIXr/STdNfHwIP4A4qg==", "dependencies": { - "@toruslabs/constants": "^13.4.0", - "@toruslabs/http-helpers": "^6.1.1", - "@toruslabs/openlogin": "^8.2.1", - "@toruslabs/openlogin-jrpc": "^8.3.0", - "@toruslabs/openlogin-utils": "^8.2.1", - "jwt-decode": "^4.0.0", - "loglevel": "^1.9.1", - "ts-custom-error": "^3.3.1" + "@ethereumjs/util": "^9.1.0", + "@toruslabs/base-controllers": "^6.2.2", + "@web3auth/auth": "^9.4.1", + "@web3auth/base": "^9.3.0", + "@web3auth/base-provider": "^9.3.0", + "@web3auth/ethereum-provider": "^9.3.0", + "ethers": "^6.13.4", + "permissionless": "^0.2.13", + "viem": "^2.21.36" }, "engines": { "node": ">=18.x", "npm": ">=9.x" }, "peerDependencies": { - "@babel/runtime": "^7.x" + "@babel/runtime": "7.x" } }, - "node_modules/@web3auth/base-provider": { - "version": "8.12.4", - "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-8.12.4.tgz", - "integrity": "sha512-LXhc0h/EG9FWGg86+CiLOi2XyZl9rm/fzJmuX8aP7bQbGz+TfbtSIX+0hZvYTAXJnj7vcHCMUj+hwh8hKn6W0A==", + "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==", "dependencies": { - "@toruslabs/base-controllers": "^5.10.0", - "@toruslabs/openlogin-jrpc": "^8.3.0", - "@web3auth/base": "^8.12.4", - "json-rpc-random-id": "^1.0.1" + "@ethereumjs/util": "^9.1.0", + "@toruslabs/constants": "^14.0.0", + "@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/tweetnacl-js": "^1.0.4", + "base64url": "^3.0.1", + "bip39": "^3.1.0", + "bn.js": "^5.2.1", + "bowser": "^2.11.0", + "color": "^4.2.3", + "enc-utils": "^3.0.0", + "end-of-stream": "^1.4.4", + "events": "^3.3.0", + "fast-safe-stringify": "^2.1.1", + "json-stable-stringify": "^1.1.1", + "loglevel": "^1.9.1", + "once": "^1.4.0", + "pump": "^3.0.0", + "readable-stream": "^4.5.2", + "ts-custom-error": "^3.3.1", + "typed-emitter": "^2.1.0" }, "engines": { "node": ">=18.x", "npm": ">=9.x" }, + "optionalDependencies": { + "@nx/nx-linux-x64-gnu": "^19.6.3", + "@rollup/rollup-linux-x64-gnu": "^4.21.1" + }, "peerDependencies": { "@babel/runtime": "7.x" } }, - "node_modules/@web3auth/base/node_modules/@toruslabs/constants": { - "version": "13.4.0", - "resolved": "https://registry.npmjs.org/@toruslabs/constants/-/constants-13.4.0.tgz", - "integrity": "sha512-CjmnMQ5Oj0bqSBGkhv7Xm3LciGJDHwe4AJ1LF6mijlP+QcCnUM5I6kVp60j7zZ/r0DT7nIEiuHHHczGpCZor0A==", + "node_modules/@web3auth/auth/node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.24.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.3.tgz", + "integrity": "sha512-mnEOh4iE4USSccBOtcrjF5nj+5/zm6NcNhbSEfR3Ot0pxBwvEn5QVUXcuOwwPkapDtGZ6pT02xLoPaNv06w7KQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@web3auth/base": { + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-9.3.0.tgz", + "integrity": "sha512-S1X3i83T7HWr+pF+qBG6nAh49bhE/91LzQxQqSTMQ3f0NGdaMWtuQK3QewyO+G71+9+yrhIS0vggnXyAgY9NaA==", + "dependencies": { + "@toruslabs/base-controllers": "^6.2.2", + "@toruslabs/constants": "^14.0.0", + "@toruslabs/http-helpers": "^7.0.0", + "@web3auth/auth": "^9.4.1", + "jwt-decode": "^4.0.0", + "loglevel": "^1.9.2", + "ts-custom-error": "^3.3.1" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x" + } + }, + "node_modules/@web3auth/base-provider": { + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-9.3.0.tgz", + "integrity": "sha512-WiBpeVvyzmrjLQ8XNZMTWdtukDivuEvX8nOwT5FjyWBow5f06GViDRIRhB1D/M8n3xtsID8O/7qb8Gr6lw48zw==", + "dependencies": { + "@toruslabs/base-controllers": "^6.2.2", + "@web3auth/auth": "^9.4.1", + "@web3auth/base": "^9.3.0", + "json-rpc-random-id": "^1.0.1" + }, "engines": { "node": ">=18.x", "npm": ">=9.x" @@ -3220,22 +3056,21 @@ } }, "node_modules/@web3auth/ethereum-provider": { - "version": "8.12.4", - "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-8.12.4.tgz", - "integrity": "sha512-E9ChShysafJJm7JbouY4LarAsRsqCljSwHrjdPyHNR4mtKsXox5oI/fNBeb3gGJPL/rhzEQwE4+GkXQT5OafXQ==", + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-9.3.0.tgz", + "integrity": "sha512-Qe9PAupSJqJEgkSruyusMB0Pu2mVw3JiieaRF4ixTrBnX1V2+wLdYLmQSYl+KBJ3m7ZsQO+omzFaDdZLyFPkew==", "dependencies": { - "@ethereumjs/common": "^4.3.0", - "@ethereumjs/tx": "^5.3.0", - "@ethereumjs/util": "^9.0.3", - "@metamask/eth-sig-util": "7.0.2", - "@toruslabs/base-controllers": "^5.10.0", - "@toruslabs/http-helpers": "^6.1.1", - "@toruslabs/openlogin-jrpc": "^8.3.0", - "@web3auth/base": "^8.12.4", - "@web3auth/base-provider": "^8.12.4", + "@ethereumjs/util": "^9.1.0", + "@toruslabs/base-controllers": "^6.2.2", + "@toruslabs/eccrypto": "^5.0.4", + "@toruslabs/http-helpers": "^7.0.0", + "@web3auth/auth": "^9.4.1", + "@web3auth/base": "^9.3.0", + "@web3auth/base-provider": "^9.3.0", "assert": "^2.1.0", "bignumber.js": "^9.1.2", "bn.js": "^5.2.1", + "ethers": "^6.13.4", "jsonschema": "^1.4.1" }, "engines": { @@ -3246,98 +3081,91 @@ "@babel/runtime": "7.x" } }, - "node_modules/@web3auth/passkeys-sfa-plugin": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/@web3auth/passkeys-sfa-plugin/-/passkeys-sfa-plugin-8.1.0.tgz", - "integrity": "sha512-/ax9/3grBrCVylTfVZV672VQTyHHQ1ppyEBtcLu0VvSG8isc2nkL9Zba3U6ZCoufjLLRYVwKqjNeXW6Qdc4S+Q==", + "node_modules/@web3auth/no-modal": { + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/@web3auth/no-modal/-/no-modal-9.3.1.tgz", + "integrity": "sha512-9yMvWHROUw3twhgFSFPhM1Pq9K7pQ4+XslYGvaZyo1DoCr9fWi0mQSdWlYuuwUzd6OtWNL5EgawBe0f9csAJmQ==", "dependencies": { - "@simplewebauthn/browser": "^10.0.0", - "@simplewebauthn/types": "^10.0.0", - "@toruslabs/eccrypto": "^4.0.0", - "@toruslabs/fetch-node-details": "^13.4.0", - "@toruslabs/http-helpers": "^6.1.1", - "@toruslabs/metadata-helpers": "^5.1.0", - "@toruslabs/openlogin-jrpc": "^8.1.1", - "@toruslabs/openlogin-utils": "^8.1.2", - "@toruslabs/torus.js": "^12.3.5", - "base64url": "^3.0.1", - "cbor-x": "^1.5.9", - "elliptic": "^6.5.5", - "loglevel": "^1.9.1" + "@web3auth/auth": "^9.4.1", + "@web3auth/base": "^9.3.0", + "@web3auth/base-provider": "^9.3.0", + "deepmerge": "^4.3.1" }, "engines": { "node": ">=18.x", "npm": ">=9.x" }, - "optionalDependencies": { - "@rollup/rollup-linux-x64-gnu": "^4.17.2" - }, "peerDependencies": { - "@babel/runtime": "7.x", - "@web3auth/base": "^8.x", - "@web3auth/single-factor-auth": "^8.x" + "@babel/runtime": "^7.x", + "@web3auth/auth-adapter": "^9.x", + "@web3auth/wallet-connect-v2-adapter": "^9.x" + }, + "peerDependenciesMeta": { + "@web3auth/auth-adapter": { + "optional": true + }, + "@web3auth/wallet-connect-v2-adapter": { + "optional": true + } } }, - "node_modules/@web3auth/single-factor-auth": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/@web3auth/single-factor-auth/-/single-factor-auth-8.1.1.tgz", - "integrity": "sha512-K1BJJyc5kVulBhg21RW61lxsg/Vf6FpPNfxPUKA2AfijauepzfGl93vF7vD9o13JHIecS0bzjQkDv9OfT/gNmw==", - "dependencies": { - "@toruslabs/base-controllers": "^5.11.0", - "@toruslabs/constants": "^13.4.0", - "@toruslabs/fetch-node-details": "^13.4.0", - "@toruslabs/openlogin-jrpc": "^8.3.0", - "@toruslabs/openlogin-session-manager": "^3.1.1", - "@toruslabs/openlogin-subkey": "^8.1.0", - "@toruslabs/openlogin-utils": "^8.2.1", - "@toruslabs/torus.js": "^12.3.5", - "@web3auth/base": "^8.12.2", - "bs58": "^5.0.0" + "node_modules/@web3auth/passkeys-sfa-plugin": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@web3auth/passkeys-sfa-plugin/-/passkeys-sfa-plugin-9.0.0.tgz", + "integrity": "sha512-/E85LMBE2G9Lja83uJAtqNI3uZVkByWI0PdYxnLO97PSsPZRkKF2c16KdWEGT37vafOtLZWu6MGAn2G8USEAfw==", + "dependencies": { + "@simplewebauthn/browser": "^10.0.0", + "@simplewebauthn/types": "^10.0.0", + "@toruslabs/eccrypto": "^5.0.4", + "@toruslabs/fetch-node-details": "^14.0.1", + "@toruslabs/http-helpers": "^7.0.0", + "@toruslabs/metadata-helpers": "^6.0.0", + "@toruslabs/torus.js": "^14.0.2", + "@web3auth/auth": "^9.3.3", + "base64url": "^3.0.1", + "cbor-x": "^1.6.0", + "elliptic": "^6.5.7", + "loglevel": "^1.9.2" }, "engines": { "node": ">=18.x", "npm": ">=9.x" }, - "peerDependencies": { - "@babel/runtime": "^7.x" - } - }, - "node_modules/@web3auth/single-factor-auth/node_modules/@toruslabs/constants": { - "version": "13.4.0", - "resolved": "https://registry.npmjs.org/@toruslabs/constants/-/constants-13.4.0.tgz", - "integrity": "sha512-CjmnMQ5Oj0bqSBGkhv7Xm3LciGJDHwe4AJ1LF6mijlP+QcCnUM5I6kVp60j7zZ/r0DT7nIEiuHHHczGpCZor0A==", - "engines": { - "node": ">=18.x", - "npm": ">=9.x" + "optionalDependencies": { + "@rollup/rollup-linux-x64-gnu": "^4.21.3" }, "peerDependencies": { - "@babel/runtime": "7.x" + "@babel/runtime": "7.x", + "@web3auth/base": "^9.x", + "@web3auth/single-factor-auth": "^9.x" } }, - "node_modules/@web3auth/single-factor-auth/node_modules/base-x": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz", - "integrity": "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw==" + "node_modules/@web3auth/passkeys-sfa-plugin/node_modules/@rollup/rollup-linux-x64-gnu": { + "version": "4.24.3", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.24.3.tgz", + "integrity": "sha512-mnEOh4iE4USSccBOtcrjF5nj+5/zm6NcNhbSEfR3Ot0pxBwvEn5QVUXcuOwwPkapDtGZ6pT02xLoPaNv06w7KQ==", + "cpu": [ + "x64" + ], + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@web3auth/single-factor-auth/node_modules/bs58": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz", - "integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==", - "dependencies": { - "base-x": "^4.0.0" - } + "node_modules/@web3auth/single-factor-auth": { + "resolved": "../..", + "link": true }, "node_modules/@web3auth/solana-provider": { - "version": "8.12.4", - "resolved": "https://registry.npmjs.org/@web3auth/solana-provider/-/solana-provider-8.12.4.tgz", - "integrity": "sha512-XDRczfH80epAaUDvhIA22K6/uo+qAusC+OfQ2UUm9xaU0Ri37FfXdjN1IN0FAI2RsYtCLl+jSePhZsLkvM+yGg==", + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/@web3auth/solana-provider/-/solana-provider-9.3.0.tgz", + "integrity": "sha512-FsIsNsYPe4z1ceHm0viR7NBBoM+jaB6l1/p8NU1qbdC6OjpFHe+GxmiKGvVr8Lt3a0oW4Kb8cqzu+DfOeNBdSw==", "dependencies": { - "@toruslabs/base-controllers": "^5.10.0", - "@toruslabs/openlogin-ed25519": "^8.1.0", - "@toruslabs/openlogin-jrpc": "^8.3.0", + "@toruslabs/base-controllers": "^6.2.2", "@toruslabs/tweetnacl-js": "^1.0.4", - "@web3auth/base": "^8.12.4", - "@web3auth/base-provider": "^8.12.4", + "@web3auth/auth": "^9.4.1", + "@web3auth/base": "^9.3.0", + "@web3auth/base-provider": "^9.3.0", "bn.js": "^5.2.1", "bs58": "^5.0.0", "json-rpc-random-id": "^1.0.1" @@ -3364,6 +3192,46 @@ "base-x": "^4.0.0" } }, + "node_modules/@web3auth/wallet-services-plugin": { + "version": "9.3.1", + "resolved": "https://registry.npmjs.org/@web3auth/wallet-services-plugin/-/wallet-services-plugin-9.3.1.tgz", + "integrity": "sha512-rbCayPBBY9eGJQQoHmdckb1hIdHU14nTSAw+ESyJFy5JD56u9mBoi8gq0UnfPX8SIuX6NzxfCvHQEAQJlMGMTQ==", + "dependencies": { + "@web3auth/auth": "^9.4.1", + "@web3auth/base": "^9.3.0", + "@web3auth/no-modal": "^9.3.1", + "@web3auth/ws-embed": "^3.1.0", + "loglevel": "^1.9.2" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x" + } + }, + "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==", + "dependencies": { + "@toruslabs/base-controllers": "^6.2.2", + "@toruslabs/ethereum-controllers": "^6.2.2", + "@web3auth/auth": "^9.4.1", + "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/abitype": { "version": "0.7.1", "resolved": "https://registry.npmjs.org/abitype/-/abitype-0.7.1.tgz", @@ -3410,6 +3278,11 @@ "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, + "node_modules/aes-js": { + "version": "4.0.0-beta.5", + "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-4.0.0-beta.5.tgz", + "integrity": "sha512-G965FqalsNyrPqgEGON7nIx1e/OVENSgiEIzyC63haUMuvNnwIgIjMs52hlTCKhkBny7A2ORNlfY9Zu+jmGk1Q==" + }, "node_modules/agentkeepalive": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/agentkeepalive/-/agentkeepalive-4.5.0.tgz", @@ -3828,6 +3701,14 @@ "file-uri-to-path": "1.0.0" } }, + "node_modules/bip39": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/bip39/-/bip39-3.1.0.tgz", + "integrity": "sha512-c9kiwdk45Do5GL0vJMe7tS95VjCii65mYAH7DfWl3uW8AVzXKQVUm64i3hzVybBDMp9r7j9iNxR85+ul8MdN/A==", + "dependencies": { + "@noble/hashes": "^1.2.0" + } + }, "node_modules/bn.js": { "version": "5.2.1", "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.1.tgz", @@ -4364,6 +4245,14 @@ "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", "dev": true }, + "node_modules/deepmerge": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/define-data-property": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", @@ -4493,6 +4382,15 @@ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==" }, + "node_modules/enc-utils": { + "version": "3.0.0", + "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" + } + }, "node_modules/end-of-stream": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", @@ -5642,6 +5540,55 @@ "@scure/bip39": "1.3.0" } }, + "node_modules/ethers": { + "version": "6.13.4", + "resolved": "https://registry.npmjs.org/ethers/-/ethers-6.13.4.tgz", + "integrity": "sha512-21YtnZVg4/zKkCQPjrDj38B1r4nQvTZLopUGMLQ1ePU2zV/joCfDC3t3iKQjWRzjjjbzR+mdAIoikeBRNkdllA==", + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/ethers-io/" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@adraffy/ens-normalize": "1.10.1", + "@noble/curves": "1.2.0", + "@noble/hashes": "1.3.2", + "@types/node": "22.7.5", + "aes-js": "4.0.0-beta.5", + "tslib": "2.7.0", + "ws": "8.17.1" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/ethers/node_modules/@noble/curves": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.2.0.tgz", + "integrity": "sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==", + "dependencies": { + "@noble/hashes": "1.3.2" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/ethers/node_modules/@noble/hashes": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.3.2.tgz", + "integrity": "sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==", + "engines": { + "node": ">= 16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, "node_modules/event-target-shim": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", @@ -5674,8 +5621,7 @@ "node_modules/fast-deep-equal": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==" }, "node_modules/fast-diff": { "version": "1.3.0", @@ -5709,6 +5655,11 @@ "node": ">= 6" } }, + "node_modules/fast-json-patch": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/fast-json-patch/-/fast-json-patch-3.1.1.tgz", + "integrity": "sha512-vf6IHUX2SBcA+5/+4883dsIjpBTqmfBjmYiWK1savxQmFk4JfBMLa7ynTYOs1Rolp/T1betJxHiGD3g1Mn8lUQ==" + }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", @@ -6596,6 +6547,11 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-typedarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", + "integrity": "sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==" + }, "node_modules/is-weakmap": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/is-weakmap/-/is-weakmap-2.0.2.tgz", @@ -6654,6 +6610,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", "resolved": "https://registry.npmjs.org/iterator.prototype/-/iterator.prototype-1.1.2.tgz", @@ -6987,12 +6957,13 @@ "node_modules/lodash.merge": { "version": "4.6.2", "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==" + "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", + "dev": true }, "node_modules/loglevel": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.9.1.tgz", - "integrity": "sha512-hP3I3kCrDIMuRwAwHltphhDM1r8i55H33GgqjXbrisuJhF4kRhW1dNuxsRklp4bXl8DSdLaNLuiL4A/LWRfxvg==", + "version": "1.9.2", + "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.9.2.tgz", + "integrity": "sha512-HgMmCqIJSAKqo68l0rS2AanEWfkxaZ5wNiEFb5ggm08lDs9Xl2KxBlX3PTcaD2chBM1gXAYf491/M2Rv8Jwayg==", "engines": { "node": ">= 0.6.0" }, @@ -7034,11 +7005,6 @@ "node": ">= 8" } }, - "node_modules/micro-ftch": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/micro-ftch/-/micro-ftch-0.3.1.tgz", - "integrity": "sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg==" - }, "node_modules/micromatch": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", @@ -7485,6 +7451,14 @@ "node": ">=8" } }, + "node_modules/permissionless": { + "version": "0.2.13", + "resolved": "https://registry.npmjs.org/permissionless/-/permissionless-0.2.13.tgz", + "integrity": "sha512-8VxJQP7ezwGKSdRvk/Q09i/+WtVxfdFuk3XEQSXyTbWVIxU9SRYPDLW2QuUlxiFsAOdDSRwuFGsrtevwBdcqdQ==", + "peerDependencies": { + "viem": "^2.21.22" + } + }, "node_modules/picocolors": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.0.1.tgz", @@ -7517,14 +7491,6 @@ "node": ">= 6" } }, - "node_modules/pony-cause": { - "version": "2.1.11", - "resolved": "https://registry.npmjs.org/pony-cause/-/pony-cause-2.1.11.tgz", - "integrity": "sha512-M7LhCsdNbNgiLYiP4WjsfLUuFmCfnjdF6jKe2R9NKl4WFN+HZPGHJZ9lnLP7f9ZnKe3U9nuWD0szirmj+migUg==", - "engines": { - "node": ">=12.0.0" - } - }, "node_modules/possible-typed-array-names": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/possible-typed-array-names/-/possible-typed-array-names-1.0.0.tgz", @@ -7736,9 +7702,9 @@ } }, "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.2.tgz", + "integrity": "sha512-tUPXtzlGM8FE3P0ZL6DVs/3P58k9nk8/jZeQCurTJylQA8qFYzHFfhBJkuqyE0FifOsQ0uKWekiZ5g8wtr28cw==", "dependencies": { "end-of-stream": "^1.1.0", "once": "^1.3.1" @@ -8060,6 +8026,15 @@ "queue-microtask": "^1.2.2" } }, + "node_modules/rxjs": { + "version": "7.8.1", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-7.8.1.tgz", + "integrity": "sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg==", + "optional": true, + "dependencies": { + "tslib": "^2.1.0" + } + }, "node_modules/safe-array-concat": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/safe-array-concat/-/safe-array-concat-1.1.2.tgz", @@ -8118,6 +8093,7 @@ "version": "7.6.3", "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "dev": true, "bin": { "semver": "bin/semver.js" }, @@ -8678,14 +8654,9 @@ } }, "node_modules/tslib": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.6.3.tgz", - "integrity": "sha512-xNvxJEOUiWPGhUuUdQgAJPKOOJfGnIyKySOc09XkKsgdUV/3E2zvwZYdejjmRgPCgcym1juLH3226yA7sEFJKQ==" - }, - "node_modules/tweetnacl": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-1.0.3.tgz", - "integrity": "sha512-6rt+RN7aOi1nGMyC4Xa5DdYiukl2UWCbcJft7YhxReBGQD7OAM8Pbxw6YMo4r2diNEA8FEmu32YOn9rhaiE5yw==" + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.7.0.tgz", + "integrity": "sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==" }, "node_modules/type-check": { "version": "0.4.0", @@ -8784,6 +8755,22 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/typed-emitter": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/typed-emitter/-/typed-emitter-2.1.0.tgz", + "integrity": "sha512-g/KzbYKbH5C2vPkaXGu8DJlHrGKHLsM25Zg9WuC9pMGfuvT+X25tZQWo5fK1BjBm8+UrVE9LDCvaY0CQk+fXDA==", + "optionalDependencies": { + "rxjs": "*" + } + }, + "node_modules/typedarray-to-buffer": { + "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==", + "dependencies": { + "is-typedarray": "^1.0.0" + } + }, "node_modules/typescript": { "version": "5.5.4", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.5.4.tgz", @@ -8812,9 +8799,9 @@ } }, "node_modules/undici-types": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.13.0.tgz", - "integrity": "sha512-xtFJHudx8S2DSoujjMd1WeWvn7KKWFRESZTMeL1RptAYERu29D6jphMjjY+vn96jvN3kVPDNxU/E13VTaXj6jg==" + "version": "6.19.8", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz", + "integrity": "sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw==" }, "node_modules/unload": { "version": "2.4.1", @@ -8892,16 +8879,129 @@ "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", "integrity": "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==" }, - "node_modules/uuid": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", - "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "node_modules/viem": { + "version": "2.21.37", + "resolved": "https://registry.npmjs.org/viem/-/viem-2.21.37.tgz", + "integrity": "sha512-JupwyttT4aJNnP9+kD7E8jorMS5VmgpC3hm3rl5zXsO8WNBTsP3JJqZUSg4AG6s2lTrmmpzS/qpmXMZu5gJw5Q==", "funding": [ - "https://github.com/sponsors/broofa", - "https://github.com/sponsors/ctavan" + { + "type": "github", + "url": "https://github.com/sponsors/wevm" + } ], - "bin": { - "uuid": "dist/bin/uuid" + "dependencies": { + "@adraffy/ens-normalize": "1.11.0", + "@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", + "webauthn-p256": "0.0.10", + "ws": "8.18.0" + }, + "peerDependencies": { + "typescript": ">=5.0.4" + }, + "peerDependenciesMeta": { + "typescript": { + "optional": true + } + } + }, + "node_modules/viem/node_modules/@adraffy/ens-normalize": { + "version": "1.11.0", + "resolved": "https://registry.npmjs.org/@adraffy/ens-normalize/-/ens-normalize-1.11.0.tgz", + "integrity": "sha512-/3DDPKHqqIqxUULp8yP4zODUY1i+2xvVWsv8A79xGWdCAG+8sb0hRh0Rk2QyOJUnnbyPUAZYcpBuRe3nS2OIUg==" + }, + "node_modules/viem/node_modules/@noble/curves": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@noble/curves/-/curves-1.6.0.tgz", + "integrity": "sha512-TlaHRXDehJuRNR9TfZDNQ45mMEd5dwUwmicsafcIX4SsNiqnCHKjE/1alYPd/lDRVhxdhUAlv8uEhMCI5zjIJQ==", + "dependencies": { + "@noble/hashes": "1.5.0" + }, + "engines": { + "node": "^14.21.3 || >=16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "node_modules/viem/node_modules/@noble/hashes": { + "version": "1.5.0", + "resolved": "https://registry.npmjs.org/@noble/hashes/-/hashes-1.5.0.tgz", + "integrity": "sha512-1j6kQFb7QRru7eKN3ZDvRcP13rugwdxZqCjbiAVZfIJwgj2A65UmT4TgARXGlXgnRkORLTDTrO19ZErt7+QXgA==", + "engines": { + "node": "^14.21.3 || >=16" + }, + "funding": { + "url": "https://paulmillr.com/funding/" + } + }, + "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/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/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": { @@ -9387,6 +9487,21 @@ "npm": ">=6.12.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", "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-3.0.1.tgz", diff --git a/example/vue-app/package.json b/example/vue-app/package.json index b898dcf..e880a35 100644 --- a/example/vue-app/package.json +++ b/example/vue-app/package.json @@ -14,11 +14,14 @@ "@toruslabs/openlogin-utils": "^8.2.1", "@toruslabs/vue-components": "^7.8.3", "@toruslabs/vue-icons": "^7.6.2", - "@web3auth/base": "^8.12.4", - "@web3auth/ethereum-provider": "^8.12.4", - "@web3auth/passkeys-sfa-plugin": "^8.1.0", - "@web3auth/single-factor-auth": "^8.1.1", - "@web3auth/solana-provider": "^8.12.4", + "@web3auth/account-abstraction-provider": "^9.3.0", + "@web3auth/auth": "^9.4.1", + "@web3auth/base": "^9.3.0", + "@web3auth/ethereum-provider": "^9.3.0", + "@web3auth/passkeys-sfa-plugin": "^9.0.0", + "@web3auth/single-factor-auth": "file:../..", + "@web3auth/solana-provider": "^9.3.0", + "@web3auth/wallet-services-plugin": "^9.3.0", "base64url": "^3.0.1", "vue": "^3.4.31", "vue-i18n": "^9.13.1", diff --git a/example/vue-app/src/App.vue b/example/vue-app/src/App.vue index 842f6e7..162c192 100644 --- a/example/vue-app/src/App.vue +++ b/example/vue-app/src/App.vue @@ -1,6 +1,15 @@