From 98bc1cb80c6a7f2dc64e956c85b3e917ac05489c Mon Sep 17 00:00:00 2001 From: Chaitanya Potti Date: Wed, 31 Jan 2024 15:07:22 +0800 Subject: [PATCH] Update deps --- package-lock.json | 982 ++++++++----------------------- package.json | 6 +- src/components/Navbar/Navbar.vue | 2 +- src/store/web3authStore.ts | 20 +- 4 files changed, 263 insertions(+), 747 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6351632..65cf900 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,11 +13,11 @@ "@toruslabs/vue-icons": "^7.2.0", "@vueuse/core": "^10.6.1", "@walletconnect/sign-client": "^2.11.0", - "@web3auth/default-evm-adapter": "^8.0.0-alpha.4", + "@web3auth/default-evm-adapter": "^8.0.0-alpha.7", "@web3auth/ethereum-provider": "^8.0.0-alpha.0", - "@web3auth/modal": "^8.0.0-alpha.4", + "@web3auth/modal": "^8.0.0-alpha.7", "@web3auth/openlogin-adapter": "^8.0.0-alpha.0", - "@web3auth/wallet-services-plugin": "^8.0.0-alpha.6", + "@web3auth/wallet-services-plugin": "^8.0.0-alpha.7", "bowser": "^2.11.0", "ethereum-public-key-to-address": "^0.0.5", "ethers": "^6.10.0", @@ -54,6 +54,162 @@ "vue-tsc": "^1.8.24" } }, + "../Web3Auth/packages/adapters/default-evm-adapter": { + "name": "@web3auth/default-evm-adapter", + "version": "8.0.0-alpha.7", + "license": "ISC", + "dependencies": { + "@web3auth/base": "^8.0.0-alpha.0", + "@web3auth/metamask-adapter": "^8.0.0-alpha.0", + "@web3auth/torus-evm-adapter": "^8.0.0-alpha.0", + "@web3auth/wallet-connect-v2-adapter": "^8.0.0-alpha.4" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x" + } + }, + "../Web3Auth/packages/adapters/openlogin-adapter": { + "name": "@web3auth/openlogin-adapter", + "version": "8.0.0-alpha.0", + "license": "ISC", + "dependencies": { + "@toruslabs/openlogin": "^6.2.5", + "@toruslabs/openlogin-utils": "^6.2.5", + "@web3auth/base": "^8.0.0-alpha.0", + "@web3auth/base-provider": "^8.0.0-alpha.0", + "lodash.merge": "^4.6.2" + }, + "devDependencies": { + "@types/lodash.merge": "^4.6.9" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x" + } + }, + "../Web3Auth/packages/base": { + "name": "@web3auth/base", + "version": "8.0.0-alpha.0", + "extraneous": true, + "license": "ISC", + "dependencies": { + "@toruslabs/http-helpers": "^6.0.0", + "@toruslabs/openlogin": "^6.2.5", + "@toruslabs/openlogin-jrpc": "^6.2.8", + "@toruslabs/openlogin-utils": "^6.2.5", + "jwt-decode": "^4.0.0", + "loglevel": "^1.9.1", + "ts-custom-error": "^3.3.1" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x" + } + }, + "../Web3Auth/packages/modal": { + "name": "@web3auth/modal", + "version": "8.0.0-alpha.7", + "license": "ISC", + "dependencies": { + "@web3auth/base": "^8.0.0-alpha.0", + "@web3auth/base-provider": "^8.0.0-alpha.0", + "@web3auth/no-modal": "^8.0.0-alpha.4", + "@web3auth/openlogin-adapter": "^8.0.0-alpha.0", + "@web3auth/ui": "^8.0.0-alpha.0" + }, + "devDependencies": { + "@svgr/webpack": "^8.1.0", + "@toruslabs/isomorphic-style-loader": "^5.3.3", + "@toruslabs/openlogin-utils": "^6.2.5", + "@web3auth/wallet-connect-v2-adapter": "^8.0.0-alpha.4", + "css-loader": "^6.9.1", + "postcss-prefix-selector": "^1.16.0", + "style-loader": "^3.3.4", + "tailwindcss": "^3.4.1", + "url-loader": "^4.1.1" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x", + "@web3auth/wallet-connect-v2-adapter": "^8.x" + }, + "peerDependenciesMeta": { + "@web3auth/wallet-connect-v2-adapter": { + "optional": true + } + } + }, + "../Web3Auth/packages/plugins/wallet-services-plugin": { + "name": "@web3auth/wallet-services-plugin", + "version": "8.0.0-alpha.7", + "license": "ISC", + "dependencies": { + "@web3auth/base": "^8.0.0-alpha.0", + "@web3auth/base-plugin": "^8.0.0-alpha.0", + "@web3auth/no-modal": "^8.0.0-alpha.4", + "@web3auth/ws-embed": "^1.0.1-beta.3", + "loglevel": "^1.9.1" + }, + "devDependencies": { + "@metamask/rpc-errors": "^6.1.0", + "@web3auth/openlogin-adapter": "^8.0.0-alpha.0" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "^7.x", + "@web3auth/openlogin-adapter": "^8.x" + } + }, + "../Web3Auth/packages/providers/ethereum-provider": { + "name": "@web3auth/ethereum-provider", + "version": "8.0.0-alpha.0", + "license": "ISC", + "dependencies": { + "@ethereumjs/common": "^4.1.0", + "@ethereumjs/tx": "^5.1.0", + "@ethereumjs/util": "^9.0.1", + "@metamask/eth-sig-util": "^7.0.1", + "@metamask/rpc-errors": "^6.1.0", + "@toruslabs/base-controllers": "^5.3.6", + "@toruslabs/http-helpers": "^6.0.0", + "@toruslabs/openlogin-jrpc": "^6.2.8", + "@walletconnect/utils": "^2.11.0", + "@web3auth/base": "^8.0.0-alpha.0", + "@web3auth/base-provider": "^8.0.0-alpha.0", + "assert": "^2.1.0", + "bignumber.js": "^9.1.2", + "bn.js": "^5.2.1", + "jsonschema": "^1.4.1" + }, + "devDependencies": { + "@types/bn.js": "^5.1.5", + "@types/json-rpc-random-id": "^1.0.3", + "@walletconnect/types": "^2.11.0" + }, + "engines": { + "node": ">=18.x", + "npm": ">=9.x" + }, + "peerDependencies": { + "@babel/runtime": "7.x" + } + }, "node_modules/@aashutoshrathi/word-wrap": { "version": "1.2.6", "resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz", @@ -811,14 +967,6 @@ "node": ">=16.0.0" } }, - "node_modules/@metamask/detect-provider": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@metamask/detect-provider/-/detect-provider-2.0.0.tgz", - "integrity": "sha512-sFpN+TX13E9fdBDh9lvQeZdJn4qYoRb/6QF2oZZK/Pn559IhCFacPMU1rMuqyXoFQF3JSJfii2l98B87QDPeCQ==", - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/@metamask/eth-sig-util": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/@metamask/eth-sig-util/-/eth-sig-util-7.0.1.tgz", @@ -1713,43 +1861,6 @@ "@babel/runtime": "7.x" } }, - "node_modules/@toruslabs/base-session-manager": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@toruslabs/base-session-manager/-/base-session-manager-3.0.0.tgz", - "integrity": "sha512-+EqwizmSFkVEczUtaw+swbAxRIIxC/EaFE040rwfgC5fixaQMNLw2cVYXWN67Ra47wC9A7Om6xwQTuGFR+dy4w==", - "dependencies": { - "@toruslabs/http-helpers": "^5.0.0" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "7.x" - } - }, - "node_modules/@toruslabs/base-session-manager/node_modules/@toruslabs/http-helpers": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-5.0.0.tgz", - "integrity": "sha512-GmezWz9JeF6YyhjLSm+9XDF4YaeICEckY0Jbo43i86SjhfJYgRWqEi63VSiNsaqc/z810Q0FQvEk1TnBRX2tgA==", - "dependencies": { - "lodash.merge": "^4.6.2", - "loglevel": "^1.8.1" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "^7.x", - "@sentry/types": "^7.x" - }, - "peerDependenciesMeta": { - "@sentry/types": { - "optional": true - } - } - }, "node_modules/@toruslabs/broadcast-channel": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/@toruslabs/broadcast-channel/-/broadcast-channel-9.0.1.tgz", @@ -1886,29 +1997,6 @@ } } }, - "node_modules/@toruslabs/openlogin": { - "version": "6.2.5", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin/-/openlogin-6.2.5.tgz", - "integrity": "sha512-8jykMP+aNYv+HUGOqVDtVRdQq/clI2M9PpUc0FSEw4VGKmjC8a/jxNaVxxs6LMrKu1wq07t3tJbGBtboeKxWhQ==", - "dependencies": { - "@toruslabs/eccrypto": "^4.0.0", - "@toruslabs/metadata-helpers": "^5.0.0", - "@toruslabs/openlogin-session-manager": "^3.0.0", - "@toruslabs/openlogin-utils": "^6.2.5", - "@toruslabs/secure-pub-sub": "^0.0.1", - "bowser": "^2.11.0", - "events": "^3.3.0", - "loglevel": "^1.8.1", - "ts-custom-error": "^3.3.1" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "7.x" - } - }, "node_modules/@toruslabs/openlogin-jrpc": { "version": "6.2.8", "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-6.2.8.tgz", @@ -1931,23 +2019,6 @@ "@babel/runtime": "7.x" } }, - "node_modules/@toruslabs/openlogin-session-manager": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-session-manager/-/openlogin-session-manager-3.0.0.tgz", - "integrity": "sha512-S+nnZQ+Y+XCHvTYaov3ltiV2hAAPpKpwxvB4TmbMvi7KWOZ8BcUJQykSITlIXV4aE5y5BD96rsmjQ3C3MyVtUQ==", - "dependencies": { - "@toruslabs/base-session-manager": "^3.0.0", - "@toruslabs/eccrypto": "^4.0.0", - "@toruslabs/metadata-helpers": "5.0.0" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "7.x" - } - }, "node_modules/@toruslabs/openlogin-utils": { "version": "6.2.5", "resolved": "https://registry.npmjs.org/@toruslabs/openlogin-utils/-/openlogin-utils-6.2.5.tgz", @@ -1964,69 +2035,6 @@ "@babel/runtime": "7.x" } }, - "node_modules/@toruslabs/secure-pub-sub": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/@toruslabs/secure-pub-sub/-/secure-pub-sub-0.0.1.tgz", - "integrity": "sha512-fuvjilsNhJ9zdeFcYBwFq6BxhFJU6vkCU3Xm4BcnXLtGxm79N9rj1C8rwFQY2TSgpAcD8NZsuuJqneRG7M9kpg==", - "dependencies": { - "@toruslabs/eccrypto": "^4.0.0", - "@toruslabs/http-helpers": "^5.0.0", - "@toruslabs/metadata-helpers": "^5.0.0", - "loglevel": "^1.8.1", - "socket.io-client": "^4.7.2" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "7.x" - } - }, - "node_modules/@toruslabs/secure-pub-sub/node_modules/@toruslabs/http-helpers": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/@toruslabs/http-helpers/-/http-helpers-5.0.0.tgz", - "integrity": "sha512-GmezWz9JeF6YyhjLSm+9XDF4YaeICEckY0Jbo43i86SjhfJYgRWqEi63VSiNsaqc/z810Q0FQvEk1TnBRX2tgA==", - "dependencies": { - "lodash.merge": "^4.6.2", - "loglevel": "^1.8.1" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "^7.x", - "@sentry/types": "^7.x" - }, - "peerDependenciesMeta": { - "@sentry/types": { - "optional": true - } - } - }, - "node_modules/@toruslabs/torus-embed": { - "version": "4.1.3", - "resolved": "https://registry.npmjs.org/@toruslabs/torus-embed/-/torus-embed-4.1.3.tgz", - "integrity": "sha512-oa8LJbuoNLWqBUCHKTUYqaqvtad4jUhEDDtbMTPpzLCfKcTuEo3dkR08Ht0fl62vBt2A2QwR9GUpw4+x/2ApGg==", - "dependencies": { - "@metamask/rpc-errors": "^6.1.0", - "@toruslabs/http-helpers": "^6.0.0", - "@toruslabs/openlogin-jrpc": "^6.1.0", - "fast-deep-equal": "^3.1.3", - "lodash.merge": "^4.6.2", - "loglevel": "^1.8.1", - "pump": "^3.0.0", - "readable-stream": "^4.4.2" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "7.x" - } - }, "node_modules/@toruslabs/vue-components": { "version": "7.3.0", "resolved": "https://registry.npmjs.org/@toruslabs/vue-components/-/vue-components-7.3.0.tgz", @@ -2987,399 +2995,100 @@ "events": "^3.3.0" } }, - "node_modules/@walletconnect/time": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@walletconnect/time/-/time-1.0.2.tgz", - "integrity": "sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g==", - "dependencies": { - "tslib": "1.14.1" - } - }, - "node_modules/@walletconnect/time/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "node_modules/@walletconnect/types": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.11.0.tgz", - "integrity": "sha512-AB5b1lrEbCGHxqS2vqfCkIoODieH+ZAUp9rA1O2ftrhnqDJiJK983Df87JhYhECsQUBHHfALphA8ydER0q+9sw==", - "dependencies": { - "@walletconnect/events": "^1.0.1", - "@walletconnect/heartbeat": "1.2.1", - "@walletconnect/jsonrpc-types": "1.0.3", - "@walletconnect/keyvaluestorage": "^1.1.1", - "@walletconnect/logger": "^2.0.1", - "events": "^3.3.0" - } - }, - "node_modules/@walletconnect/utils": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.11.0.tgz", - "integrity": "sha512-hxkHPlTlDQILHfIKXlmzgNJau/YcSBC3XHUSuZuKZbNEw3duFT6h6pm3HT/1+j1a22IG05WDsNBuTCRkwss+BQ==", - "dependencies": { - "@stablelib/chacha20poly1305": "1.0.1", - "@stablelib/hkdf": "1.0.1", - "@stablelib/random": "^1.0.2", - "@stablelib/sha256": "1.0.1", - "@stablelib/x25519": "^1.0.3", - "@walletconnect/relay-api": "^1.0.9", - "@walletconnect/safe-json": "^1.0.2", - "@walletconnect/time": "^1.0.2", - "@walletconnect/types": "2.11.0", - "@walletconnect/window-getters": "^1.0.1", - "@walletconnect/window-metadata": "^1.0.1", - "detect-browser": "5.3.0", - "query-string": "7.1.3", - "uint8arrays": "^3.1.0" - } - }, - "node_modules/@walletconnect/window-getters": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.1.tgz", - "integrity": "sha512-vHp+HqzGxORPAN8gY03qnbTMnhqIwjeRJNOMOAzePRg4xVEEE2WvYsI9G2NMjOknA8hnuYbU3/hwLcKbjhc8+Q==", - "dependencies": { - "tslib": "1.14.1" - } - }, - "node_modules/@walletconnect/window-getters/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "node_modules/@walletconnect/window-metadata": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.1.tgz", - "integrity": "sha512-9koTqyGrM2cqFRW517BPY/iEtUDx2r1+Pwwu5m7sJ7ka79wi3EyqhqcICk/yDmv6jAS1rjKgTKXlEhanYjijcA==", - "dependencies": { - "@walletconnect/window-getters": "^1.0.1", - "tslib": "1.14.1" - } - }, - "node_modules/@walletconnect/window-metadata/node_modules/tslib": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", - "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" - }, - "node_modules/@web3auth/base": { - "version": "8.0.0-alpha.0", - "resolved": "https://registry.npmjs.org/@web3auth/base/-/base-8.0.0-alpha.0.tgz", - "integrity": "sha512-nKDOF0R/UyZEbCeoUVZNRK+FGVfFsqPEltEsRmk5wEykC9OK08OLRnYuObmMg3HG6w535PImVRqQ6z2G9OIO4Q==", - "dependencies": { - "@toruslabs/http-helpers": "^6.0.0", - "@toruslabs/openlogin": "^6.2.5", - "@toruslabs/openlogin-jrpc": "^6.2.8", - "@toruslabs/openlogin-utils": "^6.2.5", - "jwt-decode": "^4.0.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/@web3auth/base-evm-adapter": { - "version": "8.0.0-alpha.0", - "resolved": "https://registry.npmjs.org/@web3auth/base-evm-adapter/-/base-evm-adapter-8.0.0-alpha.0.tgz", - "integrity": "sha512-yYmtgcaGi8L0Z7e5Kb5omb5FvVycJKWmxhLrn88AKg5ab97UsinZhzyvOgqVXLbcjwSRw27l9DUgFzEF9gszog==", - "dependencies": { - "@web3auth/base": "^8.0.0-alpha.0" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "^7.x" - } - }, - "node_modules/@web3auth/base-plugin": { - "version": "8.0.0-alpha.0", - "resolved": "https://registry.npmjs.org/@web3auth/base-plugin/-/base-plugin-8.0.0-alpha.0.tgz", - "integrity": "sha512-dSb5dwciIlY1fTD99qmQdhwBTXlqZS22L+BzmXTvBh2TUs5jXu7HfYy5bAevzsEdyQ6CYPFQO1s3IayKMIipgg==", - "dependencies": { - "@web3auth/base": "^8.0.0-alpha.0" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - } - }, - "node_modules/@web3auth/base-provider": { - "version": "8.0.0-alpha.0", - "resolved": "https://registry.npmjs.org/@web3auth/base-provider/-/base-provider-8.0.0-alpha.0.tgz", - "integrity": "sha512-nn3S2+OGGHffjMrggTALiWb/9MgkOtv8S57Xj2L+h6qT8jMpZ4AXgvTQApG1fcKJc3+EAb/DUQaPzcMo8LbqNg==", - "dependencies": { - "@metamask/rpc-errors": "^6.1.0", - "@toruslabs/base-controllers": "^5.3.6", - "@toruslabs/openlogin-jrpc": "^6.2.8", - "@web3auth/base": "^8.0.0-alpha.0", - "json-rpc-random-id": "^1.0.1" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "7.x" - } - }, - "node_modules/@web3auth/default-evm-adapter": { - "version": "8.0.0-alpha.4", - "resolved": "https://registry.npmjs.org/@web3auth/default-evm-adapter/-/default-evm-adapter-8.0.0-alpha.4.tgz", - "integrity": "sha512-r/innszLG8TcHgyDANeKn/3l4wE5zdUXZZ4yIHPUTpfMmCLY/YhQKVtOKGR42VLxh1OvXa/lu6jpLrxNHT1LRg==", - "dependencies": { - "@web3auth/base": "^8.0.0-alpha.0", - "@web3auth/metamask-adapter": "^8.0.0-alpha.0", - "@web3auth/openlogin-adapter": "^8.0.0-alpha.0", - "@web3auth/torus-evm-adapter": "^8.0.0-alpha.0", - "@web3auth/wallet-connect-v2-adapter": "^8.0.0-alpha.4" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "^7.x" - } - }, - "node_modules/@web3auth/ethereum-provider": { - "version": "8.0.0-alpha.0", - "resolved": "https://registry.npmjs.org/@web3auth/ethereum-provider/-/ethereum-provider-8.0.0-alpha.0.tgz", - "integrity": "sha512-wtJtATVE4x73gcZx5z7cJe4dZ5ilXh2QMfL9fcDTOy/kJc/IUY7bgcp+Q6A0QCpDcB46TdrUaJ9Qdt1EdOnqhw==", - "dependencies": { - "@ethereumjs/common": "^4.1.0", - "@ethereumjs/tx": "^5.1.0", - "@ethereumjs/util": "^9.0.1", - "@metamask/eth-sig-util": "^7.0.1", - "@metamask/rpc-errors": "^6.1.0", - "@toruslabs/base-controllers": "^5.3.6", - "@toruslabs/http-helpers": "^6.0.0", - "@toruslabs/openlogin-jrpc": "^6.2.8", - "@walletconnect/utils": "^2.11.0", - "@web3auth/base": "^8.0.0-alpha.0", - "@web3auth/base-provider": "^8.0.0-alpha.0", - "assert": "^2.1.0", - "bignumber.js": "^9.1.2", - "bn.js": "^5.2.1", - "jsonschema": "^1.4.1" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "7.x" - } - }, - "node_modules/@web3auth/metamask-adapter": { - "version": "8.0.0-alpha.0", - "resolved": "https://registry.npmjs.org/@web3auth/metamask-adapter/-/metamask-adapter-8.0.0-alpha.0.tgz", - "integrity": "sha512-HtgIfvnnnsx8W37t9hhhySSIBB/o7Hlk1frY2J5Z1Tl4wz122fjaQgKLsz+y04MxWmFnHMrTude0Cofl6ZVHMg==", - "dependencies": { - "@metamask/detect-provider": "^2.0.0", - "@web3auth/base": "^8.0.0-alpha.0", - "@web3auth/base-evm-adapter": "^8.0.0-alpha.0" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "^7.x" - } - }, - "node_modules/@web3auth/modal": { - "version": "8.0.0-alpha.4", - "resolved": "https://registry.npmjs.org/@web3auth/modal/-/modal-8.0.0-alpha.4.tgz", - "integrity": "sha512-DXHS1/d9mLGBbjYoHjGJIDDTgf5PAEOMB+hb5jWhrBj4MLUA8YRpmB11Wv7it/hAqDiISQ1Kax/lHkRdvKsaJw==", - "dependencies": { - "@web3auth/base": "^8.0.0-alpha.0", - "@web3auth/base-provider": "^8.0.0-alpha.0", - "@web3auth/no-modal": "^8.0.0-alpha.4", - "@web3auth/ui": "^8.0.0-alpha.0" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "^7.x", - "@web3auth/openlogin-adapter": "^8.x", - "@web3auth/wallet-connect-v2-adapter": "^8.x" - }, - "peerDependenciesMeta": { - "@web3auth/openlogin-adapter": { - "optional": true - }, - "@web3auth/wallet-connect-v2-adapter": { - "optional": true - } - } - }, - "node_modules/@web3auth/no-modal": { - "version": "8.0.0-alpha.4", - "resolved": "https://registry.npmjs.org/@web3auth/no-modal/-/no-modal-8.0.0-alpha.4.tgz", - "integrity": "sha512-/fnI9fU8pnW1qzLxfLhujPu3HJLspvlZmsH8wMQgYVPk8yAn7ieFdlYlbuvoaMwmtOAEsBWL8swUT6sYWzCiFw==", - "dependencies": { - "@toruslabs/openlogin": "^6.2.5", - "@toruslabs/openlogin-jrpc": "^6.2.8", - "@toruslabs/openlogin-utils": "^6.2.5", - "@web3auth/base": "^8.0.0-alpha.0", - "@web3auth/base-plugin": "^8.0.0-alpha.0", - "@web3auth/base-provider": "^8.0.0-alpha.0" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "^7.x", - "@web3auth/openlogin-adapter": "^8.x", - "@web3auth/wallet-connect-v2-adapter": "^8.x" - }, - "peerDependenciesMeta": { - "@web3auth/openlogin-adapter": { - "optional": true - }, - "@web3auth/wallet-connect-v2-adapter": { - "optional": true - } - } - }, - "node_modules/@web3auth/openlogin-adapter": { - "version": "8.0.0-alpha.0", - "resolved": "https://registry.npmjs.org/@web3auth/openlogin-adapter/-/openlogin-adapter-8.0.0-alpha.0.tgz", - "integrity": "sha512-dZQW3yV8lP4jmDyPwiQQpNuTVcREUmPHjBlJX90lyG4oqsBrTDJl8YX2sxxqmiRu5jFSeuO7H874ApCV5/R42Q==", - "dependencies": { - "@toruslabs/openlogin": "^6.2.5", - "@toruslabs/openlogin-utils": "^6.2.5", - "@web3auth/base": "^8.0.0-alpha.0", - "@web3auth/base-provider": "^8.0.0-alpha.0", - "lodash.merge": "^4.6.2" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "^7.x" - } - }, - "node_modules/@web3auth/torus-evm-adapter": { - "version": "8.0.0-alpha.0", - "resolved": "https://registry.npmjs.org/@web3auth/torus-evm-adapter/-/torus-evm-adapter-8.0.0-alpha.0.tgz", - "integrity": "sha512-bUPBS5p7Rj0zhOfacRYWbvyAlALfYi1ZJb9vrdsxMoDvtOphEJEzUT6A/OFdplGfMSEGDhbVcBK0R3/949+UvQ==", + "node_modules/@walletconnect/time": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@walletconnect/time/-/time-1.0.2.tgz", + "integrity": "sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g==", "dependencies": { - "@toruslabs/torus-embed": "^4.1.3", - "@web3auth/base": "^8.0.0-alpha.0", - "@web3auth/base-evm-adapter": "^8.0.0-alpha.0" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "^7.x" + "tslib": "1.14.1" } }, - "node_modules/@web3auth/ui": { - "version": "8.0.0-alpha.0", - "resolved": "https://registry.npmjs.org/@web3auth/ui/-/ui-8.0.0-alpha.0.tgz", - "integrity": "sha512-4ajUPhGGOkIv9+fn3ypVrrVLqQUw7AClfEAcgdw7xDswSHRdU17onqTZog5gwBEuEK2uhlxSroLFYCUOgqLaXQ==", + "node_modules/@walletconnect/time/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, + "node_modules/@walletconnect/types": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.11.0.tgz", + "integrity": "sha512-AB5b1lrEbCGHxqS2vqfCkIoODieH+ZAUp9rA1O2ftrhnqDJiJK983Df87JhYhECsQUBHHfALphA8ydER0q+9sw==", "dependencies": { - "@toruslabs/http-helpers": "^6.0.0", - "@toruslabs/openlogin": "^6.2.5", - "@toruslabs/openlogin-jrpc": "^6.2.8", - "@toruslabs/openlogin-utils": "^6.2.5", - "@web3auth/base": "^8.0.0-alpha.0", - "bowser": "^2.11.0", - "classnames": "^2.5.1", - "copy-to-clipboard": "^3.3.3", - "i18next": "^23.8.1", - "lodash.clonedeep": "^4.5.0", - "lodash.merge": "^4.6.2", - "react-i18next": "^14.0.1", - "react-qrcode-logo": "^2.9.0" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "^7.x", - "react": "^18.x", - "react-dom": "^18.x" + "@walletconnect/events": "^1.0.1", + "@walletconnect/heartbeat": "1.2.1", + "@walletconnect/jsonrpc-types": "1.0.3", + "@walletconnect/keyvaluestorage": "^1.1.1", + "@walletconnect/logger": "^2.0.1", + "events": "^3.3.0" } }, - "node_modules/@web3auth/wallet-connect-v2-adapter": { - "version": "8.0.0-alpha.4", - "resolved": "https://registry.npmjs.org/@web3auth/wallet-connect-v2-adapter/-/wallet-connect-v2-adapter-8.0.0-alpha.4.tgz", - "integrity": "sha512-O4v29tOPb6ok2MGfaufC6M3tpwrXEaKqbp9i2geyP2BSrtveR2D80drZr3kUAIAP7yHN59DoM+AiCh0iUnQMDQ==", + "node_modules/@walletconnect/utils": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.11.0.tgz", + "integrity": "sha512-hxkHPlTlDQILHfIKXlmzgNJau/YcSBC3XHUSuZuKZbNEw3duFT6h6pm3HT/1+j1a22IG05WDsNBuTCRkwss+BQ==", "dependencies": { - "@web3auth/base": "^8.0.0-alpha.0", - "@web3auth/base-evm-adapter": "^8.0.0-alpha.0", - "@web3auth/ethereum-provider": "^8.0.0-alpha.0", - "lodash.merge": "^4.6.2" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "^7.x", - "@walletconnect/sign-client": "^2.x", - "@walletconnect/types": "^2.x", - "@walletconnect/utils": "^2.x" + "@stablelib/chacha20poly1305": "1.0.1", + "@stablelib/hkdf": "1.0.1", + "@stablelib/random": "^1.0.2", + "@stablelib/sha256": "1.0.1", + "@stablelib/x25519": "^1.0.3", + "@walletconnect/relay-api": "^1.0.9", + "@walletconnect/safe-json": "^1.0.2", + "@walletconnect/time": "^1.0.2", + "@walletconnect/types": "2.11.0", + "@walletconnect/window-getters": "^1.0.1", + "@walletconnect/window-metadata": "^1.0.1", + "detect-browser": "5.3.0", + "query-string": "7.1.3", + "uint8arrays": "^3.1.0" } }, - "node_modules/@web3auth/wallet-services-plugin": { - "version": "8.0.0-alpha.6", - "resolved": "https://registry.npmjs.org/@web3auth/wallet-services-plugin/-/wallet-services-plugin-8.0.0-alpha.6.tgz", - "integrity": "sha512-FMhdhjRO84TlOVW6mfglnkEiZ1OG2eU7q7SIwkW7QuCwQMl01Yus+t4jx5SeR7IxXWcmW281GRAQXQl6hbuqOg==", + "node_modules/@walletconnect/window-getters": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@walletconnect/window-getters/-/window-getters-1.0.1.tgz", + "integrity": "sha512-vHp+HqzGxORPAN8gY03qnbTMnhqIwjeRJNOMOAzePRg4xVEEE2WvYsI9G2NMjOknA8hnuYbU3/hwLcKbjhc8+Q==", "dependencies": { - "@web3auth/base": "^8.0.0-alpha.0", - "@web3auth/base-plugin": "^8.0.0-alpha.0", - "@web3auth/no-modal": "^8.0.0-alpha.4", - "@web3auth/ws-embed": "^1.0.1-beta.3", - "loglevel": "^1.9.1" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "^7.x", - "@web3auth/openlogin-adapter": "^8.x" + "tslib": "1.14.1" } }, - "node_modules/@web3auth/ws-embed": { - "version": "1.0.1-beta.3", - "resolved": "https://registry.npmjs.org/@web3auth/ws-embed/-/ws-embed-1.0.1-beta.3.tgz", - "integrity": "sha512-cSOu9PRxnCVnH896JOkMZvitdgaVJmQ65/VECHKEIguJWmXpfDQ54tqr4oU3FVJTDEAWHyTU2yWB3YRK991E/Q==", + "node_modules/@walletconnect/window-getters/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, + "node_modules/@walletconnect/window-metadata": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/@walletconnect/window-metadata/-/window-metadata-1.0.1.tgz", + "integrity": "sha512-9koTqyGrM2cqFRW517BPY/iEtUDx2r1+Pwwu5m7sJ7ka79wi3EyqhqcICk/yDmv6jAS1rjKgTKXlEhanYjijcA==", "dependencies": { - "@metamask/rpc-errors": "^6.1.0", - "@toruslabs/base-controllers": "^5.3.3", - "@toruslabs/ethereum-controllers": "^5.3.5", - "@toruslabs/openlogin-jrpc": "^6.2.8", - "@toruslabs/openlogin-utils": "^6.2.5", - "fast-deep-equal": "^3.1.3", - "loglevel": "^1.9.1", - "pump": "^3.0.0", - "readable-stream": "^4.5.2" - }, - "engines": { - "node": ">=18.x", - "npm": ">=9.x" - }, - "peerDependencies": { - "@babel/runtime": "7.x" + "@walletconnect/window-getters": "^1.0.1", + "tslib": "1.14.1" } }, + "node_modules/@walletconnect/window-metadata/node_modules/tslib": { + "version": "1.14.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", + "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" + }, + "node_modules/@web3auth/default-evm-adapter": { + "resolved": "../Web3Auth/packages/adapters/default-evm-adapter", + "link": true + }, + "node_modules/@web3auth/ethereum-provider": { + "resolved": "../Web3Auth/packages/providers/ethereum-provider", + "link": true + }, + "node_modules/@web3auth/modal": { + "resolved": "../Web3Auth/packages/modal", + "link": true + }, + "node_modules/@web3auth/openlogin-adapter": { + "resolved": "../Web3Auth/packages/adapters/openlogin-adapter", + "link": true + }, + "node_modules/@web3auth/wallet-services-plugin": { + "resolved": "../Web3Auth/packages/plugins/wallet-services-plugin", + "link": true + }, "node_modules/abbrev": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-2.0.0.tgz", @@ -3575,18 +3284,6 @@ "node": ">=0.10.0" } }, - "node_modules/assert": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/assert/-/assert-2.1.0.tgz", - "integrity": "sha512-eLHpSK/Y4nhMJ07gDaAzoX/XAKS8PSaojml3M0DM4JpV1LAi5JOJ/p6H/XWrl8L+DzVEvVCW1z3vWAaB9oTsQw==", - "dependencies": { - "call-bind": "^1.0.2", - "is-nan": "^1.3.2", - "object-is": "^1.1.5", - "object.assign": "^4.1.4", - "util": "^0.12.5" - } - }, "node_modules/assertion-error": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", @@ -3659,6 +3356,7 @@ "version": "1.0.5", "resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz", "integrity": "sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw==", + "dev": true, "engines": { "node": ">= 0.4" }, @@ -3991,11 +3689,6 @@ "consola": "^3.2.3" } }, - "node_modules/classnames": { - "version": "2.5.1", - "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.5.1.tgz", - "integrity": "sha512-saHYOzhIQs6wy2sVxTM6bUDsQO4F50V9RQ22qBpEdCW+I+/Wmke2HOl6lS6dTpdxVhb88/I6+Hs+438c3lfUow==" - }, "node_modules/clipboardy": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/clipboardy/-/clipboardy-4.0.0.tgz", @@ -4094,14 +3787,6 @@ "resolved": "https://registry.npmjs.org/cookie-es/-/cookie-es-1.0.0.tgz", "integrity": "sha512-mWYvfOLrfEc996hlKcdABeIiPHUPC6DM2QYZdGGOvhOTbA3tjm2eBwqlJpoFdjC89NI4Qt6h0Pu06Mp+1Pj5OQ==" }, - "node_modules/copy-to-clipboard": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/copy-to-clipboard/-/copy-to-clipboard-3.3.3.tgz", - "integrity": "sha512-2KV8NhB5JqC3ky0r9PMCAZKbUHSwtEo4CwCs0KXgruG43gX5PMqDEBbVU4OUzw2MuAWUfsuFmWvEKG5QRfSnJA==", - "dependencies": { - "toggle-selection": "^1.0.6" - } - }, "node_modules/crc": { "version": "4.3.2", "resolved": "https://registry.npmjs.org/crc/-/crc-4.3.2.tgz", @@ -4349,6 +4034,7 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.2.1.tgz", "integrity": "sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==", + "dev": true, "dependencies": { "define-data-property": "^1.0.1", "has-property-descriptors": "^1.0.0", @@ -5133,7 +4819,8 @@ "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==" + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true }, "node_modules/fast-diff": { "version": "1.3.0", @@ -5284,6 +4971,7 @@ "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", "integrity": "sha512-jqYfLp7mo9vIyQf8ykW2v7A+2N4QjeCeI5+Dz9XraiO1ign81wjiH7Fb9vSOWvQfNtmSa4H2RoQTrrXivdUZmw==", + "dev": true, "dependencies": { "is-callable": "^1.1.3" } @@ -5617,6 +5305,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-tostringtag/-/has-tostringtag-1.0.0.tgz", "integrity": "sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ==", + "dev": true, "dependencies": { "has-symbols": "^1.0.2" }, @@ -5683,14 +5372,6 @@ "node": ">=18" } }, - "node_modules/html-parse-stringify": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/html-parse-stringify/-/html-parse-stringify-3.0.1.tgz", - "integrity": "sha512-KknJ50kTInJ7qIScF3jeaFRpMpE8/lfiTdzf/twXyPBLAGrLRTmkz3AdTnKeh40X8k9L2fdYwEp/42WGXIRGcg==", - "dependencies": { - "void-elements": "3.1.0" - } - }, "node_modules/http-proxy-agent": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/http-proxy-agent/-/http-proxy-agent-7.0.0.tgz", @@ -5734,28 +5415,6 @@ "node": ">=16.17.0" } }, - "node_modules/i18next": { - "version": "23.8.1", - "resolved": "https://registry.npmjs.org/i18next/-/i18next-23.8.1.tgz", - "integrity": "sha512-Yhe6oiJhigSh64ev7nVVywu7vHjuUG41MRmFKNwphbkadqTL1ozZFBQISflY7/ju+gL6I/SPfI1GgWQh1yYArA==", - "funding": [ - { - "type": "individual", - "url": "https://locize.com" - }, - { - "type": "individual", - "url": "https://locize.com/i18next.html" - }, - { - "type": "individual", - "url": "https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project" - } - ], - "dependencies": { - "@babel/runtime": "^7.23.2" - } - }, "node_modules/iconv-lite": { "version": "0.6.3", "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz", @@ -5900,21 +5559,6 @@ "url": "https://github.com/sponsors/brc-dd" } }, - "node_modules/is-arguments": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.1.tgz", - "integrity": "sha512-8Q7EARjzEnKpt/PCD7e1cgUS0a6X8u5tdSiMqXhojOdoV9TsMsiO+9VLC5vAmO8N7/GmXn7yjR8qnA6bVAEzfA==", - "dependencies": { - "call-bind": "^1.0.2", - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-array-buffer": { "version": "3.0.2", "resolved": "https://registry.npmjs.org/is-array-buffer/-/is-array-buffer-3.0.2.tgz", @@ -5977,6 +5621,7 @@ "version": "1.2.7", "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.7.tgz", "integrity": "sha512-1BC0BVFhS/p0qtw6enp8e+8OD0UrK0oFLztSjNzhcKA3WDuJxxAPXzPuPtKkjEY9UUoEWlX/8fgKeu2S8i9JTA==", + "dev": true, "engines": { "node": ">= 0.4" }, @@ -6041,20 +5686,6 @@ "node": ">=8" } }, - "node_modules/is-generator-function": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/is-generator-function/-/is-generator-function-1.0.10.tgz", - "integrity": "sha512-jsEjy9l3yiXEQ+PsXdmBwEPcOxaXWLspKdplFUVI9vq1iZgIekeC0L167qeu86czQaxed3q/Uzuw0swL0irL8A==", - "dependencies": { - "has-tostringtag": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-glob": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", @@ -6083,21 +5714,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/is-nan": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/is-nan/-/is-nan-1.3.2.tgz", - "integrity": "sha512-E+zBKpQ2t6MEo1VsonYmluk9NxGrbzpeeLC2xIViuO2EjU2xsXsBPwTr3Ykv9l08UYEVEdWeRZNouaZqF6RN0w==", - "dependencies": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/is-negative-zero": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.2.tgz", @@ -6229,6 +5845,7 @@ "version": "1.1.12", "resolved": "https://registry.npmjs.org/is-typed-array/-/is-typed-array-1.1.12.tgz", "integrity": "sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg==", + "dev": true, "dependencies": { "which-typed-array": "^1.1.11" }, @@ -6442,11 +6059,6 @@ "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" }, - "node_modules/json-rpc-random-id": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-rpc-random-id/-/json-rpc-random-id-1.0.1.tgz", - "integrity": "sha512-RJ9YYNCkhVDBuP4zN5BBtYAzEl03yq/jIIsyif0JY9qyJuQQZNeDK7anAPKKlyEtLSj2s8h6hNh2F8zO5q7ScA==" - }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", @@ -6497,14 +6109,6 @@ "node": "*" } }, - "node_modules/jwt-decode": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-4.0.0.tgz", - "integrity": "sha512-+KJGIyHgkGuIq3IEBNftfhW/LfWhXUIY6OmyVWjliu5KH1y0fw7VQ8YndE2O4qZdMSd9SqbnC8GOcZEy0Om7sA==", - "engines": { - "node": ">=18" - } - }, "node_modules/keccak": { "version": "3.0.4", "resolved": "https://registry.npmjs.org/keccak/-/keccak-3.0.4.tgz", @@ -6663,11 +6267,6 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, - "node_modules/lodash.clonedeep": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", - "integrity": "sha512-H5ZhCF25riFd9uB5UCkVKo61m3S/xZk1x4wA6yp/L3RFP6Z/eHH1ymQcGLo7J3GMPfm0V/7m1tryHuGVxpqEBQ==" - }, "node_modules/lodash.defaults": { "version": "4.2.0", "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz", @@ -7365,21 +6964,6 @@ "url": "https://github.com/sponsors/ljharb" } }, - "node_modules/object-is": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz", - "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, "node_modules/object-keys": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/object-keys/-/object-keys-1.1.1.tgz", @@ -7392,6 +6976,7 @@ "version": "4.1.5", "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.5.tgz", "integrity": "sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==", + "dev": true, "dependencies": { "call-bind": "^1.0.5", "define-properties": "^1.2.1", @@ -8016,11 +7601,6 @@ "node": ">=6" } }, - "node_modules/qrcode-generator": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/qrcode-generator/-/qrcode-generator-1.4.4.tgz", - "integrity": "sha512-HM7yY8O2ilqhmULxGMpcHSF1EhJJ9yBj8gvDEuZ6M+KGJ0YY2hKpnXvRD+hZPLrDVck3ExIGhmPtSdcjC+guuw==" - }, "node_modules/query-string": { "version": "7.1.3", "resolved": "https://registry.npmjs.org/query-string/-/query-string-7.1.3.tgz", @@ -8105,46 +7685,12 @@ "react": "^18.2.0" } }, - "node_modules/react-i18next": { - "version": "14.0.1", - "resolved": "https://registry.npmjs.org/react-i18next/-/react-i18next-14.0.1.tgz", - "integrity": "sha512-TMV8hFismBmpMdIehoFHin/okfvgjFhp723RYgIqB4XyhDobVMyukyM3Z8wtTRmajyFMZrBl/OaaXF2P6WjUAw==", - "dependencies": { - "@babel/runtime": "^7.22.5", - "html-parse-stringify": "^3.0.1" - }, - "peerDependencies": { - "i18next": ">= 23.2.3", - "react": ">= 16.8.0" - }, - "peerDependenciesMeta": { - "react-dom": { - "optional": true - }, - "react-native": { - "optional": true - } - } - }, "node_modules/react-is": { "version": "18.2.0", "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz", "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==", "dev": true }, - "node_modules/react-qrcode-logo": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/react-qrcode-logo/-/react-qrcode-logo-2.9.0.tgz", - "integrity": "sha512-x9uctB/8kuQ+x7p4V/BRv6qbQV4xYopLcitBuQT3925U/zVFb3bbDUsUZsi7hEKuAX/wRsfhs331FhlPSYCO9Q==", - "dependencies": { - "lodash.isequal": "^4.5.0", - "qrcode-generator": "^1.4.1" - }, - "peerDependencies": { - "react": ">=16.4.1", - "react-dom": ">=16.4.1" - } - }, "node_modules/read-cache": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", @@ -9259,11 +8805,6 @@ "node": ">=8.0" } }, - "node_modules/toggle-selection": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/toggle-selection/-/toggle-selection-1.0.6.tgz", - "integrity": "sha512-BiZS+C1OS8g/q2RRbJmy59xpyghNBqrr6k5L/uKBGRsTfxmu3ffiRnd8mlGPUVayg8pvfi5urfnu8TU7DVOkLQ==" - }, "node_modules/tough-cookie": { "version": "4.1.3", "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.1.3.tgz", @@ -9311,14 +8852,6 @@ "typescript": ">=4.2.0" } }, - "node_modules/ts-custom-error": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/ts-custom-error/-/ts-custom-error-3.3.1.tgz", - "integrity": "sha512-5OX1tzOjxWEgsr/YEUWSuPrQ00deKLh6D7OTWcvNHm12/7QPyRh8SYpyWvA4IZv8H/+GQWQEh/kwo95Q9OVW1A==", - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/ts-interface-checker": { "version": "0.1.13", "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", @@ -9661,18 +9194,6 @@ "requires-port": "^1.0.0" } }, - "node_modules/util": { - "version": "0.12.5", - "resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz", - "integrity": "sha512-kZf/K6hEIrWHI6XqOFUiiMa+79wE/D8Q+NCNAWclkyg3b4d2k7s0QGepNjiABc+aR3N1PAyHL7p6UcLY6LmrnA==", - "dependencies": { - "inherits": "^2.0.3", - "is-arguments": "^1.0.4", - "is-generator-function": "^1.0.7", - "is-typed-array": "^1.1.3", - "which-typed-array": "^1.1.2" - } - }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -9830,14 +9351,6 @@ } } }, - "node_modules/void-elements": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/void-elements/-/void-elements-3.1.0.tgz", - "integrity": "sha512-Dhxzh5HZuiHQhbvTW9AMetFfBHDMYpo23Uo9btPXgdYP+3T5S+p+jgNy7spra+veYhBP2dCSgxR/i2Y02h5/6w==", - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/vue": { "version": "3.4.15", "resolved": "https://registry.npmjs.org/vue/-/vue-3.4.15.tgz", @@ -10052,6 +9565,7 @@ "version": "1.1.13", "resolved": "https://registry.npmjs.org/which-typed-array/-/which-typed-array-1.1.13.tgz", "integrity": "sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow==", + "dev": true, "dependencies": { "available-typed-arrays": "^1.0.5", "call-bind": "^1.0.4", diff --git a/package.json b/package.json index 8c9175c..bca2735 100644 --- a/package.json +++ b/package.json @@ -18,11 +18,11 @@ "@toruslabs/vue-icons": "^7.2.0", "@vueuse/core": "^10.6.1", "@walletconnect/sign-client": "^2.11.0", - "@web3auth/default-evm-adapter": "^8.0.0-alpha.4", + "@web3auth/default-evm-adapter": "^8.0.0-alpha.7", "@web3auth/ethereum-provider": "^8.0.0-alpha.0", - "@web3auth/modal": "^8.0.0-alpha.4", + "@web3auth/modal": "^8.0.0-alpha.7", "@web3auth/openlogin-adapter": "^8.0.0-alpha.0", - "@web3auth/wallet-services-plugin": "^8.0.0-alpha.6", + "@web3auth/wallet-services-plugin": "^8.0.0-alpha.7", "bowser": "^2.11.0", "ethereum-public-key-to-address": "^0.0.5", "ethers": "^6.10.0", diff --git a/src/components/Navbar/Navbar.vue b/src/components/Navbar/Navbar.vue index 18fe23d..765bd9e 100644 --- a/src/components/Navbar/Navbar.vue +++ b/src/components/Navbar/Navbar.vue @@ -57,7 +57,7 @@ const isLoggedIn = computed(() => web3Auth.isLoggedIn) class="cursor-pointer" /> - + { web3Auth.value = new Web3Auth(web3AuthOptions) - const adapters = await getDefaultAdapters({ options: web3AuthOptions }) + // TODO: remove this in prod + const openloginAdapter = new OpenloginAdapter({ + adapterSettings: { buildEnv: 'testing' } + }) + web3Auth.value.configureAdapter(openloginAdapter) + + const adapters = await getDefaultExternalAdapters({ options: web3AuthOptions }) adapters.forEach((adapter) => { - if (adapter.name === WALLET_ADAPTERS.OPENLOGIN) { - const openloginAdapter = adapter as OpenloginAdapter - openloginAdapter.setAdapterSettings({ buildEnv: 'testing' }) - } web3Auth.value?.configureAdapter(adapter) }) @@ -96,6 +97,7 @@ export const useWeb3authStore = defineStore('web3auth', () => { async function logoutWeb3Auth() { await web3Auth.value?.logout() + // todo: connected is not changing after social login logout triggerRef(web3Auth) }