diff --git a/dapps/react-dapp-auth/package-lock.json b/dapps/react-dapp-auth/package-lock.json index c5283d6..5e05352 100644 --- a/dapps/react-dapp-auth/package-lock.json +++ b/dapps/react-dapp-auth/package-lock.json @@ -11,7 +11,7 @@ "@chakra-ui/react": "^2.2.6", "@emotion/react": "^11.10.0", "@emotion/styled": "^11.10.0", - "@walletconnect/auth-client": "0.4.0", + "@walletconnect/auth-client": "1.0.0", "better-sqlite3": "^7.6.2", "ethers": "^5.7.0", "events": "^3.3.0", @@ -3029,9 +3029,9 @@ } }, "node_modules/@walletconnect/auth-client": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-0.4.0.tgz", - "integrity": "sha512-VyJZQvz8qsojorrvCi/68qVmKup8DznmPOuSexpmCAuodzQq+OUSeuTlEWFDckWdDUQMNTSt8//7HAayzGx//A==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-1.0.0.tgz", + "integrity": "sha512-O2vaaMqILtkSvj0ZGXba4fn0qNFfFEhVPkBkjygo9IpUqwUE9zbhl3yJZ1F5KrOQCVTBZeHEvkIz8GEV2YPzPw==", "dependencies": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/contracts": "^5.7.0", @@ -3039,20 +3039,20 @@ "@ethersproject/providers": "^5.7.1", "@ethersproject/transactions": "^5.7.0", "@stablelib/random": "1.0.2", - "@walletconnect/core": "2.0.0-rc.2", + "@walletconnect/core": "2.0.0", "@walletconnect/events": "1.0.0", "@walletconnect/heartbeat": "1.0.0", "@walletconnect/jsonrpc-provider": "1.0.5", "@walletconnect/jsonrpc-utils": "1.0.3", "@walletconnect/logger": "1.0.1", "@walletconnect/time": "1.0.1", - "@walletconnect/utils": "2.0.0-rc.2", + "@walletconnect/utils": "2.0.0", "events": "^3.3.0", "pino": "6.7.0", "pino-pretty": "4.3.0" }, "engines": { - "node": "16" + "node": ">=14 <17" } }, "node_modules/@walletconnect/auth-client/node_modules/@ethersproject/providers": { @@ -3113,22 +3113,22 @@ } }, "node_modules/@walletconnect/core": { - "version": "2.0.0-rc.2", - "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-2.0.0-rc.2.tgz", - "integrity": "sha512-zyZs0ChqthjKKBKF8bhXRhli15U+GOa/YPX4gzmdjRB9o8LZ27GMRNvWdLhUHkJU/GC6EfmV3/B7J8rfQGsnDA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-2.0.0.tgz", + "integrity": "sha512-cdgeOXormJDMFEgoBcDHxQ3F81H8N/o4rNHFGJjwAahGmdJ+/X3OVJrJMJSgYnByZE0lkJ0NQIncuvVPFwhbQg==", "dependencies": { "@walletconnect/heartbeat": "1.0.0", "@walletconnect/jsonrpc-provider": "1.0.5", "@walletconnect/jsonrpc-utils": "1.0.3", "@walletconnect/jsonrpc-ws-connection": "1.0.3", - "@walletconnect/keyvaluestorage": "1.0.0", + "@walletconnect/keyvaluestorage": "1.0.1-rc.2", "@walletconnect/logger": "1.0.1", "@walletconnect/relay-api": "1.0.6", "@walletconnect/relay-auth": "1.0.3", "@walletconnect/safe-json": "1.0.0", "@walletconnect/time": "1.0.1", - "@walletconnect/types": "2.0.0-rc.2", - "@walletconnect/utils": "2.0.0-rc.2", + "@walletconnect/types": "2.0.0", + "@walletconnect/utils": "2.0.0", "lodash.isequal": "4.5.0", "pino": "6.7.0", "pino-pretty": "4.3.0", @@ -3136,22 +3136,22 @@ } }, "node_modules/@walletconnect/core/node_modules/@walletconnect/keyvaluestorage": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.0.tgz", - "integrity": "sha512-dlIrX/pCjuXMUprkLdy0hw0Ibr3To9nCdG19mPqd/lRdRWsPItBL+79LClVplMxb0cuF3qlTuGTNx/hmUKYmWA==", + "version": "1.0.1-rc.2", + "resolved": "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.1-rc.2.tgz", + "integrity": "sha512-W704vnzAAZ4b/v7vEvYDul7fZ+TtG2vIfw8J41N8DnfBeee3IZ/urSrsAPaNUcDZArAWv/ZOYrIGHz5K9sdeUA==", "dependencies": { "localStorage": "^1.0.4", "safe-json-utils": "^1.1.1" }, "peerDependencies": { "@react-native-async-storage/async-storage": "1.x", - "better-sqlite3": "7.x" + "lokijs": "1.x" }, "peerDependenciesMeta": { "@react-native-async-storage/async-storage": { "optional": true }, - "better-sqlite3": { + "lokijs": { "optional": true } } @@ -3253,41 +3253,41 @@ "integrity": "sha512-LtNtHupTNranehLMh8Z/JN6xVySysSoJNjNCQ0ML+hOUkim5QX/VdvfovSpaX9qA2b95u7bIuTcq0O3UBk7Iyw==" }, "node_modules/@walletconnect/types": { - "version": "2.0.0-rc.2", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0-rc.2.tgz", - "integrity": "sha512-BuQbEjkRIZULqBHBxKgGiUgeJ1i+5NpNvw5Y7ML7X+hksHooj0+Hy6qv7Jc/cegltEovElAU2w6R38dfuEPUOA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0.tgz", + "integrity": "sha512-Adm+A5cC1+M+aRh3BPzH85v5lbNf2tFKrVVZ1bcl6SuDIsoi7amjIU9IEzOs+F9g53AxFgwLlBVRaqARMOEGkA==", "dependencies": { "@walletconnect/events": "1.0.0", "@walletconnect/heartbeat": "1.0.0", "@walletconnect/jsonrpc-types": "1.0.1", - "@walletconnect/keyvaluestorage": "1.0.0" + "@walletconnect/keyvaluestorage": "1.0.1-rc.2" } }, "node_modules/@walletconnect/types/node_modules/@walletconnect/keyvaluestorage": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.0.tgz", - "integrity": "sha512-dlIrX/pCjuXMUprkLdy0hw0Ibr3To9nCdG19mPqd/lRdRWsPItBL+79LClVplMxb0cuF3qlTuGTNx/hmUKYmWA==", + "version": "1.0.1-rc.2", + "resolved": "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.1-rc.2.tgz", + "integrity": "sha512-W704vnzAAZ4b/v7vEvYDul7fZ+TtG2vIfw8J41N8DnfBeee3IZ/urSrsAPaNUcDZArAWv/ZOYrIGHz5K9sdeUA==", "dependencies": { "localStorage": "^1.0.4", "safe-json-utils": "^1.1.1" }, "peerDependencies": { "@react-native-async-storage/async-storage": "1.x", - "better-sqlite3": "7.x" + "lokijs": "1.x" }, "peerDependenciesMeta": { "@react-native-async-storage/async-storage": { "optional": true }, - "better-sqlite3": { + "lokijs": { "optional": true } } }, "node_modules/@walletconnect/utils": { - "version": "2.0.0-rc.2", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0-rc.2.tgz", - "integrity": "sha512-G4qa4zirL3MbryhWf/+4uew7wV3gtLmIt09FVtWQLhPCePrlA0A8EuPXYQAqW58gQpFIsuUiKUYfy3kRMkp4WA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0.tgz", + "integrity": "sha512-WL4gGUp5cGxfWqktSci6j3iowEK/TM4kVENDILYn1pZ57Q6g7CqJ7Ls3p1qDDkhw9dfypqjEx9i0h0mzCyFTIQ==", "dependencies": { "@stablelib/chacha20poly1305": "1.0.1", "@stablelib/hkdf": "1.0.1", @@ -3298,7 +3298,7 @@ "@walletconnect/relay-api": "1.0.6", "@walletconnect/safe-json": "1.0.0", "@walletconnect/time": "1.0.1", - "@walletconnect/types": "2.0.0-rc.2", + "@walletconnect/types": "2.0.0", "@walletconnect/window-getters": "1.0.0", "@walletconnect/window-metadata": "1.0.0", "detect-browser": "5.3.0", @@ -5568,9 +5568,9 @@ "license": "MIT" }, "node_modules/multiformats": { - "version": "9.7.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.7.1.tgz", - "integrity": "sha512-TaVmGEBt0fhxiNJMGphBfB+oGvUxFs8KgGvgl8d3C+GWtrFcvXdJ2196eg+dYhmSFClmgFfSfJEklo+SZzdNuw==" + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.9.0.tgz", + "integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==" }, "node_modules/nanoid": { "version": "3.3.4", @@ -9054,9 +9054,9 @@ } }, "@walletconnect/auth-client": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-0.4.0.tgz", - "integrity": "sha512-VyJZQvz8qsojorrvCi/68qVmKup8DznmPOuSexpmCAuodzQq+OUSeuTlEWFDckWdDUQMNTSt8//7HAayzGx//A==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-1.0.0.tgz", + "integrity": "sha512-O2vaaMqILtkSvj0ZGXba4fn0qNFfFEhVPkBkjygo9IpUqwUE9zbhl3yJZ1F5KrOQCVTBZeHEvkIz8GEV2YPzPw==", "requires": { "@ethersproject/bytes": "^5.7.0", "@ethersproject/contracts": "^5.7.0", @@ -9064,14 +9064,14 @@ "@ethersproject/providers": "^5.7.1", "@ethersproject/transactions": "^5.7.0", "@stablelib/random": "1.0.2", - "@walletconnect/core": "2.0.0-rc.2", + "@walletconnect/core": "2.0.0", "@walletconnect/events": "1.0.0", "@walletconnect/heartbeat": "1.0.0", "@walletconnect/jsonrpc-provider": "1.0.5", "@walletconnect/jsonrpc-utils": "1.0.3", "@walletconnect/logger": "1.0.1", "@walletconnect/time": "1.0.1", - "@walletconnect/utils": "2.0.0-rc.2", + "@walletconnect/utils": "2.0.0", "events": "^3.3.0", "pino": "6.7.0", "pino-pretty": "4.3.0" @@ -9113,22 +9113,22 @@ } }, "@walletconnect/core": { - "version": "2.0.0-rc.2", - "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-2.0.0-rc.2.tgz", - "integrity": "sha512-zyZs0ChqthjKKBKF8bhXRhli15U+GOa/YPX4gzmdjRB9o8LZ27GMRNvWdLhUHkJU/GC6EfmV3/B7J8rfQGsnDA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-2.0.0.tgz", + "integrity": "sha512-cdgeOXormJDMFEgoBcDHxQ3F81H8N/o4rNHFGJjwAahGmdJ+/X3OVJrJMJSgYnByZE0lkJ0NQIncuvVPFwhbQg==", "requires": { "@walletconnect/heartbeat": "1.0.0", "@walletconnect/jsonrpc-provider": "1.0.5", "@walletconnect/jsonrpc-utils": "1.0.3", "@walletconnect/jsonrpc-ws-connection": "1.0.3", - "@walletconnect/keyvaluestorage": "1.0.0", + "@walletconnect/keyvaluestorage": "1.0.1-rc.2", "@walletconnect/logger": "1.0.1", "@walletconnect/relay-api": "1.0.6", "@walletconnect/relay-auth": "1.0.3", "@walletconnect/safe-json": "1.0.0", "@walletconnect/time": "1.0.1", - "@walletconnect/types": "2.0.0-rc.2", - "@walletconnect/utils": "2.0.0-rc.2", + "@walletconnect/types": "2.0.0", + "@walletconnect/utils": "2.0.0", "lodash.isequal": "4.5.0", "pino": "6.7.0", "pino-pretty": "4.3.0", @@ -9136,9 +9136,9 @@ }, "dependencies": { "@walletconnect/keyvaluestorage": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.0.tgz", - "integrity": "sha512-dlIrX/pCjuXMUprkLdy0hw0Ibr3To9nCdG19mPqd/lRdRWsPItBL+79LClVplMxb0cuF3qlTuGTNx/hmUKYmWA==", + "version": "1.0.1-rc.2", + "resolved": "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.1-rc.2.tgz", + "integrity": "sha512-W704vnzAAZ4b/v7vEvYDul7fZ+TtG2vIfw8J41N8DnfBeee3IZ/urSrsAPaNUcDZArAWv/ZOYrIGHz5K9sdeUA==", "requires": { "localStorage": "^1.0.4", "safe-json-utils": "^1.1.1" @@ -9243,20 +9243,20 @@ "integrity": "sha512-LtNtHupTNranehLMh8Z/JN6xVySysSoJNjNCQ0ML+hOUkim5QX/VdvfovSpaX9qA2b95u7bIuTcq0O3UBk7Iyw==" }, "@walletconnect/types": { - "version": "2.0.0-rc.2", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0-rc.2.tgz", - "integrity": "sha512-BuQbEjkRIZULqBHBxKgGiUgeJ1i+5NpNvw5Y7ML7X+hksHooj0+Hy6qv7Jc/cegltEovElAU2w6R38dfuEPUOA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0.tgz", + "integrity": "sha512-Adm+A5cC1+M+aRh3BPzH85v5lbNf2tFKrVVZ1bcl6SuDIsoi7amjIU9IEzOs+F9g53AxFgwLlBVRaqARMOEGkA==", "requires": { "@walletconnect/events": "1.0.0", "@walletconnect/heartbeat": "1.0.0", "@walletconnect/jsonrpc-types": "1.0.1", - "@walletconnect/keyvaluestorage": "1.0.0" + "@walletconnect/keyvaluestorage": "1.0.1-rc.2" }, "dependencies": { "@walletconnect/keyvaluestorage": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.0.tgz", - "integrity": "sha512-dlIrX/pCjuXMUprkLdy0hw0Ibr3To9nCdG19mPqd/lRdRWsPItBL+79LClVplMxb0cuF3qlTuGTNx/hmUKYmWA==", + "version": "1.0.1-rc.2", + "resolved": "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.1-rc.2.tgz", + "integrity": "sha512-W704vnzAAZ4b/v7vEvYDul7fZ+TtG2vIfw8J41N8DnfBeee3IZ/urSrsAPaNUcDZArAWv/ZOYrIGHz5K9sdeUA==", "requires": { "localStorage": "^1.0.4", "safe-json-utils": "^1.1.1" @@ -9265,9 +9265,9 @@ } }, "@walletconnect/utils": { - "version": "2.0.0-rc.2", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0-rc.2.tgz", - "integrity": "sha512-G4qa4zirL3MbryhWf/+4uew7wV3gtLmIt09FVtWQLhPCePrlA0A8EuPXYQAqW58gQpFIsuUiKUYfy3kRMkp4WA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0.tgz", + "integrity": "sha512-WL4gGUp5cGxfWqktSci6j3iowEK/TM4kVENDILYn1pZ57Q6g7CqJ7Ls3p1qDDkhw9dfypqjEx9i0h0mzCyFTIQ==", "requires": { "@stablelib/chacha20poly1305": "1.0.1", "@stablelib/hkdf": "1.0.1", @@ -9278,7 +9278,7 @@ "@walletconnect/relay-api": "1.0.6", "@walletconnect/safe-json": "1.0.0", "@walletconnect/time": "1.0.1", - "@walletconnect/types": "2.0.0-rc.2", + "@walletconnect/types": "2.0.0", "@walletconnect/window-getters": "1.0.0", "@walletconnect/window-metadata": "1.0.0", "detect-browser": "5.3.0", @@ -10765,9 +10765,9 @@ "version": "2.1.2" }, "multiformats": { - "version": "9.7.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.7.1.tgz", - "integrity": "sha512-TaVmGEBt0fhxiNJMGphBfB+oGvUxFs8KgGvgl8d3C+GWtrFcvXdJ2196eg+dYhmSFClmgFfSfJEklo+SZzdNuw==" + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.9.0.tgz", + "integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==" }, "nanoid": { "version": "3.3.4" diff --git a/dapps/react-dapp-auth/package.json b/dapps/react-dapp-auth/package.json index 546f607..f4abaf5 100644 --- a/dapps/react-dapp-auth/package.json +++ b/dapps/react-dapp-auth/package.json @@ -12,7 +12,7 @@ "@chakra-ui/react": "^2.2.6", "@emotion/react": "^11.10.0", "@emotion/styled": "^11.10.0", - "@walletconnect/auth-client": "0.4.0", + "@walletconnect/auth-client": "1.0.0", "better-sqlite3": "^7.6.2", "ethers": "^5.7.0", "events": "^3.3.0", diff --git a/wallets/react-wallet-auth/package-lock.json b/wallets/react-wallet-auth/package-lock.json index 180f606..d6ea957 100644 --- a/wallets/react-wallet-auth/package-lock.json +++ b/wallets/react-wallet-auth/package-lock.json @@ -13,8 +13,8 @@ "@nextui-org/react": "1.0.8-beta.5", "@polkadot/keyring": "^10.1.2", "@solana/web3.js": "1.43.0", - "@walletconnect/auth-client": "^0.3.2", - "@walletconnect/utils": "2.0.0-rc.2", + "@walletconnect/auth-client": "1.0.0", + "@walletconnect/utils": "2.0.0", "bs58": "5.0.0", "cosmos-wallet": "1.2.0", "ethers": "5.6.6", @@ -31,7 +31,7 @@ "devDependencies": { "@types/node": "17.0.35", "@types/react": "18.0.9", - "@walletconnect/types": "2.0.0-rc.2", + "@walletconnect/types": "2.0.0", "eslint": "8.15.0", "eslint-config-next": "12.1.6", "eslint-config-prettier": "8.5.0", @@ -3441,26 +3441,56 @@ } }, "node_modules/@walletconnect/auth-client": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-0.3.2.tgz", - "integrity": "sha512-iImgPUCfVTeYh2bIVvKG0gMOMGkYsFM/Jp5gV1WORRlm70xDbqcAId0cKx+L4Oc+r1vQ3iRUEatHNMWeFizFWQ==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-1.0.0.tgz", + "integrity": "sha512-O2vaaMqILtkSvj0ZGXba4fn0qNFfFEhVPkBkjygo9IpUqwUE9zbhl3yJZ1F5KrOQCVTBZeHEvkIz8GEV2YPzPw==", "dependencies": { - "@ethersproject/wallet": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/contracts": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/providers": "^5.7.1", + "@ethersproject/transactions": "^5.7.0", "@stablelib/random": "1.0.2", - "@walletconnect/core": "2.0.0-rc.2", + "@walletconnect/core": "2.0.0", "@walletconnect/events": "1.0.0", "@walletconnect/heartbeat": "1.0.0", "@walletconnect/jsonrpc-provider": "1.0.5", "@walletconnect/jsonrpc-utils": "1.0.3", "@walletconnect/logger": "1.0.1", "@walletconnect/time": "1.0.1", - "@walletconnect/utils": "2.0.0-rc.2", + "@walletconnect/utils": "2.0.0", "events": "^3.3.0", "pino": "6.7.0", "pino-pretty": "4.3.0" }, "engines": { - "node": "16" + "node": ">=14 <17" + } + }, + "node_modules/@walletconnect/auth-client/node_modules/@ethersproject/abi": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.7.0.tgz", + "integrity": "sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" } }, "node_modules/@walletconnect/auth-client/node_modules/@ethersproject/abstract-provider": { @@ -3606,6 +3636,33 @@ "@ethersproject/bignumber": "^5.7.0" } }, + "node_modules/@walletconnect/auth-client/node_modules/@ethersproject/contracts": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/contracts/-/contracts-5.7.0.tgz", + "integrity": "sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abi": "^5.7.0", + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/transactions": "^5.7.0" + } + }, "node_modules/@walletconnect/auth-client/node_modules/@ethersproject/hash": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.7.0.tgz", @@ -3632,65 +3689,6 @@ "@ethersproject/strings": "^5.7.0" } }, - "node_modules/@walletconnect/auth-client/node_modules/@ethersproject/hdnode": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.7.0.tgz", - "integrity": "sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/basex": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/pbkdf2": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/sha2": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0", - "@ethersproject/strings": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/wordlists": "^5.7.0" - } - }, - "node_modules/@walletconnect/auth-client/node_modules/@ethersproject/json-wallets": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz", - "integrity": "sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hdnode": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/pbkdf2": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/random": "^5.7.0", - "@ethersproject/strings": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "aes-js": "3.0.0", - "scrypt-js": "3.0.1" - } - }, "node_modules/@walletconnect/auth-client/node_modules/@ethersproject/keccak256": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz", @@ -3728,25 +3726,6 @@ "@ethersproject/logger": "^5.7.0" } }, - "node_modules/@walletconnect/auth-client/node_modules/@ethersproject/pbkdf2": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz", - "integrity": "sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/sha2": "^5.7.0" - } - }, "node_modules/@walletconnect/auth-client/node_modules/@ethersproject/properties": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.7.0.tgz", @@ -3765,6 +3744,43 @@ "@ethersproject/logger": "^5.7.0" } }, + "node_modules/@walletconnect/auth-client/node_modules/@ethersproject/providers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.7.2.tgz", + "integrity": "sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==", + "funding": [ + { + "type": "individual", + "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + }, + { + "type": "individual", + "url": "https://www.buymeacoffee.com/ricmoo" + } + ], + "dependencies": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/base64": "^5.7.0", + "@ethersproject/basex": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/networks": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/rlp": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/web": "^5.7.0", + "bech32": "1.1.4", + "ws": "7.4.6" + } + }, "node_modules/@walletconnect/auth-client/node_modules/@ethersproject/random": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.7.0.tgz", @@ -3872,38 +3888,6 @@ "@ethersproject/signing-key": "^5.7.0" } }, - "node_modules/@walletconnect/auth-client/node_modules/@ethersproject/wallet": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.7.0.tgz", - "integrity": "sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" - }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" - } - ], - "dependencies": { - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/hdnode": "^5.7.0", - "@ethersproject/json-wallets": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/random": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/wordlists": "^5.7.0" - } - }, "node_modules/@walletconnect/auth-client/node_modules/@ethersproject/web": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.7.1.tgz", @@ -3926,45 +3910,43 @@ "@ethersproject/strings": "^5.7.0" } }, - "node_modules/@walletconnect/auth-client/node_modules/@ethersproject/wordlists": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.7.0.tgz", - "integrity": "sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA==", - "funding": [ - { - "type": "individual", - "url": "https://gitcoin.co/grants/13/ethersjs-complete-simple-and-tiny-2" + "node_modules/@walletconnect/auth-client/node_modules/ws": { + "version": "7.4.6", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", + "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", + "engines": { + "node": ">=8.3.0" + }, + "peerDependencies": { + "bufferutil": "^4.0.1", + "utf-8-validate": "^5.0.2" + }, + "peerDependenciesMeta": { + "bufferutil": { + "optional": true }, - { - "type": "individual", - "url": "https://www.buymeacoffee.com/ricmoo" + "utf-8-validate": { + "optional": true } - ], - "dependencies": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" } }, "node_modules/@walletconnect/core": { - "version": "2.0.0-rc.2", - "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-2.0.0-rc.2.tgz", - "integrity": "sha512-zyZs0ChqthjKKBKF8bhXRhli15U+GOa/YPX4gzmdjRB9o8LZ27GMRNvWdLhUHkJU/GC6EfmV3/B7J8rfQGsnDA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-2.0.0.tgz", + "integrity": "sha512-cdgeOXormJDMFEgoBcDHxQ3F81H8N/o4rNHFGJjwAahGmdJ+/X3OVJrJMJSgYnByZE0lkJ0NQIncuvVPFwhbQg==", "dependencies": { "@walletconnect/heartbeat": "1.0.0", "@walletconnect/jsonrpc-provider": "1.0.5", "@walletconnect/jsonrpc-utils": "1.0.3", "@walletconnect/jsonrpc-ws-connection": "1.0.3", - "@walletconnect/keyvaluestorage": "1.0.0", + "@walletconnect/keyvaluestorage": "1.0.1-rc.2", "@walletconnect/logger": "1.0.1", "@walletconnect/relay-api": "1.0.6", "@walletconnect/relay-auth": "1.0.3", "@walletconnect/safe-json": "1.0.0", "@walletconnect/time": "1.0.1", - "@walletconnect/types": "2.0.0-rc.2", - "@walletconnect/utils": "2.0.0-rc.2", + "@walletconnect/types": "2.0.0", + "@walletconnect/utils": "2.0.0", "lodash.isequal": "4.5.0", "pino": "6.7.0", "pino-pretty": "4.3.0", @@ -3972,22 +3954,22 @@ } }, "node_modules/@walletconnect/core/node_modules/@walletconnect/keyvaluestorage": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.0.tgz", - "integrity": "sha512-dlIrX/pCjuXMUprkLdy0hw0Ibr3To9nCdG19mPqd/lRdRWsPItBL+79LClVplMxb0cuF3qlTuGTNx/hmUKYmWA==", + "version": "1.0.1-rc.2", + "resolved": "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.1-rc.2.tgz", + "integrity": "sha512-W704vnzAAZ4b/v7vEvYDul7fZ+TtG2vIfw8J41N8DnfBeee3IZ/urSrsAPaNUcDZArAWv/ZOYrIGHz5K9sdeUA==", "dependencies": { "localStorage": "^1.0.4", "safe-json-utils": "^1.1.1" }, "peerDependencies": { "@react-native-async-storage/async-storage": "1.x", - "better-sqlite3": "7.x" + "lokijs": "1.x" }, "peerDependenciesMeta": { "@react-native-async-storage/async-storage": { "optional": true }, - "better-sqlite3": { + "lokijs": { "optional": true } } @@ -4089,41 +4071,41 @@ "integrity": "sha512-LtNtHupTNranehLMh8Z/JN6xVySysSoJNjNCQ0ML+hOUkim5QX/VdvfovSpaX9qA2b95u7bIuTcq0O3UBk7Iyw==" }, "node_modules/@walletconnect/types": { - "version": "2.0.0-rc.2", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0-rc.2.tgz", - "integrity": "sha512-BuQbEjkRIZULqBHBxKgGiUgeJ1i+5NpNvw5Y7ML7X+hksHooj0+Hy6qv7Jc/cegltEovElAU2w6R38dfuEPUOA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0.tgz", + "integrity": "sha512-Adm+A5cC1+M+aRh3BPzH85v5lbNf2tFKrVVZ1bcl6SuDIsoi7amjIU9IEzOs+F9g53AxFgwLlBVRaqARMOEGkA==", "dependencies": { "@walletconnect/events": "1.0.0", "@walletconnect/heartbeat": "1.0.0", "@walletconnect/jsonrpc-types": "1.0.1", - "@walletconnect/keyvaluestorage": "1.0.0" + "@walletconnect/keyvaluestorage": "1.0.1-rc.2" } }, "node_modules/@walletconnect/types/node_modules/@walletconnect/keyvaluestorage": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.0.tgz", - "integrity": "sha512-dlIrX/pCjuXMUprkLdy0hw0Ibr3To9nCdG19mPqd/lRdRWsPItBL+79LClVplMxb0cuF3qlTuGTNx/hmUKYmWA==", + "version": "1.0.1-rc.2", + "resolved": "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.1-rc.2.tgz", + "integrity": "sha512-W704vnzAAZ4b/v7vEvYDul7fZ+TtG2vIfw8J41N8DnfBeee3IZ/urSrsAPaNUcDZArAWv/ZOYrIGHz5K9sdeUA==", "dependencies": { "localStorage": "^1.0.4", "safe-json-utils": "^1.1.1" }, "peerDependencies": { "@react-native-async-storage/async-storage": "1.x", - "better-sqlite3": "7.x" + "lokijs": "1.x" }, "peerDependenciesMeta": { "@react-native-async-storage/async-storage": { "optional": true }, - "better-sqlite3": { + "lokijs": { "optional": true } } }, "node_modules/@walletconnect/utils": { - "version": "2.0.0-rc.2", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0-rc.2.tgz", - "integrity": "sha512-G4qa4zirL3MbryhWf/+4uew7wV3gtLmIt09FVtWQLhPCePrlA0A8EuPXYQAqW58gQpFIsuUiKUYfy3kRMkp4WA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0.tgz", + "integrity": "sha512-WL4gGUp5cGxfWqktSci6j3iowEK/TM4kVENDILYn1pZ57Q6g7CqJ7Ls3p1qDDkhw9dfypqjEx9i0h0mzCyFTIQ==", "dependencies": { "@stablelib/chacha20poly1305": "1.0.1", "@stablelib/hkdf": "1.0.1", @@ -4134,7 +4116,7 @@ "@walletconnect/relay-api": "1.0.6", "@walletconnect/safe-json": "1.0.0", "@walletconnect/time": "1.0.1", - "@walletconnect/types": "2.0.0-rc.2", + "@walletconnect/types": "2.0.0", "@walletconnect/window-getters": "1.0.0", "@walletconnect/window-metadata": "1.0.0", "detect-browser": "5.3.0", @@ -7171,9 +7153,9 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "node_modules/multiformats": { - "version": "9.8.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.8.1.tgz", - "integrity": "sha512-Cu7NfUYtCV+WN7w59WsRRF138S+um4tTo11ScYsWbNgWyCEGOu8wID1e5eMJs91gFZ0I7afodkkdxCF8NGkqZQ==" + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.9.0.tgz", + "integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==" }, "node_modules/nan": { "version": "2.16.0", @@ -11483,25 +11465,45 @@ } }, "@walletconnect/auth-client": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-0.3.2.tgz", - "integrity": "sha512-iImgPUCfVTeYh2bIVvKG0gMOMGkYsFM/Jp5gV1WORRlm70xDbqcAId0cKx+L4Oc+r1vQ3iRUEatHNMWeFizFWQ==", + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/auth-client/-/auth-client-1.0.0.tgz", + "integrity": "sha512-O2vaaMqILtkSvj0ZGXba4fn0qNFfFEhVPkBkjygo9IpUqwUE9zbhl3yJZ1F5KrOQCVTBZeHEvkIz8GEV2YPzPw==", "requires": { - "@ethersproject/wallet": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/contracts": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/providers": "^5.7.1", + "@ethersproject/transactions": "^5.7.0", "@stablelib/random": "1.0.2", - "@walletconnect/core": "2.0.0-rc.2", + "@walletconnect/core": "2.0.0", "@walletconnect/events": "1.0.0", "@walletconnect/heartbeat": "1.0.0", "@walletconnect/jsonrpc-provider": "1.0.5", "@walletconnect/jsonrpc-utils": "1.0.3", "@walletconnect/logger": "1.0.1", "@walletconnect/time": "1.0.1", - "@walletconnect/utils": "2.0.0-rc.2", + "@walletconnect/utils": "2.0.0", "events": "^3.3.0", "pino": "6.7.0", "pino-pretty": "4.3.0" }, "dependencies": { + "@ethersproject/abi": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/abi/-/abi-5.7.0.tgz", + "integrity": "sha512-351ktp42TiRcYB3H1OP8yajPeAQstMW/yCFokj/AthP9bLHzQFPlOrxOcwYEDkUAICmOHljvN4K39OMTMUa9RA==", + "requires": { + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/keccak256": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/strings": "^5.7.0" + } + }, "@ethersproject/abstract-provider": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/abstract-provider/-/abstract-provider-5.7.0.tgz", @@ -11575,6 +11577,23 @@ "@ethersproject/bignumber": "^5.7.0" } }, + "@ethersproject/contracts": { + "version": "5.7.0", + "resolved": "https://registry.npmjs.org/@ethersproject/contracts/-/contracts-5.7.0.tgz", + "integrity": "sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg==", + "requires": { + "@ethersproject/abi": "^5.7.0", + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/transactions": "^5.7.0" + } + }, "@ethersproject/hash": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/hash/-/hash-5.7.0.tgz", @@ -11591,45 +11610,6 @@ "@ethersproject/strings": "^5.7.0" } }, - "@ethersproject/hdnode": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/hdnode/-/hdnode-5.7.0.tgz", - "integrity": "sha512-OmyYo9EENBPPf4ERhR7oj6uAtUAhYGqOnIS+jE5pTXvdKBS99ikzq1E7Iv0ZQZ5V36Lqx1qZLeak0Ra16qpeOg==", - "requires": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/basex": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/pbkdf2": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/sha2": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0", - "@ethersproject/strings": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/wordlists": "^5.7.0" - } - }, - "@ethersproject/json-wallets": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/json-wallets/-/json-wallets-5.7.0.tgz", - "integrity": "sha512-8oee5Xgu6+RKgJTkvEMl2wDgSPSAQ9MB/3JYjFV9jlKvcYHUXZC+cQp0njgmxdHkYWn8s6/IqIZYm0YWCjO/0g==", - "requires": { - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hdnode": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/pbkdf2": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/random": "^5.7.0", - "@ethersproject/strings": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "aes-js": "3.0.0", - "scrypt-js": "3.0.1" - } - }, "@ethersproject/keccak256": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/keccak256/-/keccak256-5.7.0.tgz", @@ -11647,15 +11627,6 @@ "@ethersproject/logger": "^5.7.0" } }, - "@ethersproject/pbkdf2": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/pbkdf2/-/pbkdf2-5.7.0.tgz", - "integrity": "sha512-oR/dBRZR6GTyaofd86DehG72hY6NpAjhabkhxgr3X2FpJtJuodEl2auADWBZfhDHgVCbu3/H/Ocq2uC6dpNjjw==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/sha2": "^5.7.0" - } - }, "@ethersproject/properties": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/properties/-/properties-5.7.0.tgz", @@ -11664,6 +11635,33 @@ "@ethersproject/logger": "^5.7.0" } }, + "@ethersproject/providers": { + "version": "5.7.2", + "resolved": "https://registry.npmjs.org/@ethersproject/providers/-/providers-5.7.2.tgz", + "integrity": "sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg==", + "requires": { + "@ethersproject/abstract-provider": "^5.7.0", + "@ethersproject/abstract-signer": "^5.7.0", + "@ethersproject/address": "^5.7.0", + "@ethersproject/base64": "^5.7.0", + "@ethersproject/basex": "^5.7.0", + "@ethersproject/bignumber": "^5.7.0", + "@ethersproject/bytes": "^5.7.0", + "@ethersproject/constants": "^5.7.0", + "@ethersproject/hash": "^5.7.0", + "@ethersproject/logger": "^5.7.0", + "@ethersproject/networks": "^5.7.0", + "@ethersproject/properties": "^5.7.0", + "@ethersproject/random": "^5.7.0", + "@ethersproject/rlp": "^5.7.0", + "@ethersproject/sha2": "^5.7.0", + "@ethersproject/strings": "^5.7.0", + "@ethersproject/transactions": "^5.7.0", + "@ethersproject/web": "^5.7.0", + "bech32": "1.1.4", + "ws": "7.4.6" + } + }, "@ethersproject/random": { "version": "5.7.0", "resolved": "https://registry.npmjs.org/@ethersproject/random/-/random-5.7.0.tgz", @@ -11721,28 +11719,6 @@ "@ethersproject/signing-key": "^5.7.0" } }, - "@ethersproject/wallet": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/wallet/-/wallet-5.7.0.tgz", - "integrity": "sha512-MhmXlJXEJFBFVKrDLB4ZdDzxcBxQ3rLyCkhNqVu3CDYvR97E+8r01UgrI+TI99Le+aYm/in/0vp86guJuM7FCA==", - "requires": { - "@ethersproject/abstract-provider": "^5.7.0", - "@ethersproject/abstract-signer": "^5.7.0", - "@ethersproject/address": "^5.7.0", - "@ethersproject/bignumber": "^5.7.0", - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/hdnode": "^5.7.0", - "@ethersproject/json-wallets": "^5.7.0", - "@ethersproject/keccak256": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/random": "^5.7.0", - "@ethersproject/signing-key": "^5.7.0", - "@ethersproject/transactions": "^5.7.0", - "@ethersproject/wordlists": "^5.7.0" - } - }, "@ethersproject/web": { "version": "5.7.1", "resolved": "https://registry.npmjs.org/@ethersproject/web/-/web-5.7.1.tgz", @@ -11755,37 +11731,31 @@ "@ethersproject/strings": "^5.7.0" } }, - "@ethersproject/wordlists": { - "version": "5.7.0", - "resolved": "https://registry.npmjs.org/@ethersproject/wordlists/-/wordlists-5.7.0.tgz", - "integrity": "sha512-S2TFNJNfHWVHNE6cNDjbVlZ6MgE17MIxMbMg2zv3wn+3XSJGosL1m9ZVv3GXCf/2ymSsQ+hRI5IzoMJTG6aoVA==", - "requires": { - "@ethersproject/bytes": "^5.7.0", - "@ethersproject/hash": "^5.7.0", - "@ethersproject/logger": "^5.7.0", - "@ethersproject/properties": "^5.7.0", - "@ethersproject/strings": "^5.7.0" - } + "ws": { + "version": "7.4.6", + "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.6.tgz", + "integrity": "sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==", + "requires": {} } } }, "@walletconnect/core": { - "version": "2.0.0-rc.2", - "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-2.0.0-rc.2.tgz", - "integrity": "sha512-zyZs0ChqthjKKBKF8bhXRhli15U+GOa/YPX4gzmdjRB9o8LZ27GMRNvWdLhUHkJU/GC6EfmV3/B7J8rfQGsnDA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-2.0.0.tgz", + "integrity": "sha512-cdgeOXormJDMFEgoBcDHxQ3F81H8N/o4rNHFGJjwAahGmdJ+/X3OVJrJMJSgYnByZE0lkJ0NQIncuvVPFwhbQg==", "requires": { "@walletconnect/heartbeat": "1.0.0", "@walletconnect/jsonrpc-provider": "1.0.5", "@walletconnect/jsonrpc-utils": "1.0.3", "@walletconnect/jsonrpc-ws-connection": "1.0.3", - "@walletconnect/keyvaluestorage": "1.0.0", + "@walletconnect/keyvaluestorage": "1.0.1-rc.2", "@walletconnect/logger": "1.0.1", "@walletconnect/relay-api": "1.0.6", "@walletconnect/relay-auth": "1.0.3", "@walletconnect/safe-json": "1.0.0", "@walletconnect/time": "1.0.1", - "@walletconnect/types": "2.0.0-rc.2", - "@walletconnect/utils": "2.0.0-rc.2", + "@walletconnect/types": "2.0.0", + "@walletconnect/utils": "2.0.0", "lodash.isequal": "4.5.0", "pino": "6.7.0", "pino-pretty": "4.3.0", @@ -11793,9 +11763,9 @@ }, "dependencies": { "@walletconnect/keyvaluestorage": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.0.tgz", - "integrity": "sha512-dlIrX/pCjuXMUprkLdy0hw0Ibr3To9nCdG19mPqd/lRdRWsPItBL+79LClVplMxb0cuF3qlTuGTNx/hmUKYmWA==", + "version": "1.0.1-rc.2", + "resolved": "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.1-rc.2.tgz", + "integrity": "sha512-W704vnzAAZ4b/v7vEvYDul7fZ+TtG2vIfw8J41N8DnfBeee3IZ/urSrsAPaNUcDZArAWv/ZOYrIGHz5K9sdeUA==", "requires": { "localStorage": "^1.0.4", "safe-json-utils": "^1.1.1" @@ -11900,20 +11870,20 @@ "integrity": "sha512-LtNtHupTNranehLMh8Z/JN6xVySysSoJNjNCQ0ML+hOUkim5QX/VdvfovSpaX9qA2b95u7bIuTcq0O3UBk7Iyw==" }, "@walletconnect/types": { - "version": "2.0.0-rc.2", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0-rc.2.tgz", - "integrity": "sha512-BuQbEjkRIZULqBHBxKgGiUgeJ1i+5NpNvw5Y7ML7X+hksHooj0+Hy6qv7Jc/cegltEovElAU2w6R38dfuEPUOA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.0.0.tgz", + "integrity": "sha512-Adm+A5cC1+M+aRh3BPzH85v5lbNf2tFKrVVZ1bcl6SuDIsoi7amjIU9IEzOs+F9g53AxFgwLlBVRaqARMOEGkA==", "requires": { "@walletconnect/events": "1.0.0", "@walletconnect/heartbeat": "1.0.0", "@walletconnect/jsonrpc-types": "1.0.1", - "@walletconnect/keyvaluestorage": "1.0.0" + "@walletconnect/keyvaluestorage": "1.0.1-rc.2" }, "dependencies": { "@walletconnect/keyvaluestorage": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.0.tgz", - "integrity": "sha512-dlIrX/pCjuXMUprkLdy0hw0Ibr3To9nCdG19mPqd/lRdRWsPItBL+79LClVplMxb0cuF3qlTuGTNx/hmUKYmWA==", + "version": "1.0.1-rc.2", + "resolved": "https://registry.npmjs.org/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.1-rc.2.tgz", + "integrity": "sha512-W704vnzAAZ4b/v7vEvYDul7fZ+TtG2vIfw8J41N8DnfBeee3IZ/urSrsAPaNUcDZArAWv/ZOYrIGHz5K9sdeUA==", "requires": { "localStorage": "^1.0.4", "safe-json-utils": "^1.1.1" @@ -11922,9 +11892,9 @@ } }, "@walletconnect/utils": { - "version": "2.0.0-rc.2", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0-rc.2.tgz", - "integrity": "sha512-G4qa4zirL3MbryhWf/+4uew7wV3gtLmIt09FVtWQLhPCePrlA0A8EuPXYQAqW58gQpFIsuUiKUYfy3kRMkp4WA==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-2.0.0.tgz", + "integrity": "sha512-WL4gGUp5cGxfWqktSci6j3iowEK/TM4kVENDILYn1pZ57Q6g7CqJ7Ls3p1qDDkhw9dfypqjEx9i0h0mzCyFTIQ==", "requires": { "@stablelib/chacha20poly1305": "1.0.1", "@stablelib/hkdf": "1.0.1", @@ -11935,7 +11905,7 @@ "@walletconnect/relay-api": "1.0.6", "@walletconnect/safe-json": "1.0.0", "@walletconnect/time": "1.0.1", - "@walletconnect/types": "2.0.0-rc.2", + "@walletconnect/types": "2.0.0", "@walletconnect/window-getters": "1.0.0", "@walletconnect/window-metadata": "1.0.0", "detect-browser": "5.3.0", @@ -14276,9 +14246,9 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "multiformats": { - "version": "9.8.1", - "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.8.1.tgz", - "integrity": "sha512-Cu7NfUYtCV+WN7w59WsRRF138S+um4tTo11ScYsWbNgWyCEGOu8wID1e5eMJs91gFZ0I7afodkkdxCF8NGkqZQ==" + "version": "9.9.0", + "resolved": "https://registry.npmjs.org/multiformats/-/multiformats-9.9.0.tgz", + "integrity": "sha512-HoMUjhH9T8DDBNT+6xzkrd9ga/XiBI4xLr58LJACwK6G3HTOPeMz4nB4KJs33L2BelrIJa7P0VuNaVF3hMYfjg==" }, "nan": { "version": "2.16.0", diff --git a/wallets/react-wallet-auth/package.json b/wallets/react-wallet-auth/package.json index 505457a..619ab73 100644 --- a/wallets/react-wallet-auth/package.json +++ b/wallets/react-wallet-auth/package.json @@ -15,8 +15,8 @@ "@nextui-org/react": "1.0.8-beta.5", "@polkadot/keyring": "^10.1.2", "@solana/web3.js": "1.43.0", - "@walletconnect/auth-client": "0.4.0", - "@walletconnect/utils": "2.0.0-rc.2", + "@walletconnect/auth-client": "1.0.0", + "@walletconnect/utils": "2.0.0", "bs58": "5.0.0", "cosmos-wallet": "1.2.0", "ethers": "5.6.6", @@ -33,7 +33,7 @@ "devDependencies": { "@types/node": "17.0.35", "@types/react": "18.0.9", - "@walletconnect/types": "2.0.0-rc.2", + "@walletconnect/types": "2.0.0", "eslint": "8.15.0", "eslint-config-next": "12.1.6", "eslint-config-prettier": "8.5.0", diff --git a/wallets/react-wallet-auth/src/pages/pairings.tsx b/wallets/react-wallet-auth/src/pages/pairings.tsx index a3e7eea..df40c08 100644 --- a/wallets/react-wallet-auth/src/pages/pairings.tsx +++ b/wallets/react-wallet-auth/src/pages/pairings.tsx @@ -6,7 +6,7 @@ import { getSdkError } from '@walletconnect/utils' import { Fragment, useState } from 'react' export default function PairingsPage() { - const [pairings, setPairings] = useState(authClient.pairing.values) + const [pairings, setPairings] = useState(authClient.core.pairing.getPairings()) async function onDelete(topic: string) { // await authClient.disconnect({ topic, reason: getSdkError('USER_DISCONNECTED') }) diff --git a/wallets/react-wallet-auth/src/pages/walletconnect.tsx b/wallets/react-wallet-auth/src/pages/walletconnect.tsx index e1b071d..125ccb0 100644 --- a/wallets/react-wallet-auth/src/pages/walletconnect.tsx +++ b/wallets/react-wallet-auth/src/pages/walletconnect.tsx @@ -11,7 +11,7 @@ export default function WalletConnectPage() { async function onConnect(uri: string) { try { setLoading(true) - await authClient.pair({ uri }) + await authClient.core.pairing.pair({ uri }) } catch (err: unknown) { alert(err) } finally {