diff --git a/contexts/AuthContext.tsx b/contexts/AuthContext.tsx index 9898580..99cbfc2 100644 --- a/contexts/AuthContext.tsx +++ b/contexts/AuthContext.tsx @@ -4,12 +4,7 @@ import { createContext, useContext, useEffect, useMemo, useState } from "react" import Channel4Icon from "@/assets/channel-4-icon-v2.svg" import { useJwtStore } from "@/store/jwt" import { Web3Auth } from "@web3auth/modal" -import { - BrowserProvider, - Eip1193Provider, - JsonRpcSigner, - Provider, -} from "ethers" +import { BrowserProvider, Eip1193Provider, JsonRpcSigner } from "ethers" type AuthContextType = { initializingW3A: boolean @@ -34,6 +29,20 @@ export const AuthProvider: React.FC<{ children: JSX.Element }> = ({ const [web3Auth, setWeb3Auth] = useState(null) const { token, userId, updateToken, updateUserId } = useJwtStore() + const connectWeb3Auth = async () => { + // If web3auth has not been initialized correctly then call init modal + if (web3Auth?.status === "not_ready") { + await web3Auth?.initModal() + } + if (web3Auth?.status === "errored" || web3Auth?.status === "not_ready") { + alert( + "Web3Auth is not initialized. Please click sign-in again. If the issue persists refresh the page and try again." + ) + } else { + return await web3Auth?.connect() + } + } + const getSigner = async (web3AuthProvider: Eip1193Provider) => { const provider = new BrowserProvider(web3AuthProvider) return await provider.getSigner() @@ -41,7 +50,7 @@ export const AuthProvider: React.FC<{ children: JSX.Element }> = ({ const signIn = async () => { try { - const web3AuthProvider = await web3Auth?.connect() + const web3AuthProvider = await connectWeb3Auth() if (web3AuthProvider) { // Create ethers provider from web3 auth provider const rpcSigner = await getSigner(web3AuthProvider) @@ -75,6 +84,8 @@ export const AuthProvider: React.FC<{ children: JSX.Element }> = ({ updateToken(null) updateUserId(null) setSigner(null) + // Reload window to avoid Web3Auth disconnect / reconnect bug + window.location.reload() } const signedIn = useMemo(() => { diff --git a/package.json b/package.json index beb539f..7c98bb5 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "@radix-ui/react-slider": "^1.1.2", "@swetrix/nextjs": "^1.0.1", "@walletconnect/sign-client": "^2.10.6", - "@web3auth/modal": "^7.0.3", + "@web3auth/modal": "^7.2.0", "airtable": "^0.12.1", "class-variance-authority": "^0.4.0", "clsx": "^1.2.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 45ad5bd..e0fa7f7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -18,8 +18,8 @@ dependencies: specifier: ^2.10.6 version: 2.10.6 '@web3auth/modal': - specifier: ^7.0.3 - version: 7.0.3(@babel/runtime@7.23.1)(@solana/web3.js@1.78.7)(@walletconnect/sign-client@2.10.6)(@walletconnect/types@2.10.6)(@walletconnect/utils@2.10.6)(encoding@0.1.13)(react-dom@18.2.0)(react@18.2.0) + specifier: ^7.2.0 + version: 7.2.0(@babel/runtime@7.23.6)(@solana/web3.js@1.78.7)(@walletconnect/sign-client@2.10.6)(@walletconnect/types@2.10.6)(@walletconnect/utils@2.10.6)(encoding@0.1.13)(react-dom@18.2.0)(react@18.2.0) airtable: specifier: ^0.12.1 version: 0.12.1(encoding@0.1.13) @@ -301,6 +301,13 @@ packages: regenerator-runtime: 0.14.0 dev: false + /@babel/runtime@7.23.6: + resolution: {integrity: sha512-zHd0eUrf5GZoOWVCXp6koAKQTfZV07eit6bGPmJgnZdnSAvvZee6zniW2XMF7Cmc4ISOOnPy3QaSiIJGJkVEDQ==} + engines: {node: '>=6.9.0'} + dependencies: + regenerator-runtime: 0.14.0 + dev: false + /@babel/template@7.20.7: resolution: {integrity: sha512-8SegXApWe6VoNw0r9JHpSteLKTpTiLZ4rMlGIm9JQ18KiCtyQiAMEazujAHrUS5flrcqYZa75ukev3P6QmUwUw==} engines: {node: '>=6.9.0'} @@ -371,10 +378,10 @@ packages: crc-32: 1.2.2 dev: false - /@ethereumjs/common@4.0.0: - resolution: {integrity: sha512-eVa0/nC15mpotD8HOq6jB883SCWUkLjibr2jLPmPrx4FfmewXqFeh4drgR2sHjq3qWKxpCLK+5qsSJgtXwIzJQ==} + /@ethereumjs/common@4.1.0: + resolution: {integrity: sha512-XWdQvUjlQHVwh4uGEPFKHpsic69GOsMXEhlHrggS5ju/+2zAmmlz6B25TkCCymeElC9DUp13tH5Tc25Iuvtlcg==} dependencies: - '@ethereumjs/util': 9.0.0 + '@ethereumjs/util': 9.0.1 crc: 4.3.2 transitivePeerDependencies: - buffer @@ -387,8 +394,8 @@ packages: hasBin: true dev: false - /@ethereumjs/rlp@5.0.0: - resolution: {integrity: sha512-WuS1l7GJmB0n0HsXLozCoEFc9IwYgf3l0gCkKVYgR67puVF1O4OpEaN0hWmm1c+iHUHFCKt1hJrvy5toLg+6ag==} + /@ethereumjs/rlp@5.0.1: + resolution: {integrity: sha512-Ab/Hfzz+T9Zl+65Nkg+9xAmwKPLicsnQ4NW49pgvJp9ovefuic95cgOS9CbPc9izIEgsqm1UitV0uNveCvud9w==} engines: {node: '>=18'} hasBin: true dev: false @@ -403,18 +410,18 @@ packages: ethereum-cryptography: 2.1.2 dev: false - /@ethereumjs/tx@5.0.0: - resolution: {integrity: sha512-bJBC/jHVIbwvZBVsK0Ls70NzxJ8Q3UvPwskG1LO6+ryVGKY0y1bhRreo0/gR3vTkuRjD+x5QTYV6fIY16tswJA==} + /@ethereumjs/tx@5.1.0: + resolution: {integrity: sha512-VUhw2+4yXArJZRWhPjmZFrN4WUjUo0qUZUszVpW2KzsGlqCFf67kwJcH9Rca5eS0CRHjr2qHJLpvYOjNuaXVdA==} engines: {node: '>=18'} peerDependencies: - c-kzg: ^2.1.0 + c-kzg: ^2.1.2 peerDependenciesMeta: c-kzg: optional: true dependencies: - '@ethereumjs/common': 4.0.0 - '@ethereumjs/rlp': 5.0.0 - '@ethereumjs/util': 9.0.0 + '@ethereumjs/common': 4.1.0 + '@ethereumjs/rlp': 5.0.1 + '@ethereumjs/util': 9.0.1 ethereum-cryptography: 2.1.2 transitivePeerDependencies: - buffer @@ -429,16 +436,16 @@ packages: micro-ftch: 0.3.1 dev: false - /@ethereumjs/util@9.0.0: - resolution: {integrity: sha512-V8062I+ZXfFxtFLp7xsPeiT1IxDaVOZaM78nGj1gsWUFeZ8SgADMLDKWehp+muTy1JRbVoXFljZ1qoyv9ji/2g==} + /@ethereumjs/util@9.0.1: + resolution: {integrity: sha512-NdFFEzCc3H1sYkNnnySwLg6owdQMhjUc2jfuDyx8Xv162WSluCnnSKouKOSG3njGNEyy2I9NmF8zTRDwuqpZWA==} engines: {node: '>=18'} peerDependencies: - c-kzg: ^2.1.0 + c-kzg: ^2.1.2 peerDependenciesMeta: c-kzg: optional: true dependencies: - '@ethereumjs/rlp': 5.0.0 + '@ethereumjs/rlp': 5.0.1 ethereum-cryptography: 2.1.2 dev: false @@ -552,23 +559,22 @@ packages: engines: {node: '>=14.0.0'} dev: false - /@metamask/eth-sig-util@7.0.0: - resolution: {integrity: sha512-8KeXZB4SKx3EfNS5ahbjUMegyGvDQYk6Nk3hmM658sXpfAQR5ZlIXBgj+9RF+ZROqsU6EuNVgKt7Fr10re60PQ==} + /@metamask/eth-sig-util@7.0.1: + resolution: {integrity: sha512-59GSrMyFH2fPfu7nKeIQdZ150zxXNNhAQIUaFRUW+MGtVA4w/ONbiQobcRBLi+jQProfIyss51G8pfLPcQ0ylg==} engines: {node: ^16.20 || ^18.16 || >=20} dependencies: '@ethereumjs/util': 8.1.0 '@metamask/abi-utils': 2.0.2 '@metamask/utils': 8.1.0 ethereum-cryptography: 2.1.2 - ethjs-util: 0.1.6 tweetnacl: 1.0.3 tweetnacl-util: 0.15.1 transitivePeerDependencies: - supports-color dev: false - /@metamask/rpc-errors@6.0.0: - resolution: {integrity: sha512-sAZwcdmidJDPbZV3XSKcWZC7CSTdjqDNRsDDdb2SstCOLEJtNqHpx32FWgwWB0arqWxUcUxYxgR39edUbsWz7A==} + /@metamask/rpc-errors@6.1.0: + resolution: {integrity: sha512-JQElKxai26FpDyRKO/yH732wI+BV90i1u6pOuDOpdADSbppB2g1pPh3AGST1zkZqEE9eIKIUw8UdBQ4rp3VTSg==} engines: {node: '>=16.0.0'} dependencies: '@metamask/utils': 8.1.0 @@ -1543,7 +1549,7 @@ packages: /@solana/web3.js@1.78.7(encoding@0.1.13): resolution: {integrity: sha512-BiAuCaHnbxgHsjNt/4dfMYjvPDRw+tollg6uWdVZpPogQW2GJj51LQ2NeVhfIGlJIU75O03YZeIc0r0H6LH1vA==} dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.23.6 '@noble/curves': 1.2.0 '@noble/hashes': 1.3.2 '@solana/buffer-layout': 4.0.1 @@ -1696,18 +1702,18 @@ packages: swetrix: 1.3.2 dev: false - /@toruslabs/base-controllers@4.2.0(@babel/runtime@7.23.1): - resolution: {integrity: sha512-Z+FJjnqBVy39hcjozfAyn6CLBK7rq6b1NAhkVQj9leUbELacXny/l3ENtVV61Dxl3tIkkE2Y+SOQ9qNm6Iwj0Q==} + /@toruslabs/base-controllers@4.10.0(@babel/runtime@7.23.6): + resolution: {integrity: sha512-7ICvdtcwSAyL0pw3qMpPtbpQg7ojGlyfo01nD6PXMuMZb2NThWv6DM9RuzMxFbaQAcLikmY7gHF0XOD5G+ptaw==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': 7.x dependencies: - '@babel/runtime': 7.23.1 - '@ethereumjs/util': 9.0.0 - '@metamask/rpc-errors': 6.0.0 - '@toruslabs/broadcast-channel': 8.0.0 - '@toruslabs/http-helpers': 5.0.0(@babel/runtime@7.23.1) - '@toruslabs/openlogin-jrpc': 5.1.0(@babel/runtime@7.23.1) + '@babel/runtime': 7.23.6 + '@ethereumjs/util': 9.0.1 + '@metamask/rpc-errors': 6.1.0 + '@toruslabs/broadcast-channel': 9.0.1 + '@toruslabs/http-helpers': 5.0.0(@babel/runtime@7.23.6) + '@toruslabs/openlogin-jrpc': 6.1.0(@babel/runtime@7.23.6) async-mutex: 0.4.0 bignumber.js: 9.1.2 bowser: 2.11.0 @@ -1721,25 +1727,25 @@ packages: - utf-8-validate dev: false - /@toruslabs/base-session-manager@3.0.0(@babel/runtime@7.23.1): + /@toruslabs/base-session-manager@3.0.0(@babel/runtime@7.23.6): resolution: {integrity: sha512-+EqwizmSFkVEczUtaw+swbAxRIIxC/EaFE040rwfgC5fixaQMNLw2cVYXWN67Ra47wC9A7Om6xwQTuGFR+dy4w==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': 7.x dependencies: - '@babel/runtime': 7.23.1 - '@toruslabs/http-helpers': 5.0.0(@babel/runtime@7.23.1) + '@babel/runtime': 7.23.6 + '@toruslabs/http-helpers': 5.0.0(@babel/runtime@7.23.6) transitivePeerDependencies: - '@sentry/types' dev: false - /@toruslabs/broadcast-channel@8.0.0: - resolution: {integrity: sha512-qCyWsHVL4Xtx1J6k1+acD7TJKCelJWyUy5Q5zyiWMPxMGFxTv1XdRyqpzV+VgwbcslIqgFN0GewOry2l1jlUQQ==} + /@toruslabs/broadcast-channel@9.0.1: + resolution: {integrity: sha512-xypCZwwD+cJ8fRCtMiJMWuuPg/9rf4P3AhWGkrTKL49GXFEx23akUjq/ti4n1o1uJdQok6E9MH9Z/JpLniyRaA==} engines: {node: '>=18.x', npm: '>=9.x'} dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.23.6 '@toruslabs/eccrypto': 4.0.0 - '@toruslabs/metadata-helpers': 5.0.0(@babel/runtime@7.23.1) + '@toruslabs/metadata-helpers': 5.0.0(@babel/runtime@7.23.6) bowser: 2.11.0 loglevel: 1.8.1 oblivious-set: 1.1.1 @@ -1752,13 +1758,13 @@ packages: - utf-8-validate dev: false - /@toruslabs/constants@13.0.1(@babel/runtime@7.23.1): - resolution: {integrity: sha512-haFppvgyHfKl2uTQKkrWOkgQmLgzbqxhIvaNvRGei4FgFNJNLr5+ju8/PwwbgKhQUi7adkeU0pjwFYITJyHEPw==} + /@toruslabs/constants@13.1.0(@babel/runtime@7.23.6): + resolution: {integrity: sha512-W1LyRoM5xCTyNivGnxa+mOit4yWPZjyYHfM+whYBujP1nQVnJ09nSFCBn1ePm6ONxB5mp58jsI3TJugeY2KFSg==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': 7.x dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.23.6 dev: false /@toruslabs/eccrypto@4.0.0: @@ -1768,7 +1774,7 @@ packages: elliptic: 6.5.4 dev: false - /@toruslabs/http-helpers@5.0.0(@babel/runtime@7.23.1): + /@toruslabs/http-helpers@5.0.0(@babel/runtime@7.23.6): resolution: {integrity: sha512-GmezWz9JeF6YyhjLSm+9XDF4YaeICEckY0Jbo43i86SjhfJYgRWqEi63VSiNsaqc/z810Q0FQvEk1TnBRX2tgA==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: @@ -1778,20 +1784,20 @@ packages: '@sentry/types': optional: true dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.23.6 lodash.merge: 4.6.2 loglevel: 1.8.1 dev: false - /@toruslabs/metadata-helpers@5.0.0(@babel/runtime@7.23.1): + /@toruslabs/metadata-helpers@5.0.0(@babel/runtime@7.23.6): resolution: {integrity: sha512-ZUFfOHJVJC53c8wJYHjdF3bIgN2ZvfqehbTZ/zJ7oVFfrrd6O66V3gQ1i1zxBjH3yhOvZKQwc0DaMmh3G0NUXQ==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': 7.x dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.23.6 '@toruslabs/eccrypto': 4.0.0 - '@toruslabs/http-helpers': 5.0.0(@babel/runtime@7.23.1) + '@toruslabs/http-helpers': 5.0.0(@babel/runtime@7.23.6) elliptic: 6.5.4 ethereum-cryptography: 2.1.2 json-stable-stringify: 1.0.2 @@ -1799,25 +1805,44 @@ packages: - '@sentry/types' dev: false - /@toruslabs/openlogin-ed25519@5.0.0(@babel/runtime@7.23.1): - resolution: {integrity: sha512-WgiUgZkjoI8iM8OrNarHTnHZXsZRC/tKkoXcJbVsd4aSbuJKt23iXX/4Cg1S30MR+RqjXbY5YH7DZCt9ob90yw==} + /@toruslabs/openlogin-ed25519@6.0.0(@babel/runtime@7.23.6): + resolution: {integrity: sha512-wdz8W0TeaKvENuPTeiHsn97N1GVvp880gXwj3ECtfPNWdz9S8zYtvv1R3M1DD+HJVlCoLzGGKe2dc9Ko+K5wGQ==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': 7.x dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.23.6 '@toruslabs/tweetnacl-js': 1.0.4 dev: false - /@toruslabs/openlogin-jrpc@5.1.0(@babel/runtime@7.23.1): + /@toruslabs/openlogin-jrpc@5.1.0(@babel/runtime@7.23.6): resolution: {integrity: sha512-+wZvY2ayMhyrKpOffLecrGEcTjRDfwvYJGjj2bl/uyGfv8IyQub59txnFh7MLzDrEyHFGvkmfLJDIqCRfkm8QA==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': 7.x dependencies: - '@babel/runtime': 7.23.1 - '@metamask/rpc-errors': 6.0.0 - '@toruslabs/openlogin-utils': 5.1.0(@babel/runtime@7.23.1) + '@babel/runtime': 7.23.6 + '@metamask/rpc-errors': 6.1.0 + '@toruslabs/openlogin-utils': 5.1.0(@babel/runtime@7.23.6) + 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.4.2 + transitivePeerDependencies: + - supports-color + dev: false + + /@toruslabs/openlogin-jrpc@6.1.0(@babel/runtime@7.23.6): + resolution: {integrity: sha512-0w3VSAjbHu5Mv+T5YSgAqC+jXjZtcPvBr5g7w2MeF6sICmk3OtMoGqD9XadLsOELcwSA35wrVvZuTbV+elXzhA==} + engines: {node: '>=18.x', npm: '>=9.x'} + peerDependencies: + '@babel/runtime': 7.x + dependencies: + '@babel/runtime': 7.23.6 + '@metamask/rpc-errors': 6.1.0 + '@toruslabs/openlogin-utils': 6.1.0(@babel/runtime@7.23.6) end-of-stream: 1.4.4 events: 3.3.0 fast-safe-stringify: 2.1.1 @@ -1828,43 +1853,54 @@ packages: - supports-color dev: false - /@toruslabs/openlogin-session-manager@3.0.0(@babel/runtime@7.23.1): + /@toruslabs/openlogin-session-manager@3.0.0(@babel/runtime@7.23.6): resolution: {integrity: sha512-S+nnZQ+Y+XCHvTYaov3ltiV2hAAPpKpwxvB4TmbMvi7KWOZ8BcUJQykSITlIXV4aE5y5BD96rsmjQ3C3MyVtUQ==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': 7.x dependencies: - '@babel/runtime': 7.23.1 - '@toruslabs/base-session-manager': 3.0.0(@babel/runtime@7.23.1) + '@babel/runtime': 7.23.6 + '@toruslabs/base-session-manager': 3.0.0(@babel/runtime@7.23.6) '@toruslabs/eccrypto': 4.0.0 - '@toruslabs/metadata-helpers': 5.0.0(@babel/runtime@7.23.1) + '@toruslabs/metadata-helpers': 5.0.0(@babel/runtime@7.23.6) transitivePeerDependencies: - '@sentry/types' dev: false - /@toruslabs/openlogin-utils@5.1.0(@babel/runtime@7.23.1): + /@toruslabs/openlogin-utils@5.1.0(@babel/runtime@7.23.6): resolution: {integrity: sha512-eDbRMYubh9PdU7rDn0G8Ksp3cIs2qK93Em4NYROZbQWkVHc9n5Ou32Axl8GYr5ChwjSttopvtBWfU6+ifX54cA==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': 7.x dependencies: - '@babel/runtime': 7.23.1 - '@toruslabs/constants': 13.0.1(@babel/runtime@7.23.1) + '@babel/runtime': 7.23.6 + '@toruslabs/constants': 13.1.0(@babel/runtime@7.23.6) base64url: 3.0.1 dev: false - /@toruslabs/openlogin@5.1.1(@babel/runtime@7.23.1): - resolution: {integrity: sha512-ESEXZoG9o98/jiL454AclfK5YYmY+q+KW8Ru1aklcnTN9jH097zqwkYdB5BOEJjzu9RlmT7PRH+oIj9bWJT5zw==} + /@toruslabs/openlogin-utils@6.1.0(@babel/runtime@7.23.6): + resolution: {integrity: sha512-X3xBui0GKiK5JZ677Q4UhLvMn1FOjL1a+1y9qPAn+b+bh41Gg1c8G/VMGRqMuu7owdQGY3B6f7XWuRSEYNk8kQ==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': 7.x dependencies: - '@babel/runtime': 7.23.1 - '@toruslabs/broadcast-channel': 8.0.0 + '@babel/runtime': 7.23.6 + '@toruslabs/constants': 13.1.0(@babel/runtime@7.23.6) + base64url: 3.0.1 + dev: false + + /@toruslabs/openlogin@6.1.0(@babel/runtime@7.23.6): + resolution: {integrity: sha512-TEVhx74Kw8H8DuA+XqZYH4j2vcTnsgIF9EnHgEvXuerV9dC4KhUCz/k9jqIVo12rRJKOqTdAmcHSNeje31+1+g==} + engines: {node: '>=18.x', npm: '>=9.x'} + peerDependencies: + '@babel/runtime': 7.x + dependencies: + '@babel/runtime': 7.23.6 '@toruslabs/eccrypto': 4.0.0 - '@toruslabs/metadata-helpers': 5.0.0(@babel/runtime@7.23.1) - '@toruslabs/openlogin-session-manager': 3.0.0(@babel/runtime@7.23.1) - '@toruslabs/openlogin-utils': 5.1.0(@babel/runtime@7.23.1) + '@toruslabs/metadata-helpers': 5.0.0(@babel/runtime@7.23.6) + '@toruslabs/openlogin-session-manager': 3.0.0(@babel/runtime@7.23.6) + '@toruslabs/openlogin-utils': 6.1.0(@babel/runtime@7.23.6) + '@toruslabs/secure-pub-sub': 0.0.1(@babel/runtime@7.23.6) bowser: 2.11.0 events: 3.3.0 loglevel: 1.8.1 @@ -1876,17 +1912,36 @@ packages: - utf-8-validate dev: false - /@toruslabs/solana-embed@2.0.0(@babel/runtime@7.23.1)(encoding@0.1.13): + /@toruslabs/secure-pub-sub@0.0.1(@babel/runtime@7.23.6): + resolution: {integrity: sha512-fuvjilsNhJ9zdeFcYBwFq6BxhFJU6vkCU3Xm4BcnXLtGxm79N9rj1C8rwFQY2TSgpAcD8NZsuuJqneRG7M9kpg==} + engines: {node: '>=18.x', npm: '>=9.x'} + peerDependencies: + '@babel/runtime': 7.x + dependencies: + '@babel/runtime': 7.23.6 + '@toruslabs/eccrypto': 4.0.0 + '@toruslabs/http-helpers': 5.0.0(@babel/runtime@7.23.6) + '@toruslabs/metadata-helpers': 5.0.0(@babel/runtime@7.23.6) + loglevel: 1.8.1 + socket.io-client: 4.7.2 + transitivePeerDependencies: + - '@sentry/types' + - bufferutil + - supports-color + - utf-8-validate + dev: false + + /@toruslabs/solana-embed@2.0.0(@babel/runtime@7.23.6)(encoding@0.1.13): resolution: {integrity: sha512-2Rqo8Y0/YZWDfu6IxoVMNSfJ+Mecvtg2+N8/jMUzFp9Fho1LADULl87QZW2Mgu1tMEhHPKAdisvhope3KkTZjA==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': 7.x dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.23.6 '@solana/web3.js': 1.78.7(encoding@0.1.13) - '@toruslabs/base-controllers': 4.2.0(@babel/runtime@7.23.1) - '@toruslabs/http-helpers': 5.0.0(@babel/runtime@7.23.1) - '@toruslabs/openlogin-jrpc': 5.1.0(@babel/runtime@7.23.1) + '@toruslabs/base-controllers': 4.10.0(@babel/runtime@7.23.6) + '@toruslabs/http-helpers': 5.0.0(@babel/runtime@7.23.6) + '@toruslabs/openlogin-jrpc': 5.1.0(@babel/runtime@7.23.6) eth-rpc-errors: 4.0.3 fast-deep-equal: 3.1.3 lodash-es: 4.17.21 @@ -1901,16 +1956,16 @@ packages: - utf-8-validate dev: false - /@toruslabs/torus-embed@3.0.0(@babel/runtime@7.23.1): - resolution: {integrity: sha512-3hFgh8zsOtHJUIj/0PNE9MBjMjZH0AFllPrFEXVxmQY/LmSW7KjKbY/YdnTplh8bygNTlEvcvk98Q1/TU5xhfg==} + /@toruslabs/torus-embed@4.0.8(@babel/runtime@7.23.6): + resolution: {integrity: sha512-HCx+px9lb5Pm3X3n1LjEFLw2eCqGvwj/hxFbHFVW6PoN6vKKYbaTaHxNcf5YVmO3OcvAQUDm5uWK8gMIMkXDbw==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': 7.x dependencies: - '@babel/runtime': 7.23.1 - '@metamask/rpc-errors': 6.0.0 - '@toruslabs/http-helpers': 5.0.0(@babel/runtime@7.23.1) - '@toruslabs/openlogin-jrpc': 5.1.0(@babel/runtime@7.23.1) + '@babel/runtime': 7.23.6 + '@metamask/rpc-errors': 6.1.0 + '@toruslabs/http-helpers': 5.0.0(@babel/runtime@7.23.6) + '@toruslabs/openlogin-jrpc': 5.1.0(@babel/runtime@7.23.6) fast-deep-equal: 3.1.3 lodash.merge: 4.6.2 loglevel: 1.8.1 @@ -2139,21 +2194,6 @@ packages: - utf-8-validate dev: false - /@walletconnect/keyvaluestorage@1.0.2: - resolution: {integrity: sha512-U/nNG+VLWoPFdwwKx0oliT4ziKQCEoQ27L5Hhw8YOFGA2Po9A9pULUYNWhDgHkrb0gYDNt//X7wABcEWWBd3FQ==} - peerDependencies: - '@react-native-async-storage/async-storage': 1.x - lokijs: 1.x - peerDependenciesMeta: - '@react-native-async-storage/async-storage': - optional: true - lokijs: - optional: true - dependencies: - safe-json-utils: 1.1.1 - tslib: 1.14.1 - dev: false - /@walletconnect/keyvaluestorage@1.1.1: resolution: {integrity: sha512-V7ZQq2+mSxAq7MrRqDxanTzu2RcElfK1PfNYiaVnJgJ7Q7G7hTVwF8voIBx92qsRyGHZihrwNPHuZd1aKkd0rA==} peerDependencies: @@ -2180,12 +2220,6 @@ packages: - supports-color dev: false - /@walletconnect/legacy-types@2.0.0: - resolution: {integrity: sha512-sOVrA7HUdbI1OwKyPOQU0/DdvTSVFlsXWpAk2K2WvP2erTkBWPMTJq6cv2BmKdoJ3p6gLApT7sd+jHi3OF71uw==} - dependencies: - '@walletconnect/jsonrpc-types': 1.0.3 - dev: false - /@walletconnect/logger@2.0.1: resolution: {integrity: sha512-SsTKdsgWm+oDTBeNE/zHxxr5eJfZmE9/5yp/Ku+zJtcTAjELb3DXueWkDXmE9h8uHIbJzIb5wj5lPdzyrjT6hQ==} dependencies: @@ -2253,20 +2287,6 @@ packages: tslib: 1.14.1 dev: false - /@walletconnect/types@2.10.1: - resolution: {integrity: sha512-7pccAhajQdiH2kYywjE1XI64IqRI+4ioyGy0wvz8d0UFQ/DSG3MLKR8jHf5aTOafQQ/HRLz6xvlzN4a7gIVkUQ==} - dependencies: - '@walletconnect/events': 1.0.1 - '@walletconnect/heartbeat': 1.2.1 - '@walletconnect/jsonrpc-types': 1.0.3 - '@walletconnect/keyvaluestorage': 1.0.2 - '@walletconnect/logger': 2.0.1 - events: 3.3.0 - transitivePeerDependencies: - - '@react-native-async-storage/async-storage' - - lokijs - dev: false - /@walletconnect/types@2.10.6: resolution: {integrity: sha512-WgHfiTG1yakmxheaBRiXhUdEmgxwrvsAdOIWaMf/spvrzVKYh6sHI3oyEEky5qj5jjiMiyQBeB57QamzCotbcQ==} dependencies: @@ -2292,28 +2312,6 @@ packages: - supports-color dev: false - /@walletconnect/utils@2.10.1: - resolution: {integrity: sha512-DM0dKgm9O58l7VqJEyV2OVv16XRePhDAReI23let6WdW1dSpw/Y/A89Lp99ZJOjLm2FxyblMRF3YRaZtHwBffw==} - 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.10.1 - '@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.1 - transitivePeerDependencies: - - '@react-native-async-storage/async-storage' - - lokijs - dev: false - /@walletconnect/utils@2.10.6: resolution: {integrity: sha512-oRsWWhN2+hi3aiDXrQEOfysz6FHQJGXLsNQPVt+WIBJplO6Szmdau9dbleD88u1iiT4GKPqE0R9FOYvvPm1H/w==} dependencies: @@ -2360,14 +2358,14 @@ packages: tslib: 1.14.1 dev: false - /@web3auth/base-evm-adapter@7.0.1(@babel/runtime@7.23.1): - resolution: {integrity: sha512-9EWasVMVhTaTI8e7WtNXeyhbIh8T3oon7rrRtC+Eb7LK7f9Ad3oX5v1fTaCbCJdr8teKH8XFZlVbOgHWnJ4Slg==} + /@web3auth/base-evm-adapter@7.2.0(@babel/runtime@7.23.6): + resolution: {integrity: sha512-WK6jhw7qObUWLh16/UTrT/5zzUqHTHrPzgdl/ZNvUk2lGqDSpdoEpjOwkmKuRxYDlTUXgqEKySr5pArJMrqCFA==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': ^7.x dependencies: - '@babel/runtime': 7.23.1 - '@web3auth/base': 7.0.1(@babel/runtime@7.23.1) + '@babel/runtime': 7.23.6 + '@web3auth/base': 7.2.0(@babel/runtime@7.23.6) transitivePeerDependencies: - '@sentry/types' - bufferutil @@ -2375,11 +2373,11 @@ packages: - utf-8-validate dev: false - /@web3auth/base-plugin@7.0.1(@babel/runtime@7.23.1): - resolution: {integrity: sha512-BAwqZcEoDClXGIStAjhWsf+lguzifZ8hYz/wvcwE0ZOfhkXVNls96wSr/C7Cx+s94Hir8kN1zM2OROBM8f7YNQ==} + /@web3auth/base-plugin@7.2.0(@babel/runtime@7.23.6): + resolution: {integrity: sha512-N8cSr5dJ6C+6XuWRhBgYNbNuZMf5+/oVOKK8EzYIkqkRiaV1vhdOncZvpb/vDb/zZx2UkPmJvHMcAZ5FL6C3/w==} engines: {node: '>=18.x', npm: '>=9.x'} dependencies: - '@web3auth/base': 7.0.1(@babel/runtime@7.23.1) + '@web3auth/base': 7.2.0(@babel/runtime@7.23.6) transitivePeerDependencies: - '@babel/runtime' - '@sentry/types' @@ -2388,17 +2386,17 @@ packages: - utf-8-validate dev: false - /@web3auth/base-provider@7.0.1(@babel/runtime@7.23.1): - resolution: {integrity: sha512-8ggJtsD/1MbpMEbe+uBSS3mrqE/nqEKpRLyIjuyfobPs4Zu/VI2Exdjz6wcUIzwEB1iYyjFt29/gyIXufMyCgA==} + /@web3auth/base-provider@7.2.0(@babel/runtime@7.23.6): + resolution: {integrity: sha512-vsVR1/jHyL5nSON5TW7Uv3uCiDjHPV0ZB3beH5uEB5iuLRS/pBkoWFBNSZrzP9RST+mdmYt95pVfiJ+WlLM7Lw==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': 7.x dependencies: - '@babel/runtime': 7.23.1 - '@metamask/rpc-errors': 6.0.0 - '@toruslabs/base-controllers': 4.2.0(@babel/runtime@7.23.1) - '@toruslabs/openlogin-jrpc': 5.1.0(@babel/runtime@7.23.1) - '@web3auth/base': 7.0.1(@babel/runtime@7.23.1) + '@babel/runtime': 7.23.6 + '@metamask/rpc-errors': 6.1.0 + '@toruslabs/base-controllers': 4.10.0(@babel/runtime@7.23.6) + '@toruslabs/openlogin-jrpc': 6.1.0(@babel/runtime@7.23.6) + '@web3auth/base': 7.2.0(@babel/runtime@7.23.6) json-rpc-random-id: 1.0.1 transitivePeerDependencies: - '@sentry/types' @@ -2408,14 +2406,14 @@ packages: - utf-8-validate dev: false - /@web3auth/base-solana-adapter@7.0.1(@babel/runtime@7.23.1): - resolution: {integrity: sha512-afdeAz4G2WW4J2NTapOUJ37me9bgSoYKk4n8JVLrtkxwDJPZDCWY/6hMgJlX77gzZrr2D0G20M9AfQXGXyWV3A==} + /@web3auth/base-solana-adapter@7.2.0(@babel/runtime@7.23.6): + resolution: {integrity: sha512-mS2UBPA1cgvmVckyChZZMkLHsKTKvwxcgkuiHI3530lzIKK8i8Ud3rOvtundVYiCRIo6njz9jRZswd74VxCsdA==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': ^7.x dependencies: - '@babel/runtime': 7.23.1 - '@web3auth/base': 7.0.1(@babel/runtime@7.23.1) + '@babel/runtime': 7.23.6 + '@web3auth/base': 7.2.0(@babel/runtime@7.23.6) bs58: 5.0.0 transitivePeerDependencies: - '@sentry/types' @@ -2424,18 +2422,18 @@ packages: - utf-8-validate dev: false - /@web3auth/base@7.0.1(@babel/runtime@7.23.1): - resolution: {integrity: sha512-6ft4XAD37tobOxgkZhideiBMqoVJTpvAvYD0R99IDmpazpIrX8b4RBgwLQ/gIlNmGZhkU1UoTzub19xTWI9h6w==} + /@web3auth/base@7.2.0(@babel/runtime@7.23.6): + resolution: {integrity: sha512-ekoTmmBW3ThP9H3jXLXa6kRdjN6lm6Ju5/RZacEmVCbva6vQaZanMMAN4Hld4tLT2eJCW0VInFgEdjLdXGiDKQ==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': ^7.x dependencies: - '@babel/runtime': 7.23.1 - '@toruslabs/http-helpers': 5.0.0(@babel/runtime@7.23.1) - '@toruslabs/openlogin': 5.1.1(@babel/runtime@7.23.1) - '@toruslabs/openlogin-jrpc': 5.1.0(@babel/runtime@7.23.1) - '@toruslabs/openlogin-utils': 5.1.0(@babel/runtime@7.23.1) - jwt-decode: 3.1.2 + '@babel/runtime': 7.23.6 + '@toruslabs/http-helpers': 5.0.0(@babel/runtime@7.23.6) + '@toruslabs/openlogin': 6.1.0(@babel/runtime@7.23.6) + '@toruslabs/openlogin-jrpc': 6.1.0(@babel/runtime@7.23.6) + '@toruslabs/openlogin-utils': 6.1.0(@babel/runtime@7.23.6) + jwt-decode: 4.0.0 loglevel: 1.8.1 ts-custom-error: 3.3.1 transitivePeerDependencies: @@ -2445,50 +2443,59 @@ packages: - utf-8-validate dev: false - /@web3auth/ethereum-provider@7.0.2(@babel/runtime@7.23.1): - resolution: {integrity: sha512-Yg1/ZB0eUugiTx5fvLtYeplSF0175PcsBOAhShl/Rd+rLlkycP5lRMGsBSnxdHGE9esRajYoH8xfGNwEUcItjw==} + /@web3auth/ethereum-provider@7.2.0(@babel/runtime@7.23.6): + resolution: {integrity: sha512-tl3ofbPWBIr6wE5O6vC/Ivcic/Ps7VUiB9Fi9vQ5EMuO9cnXtz4Bjpzl+/3KyTRiE+3uz3wsz2kS9jKsxoY58A==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': 7.x dependencies: - '@babel/runtime': 7.23.1 - '@ethereumjs/common': 4.0.0 - '@ethereumjs/tx': 5.0.0 - '@ethereumjs/util': 9.0.0 - '@metamask/eth-sig-util': 7.0.0 - '@metamask/rpc-errors': 6.0.0 - '@toruslabs/base-controllers': 4.2.0(@babel/runtime@7.23.1) - '@toruslabs/http-helpers': 5.0.0(@babel/runtime@7.23.1) - '@toruslabs/openlogin-jrpc': 5.1.0(@babel/runtime@7.23.1) - '@walletconnect/legacy-types': 2.0.0 - '@walletconnect/utils': 2.10.1 - '@web3auth/base': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/base-provider': 7.0.1(@babel/runtime@7.23.1) + '@babel/runtime': 7.23.6 + '@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': 4.10.0(@babel/runtime@7.23.6) + '@toruslabs/http-helpers': 5.0.0(@babel/runtime@7.23.6) + '@toruslabs/openlogin-jrpc': 6.1.0(@babel/runtime@7.23.6) + '@walletconnect/utils': 2.10.6 + '@web3auth/base': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/base-provider': 7.2.0(@babel/runtime@7.23.6) assert: 2.1.0 bignumber.js: 9.1.2 bn.js: 5.2.1 jsonschema: 1.4.1 transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' - '@react-native-async-storage/async-storage' - '@sentry/types' + - '@upstash/redis' + - '@vercel/kv' - buffer - bufferutil - c-kzg - - lokijs - supports-color - utf-8-validate dev: false - /@web3auth/metamask-adapter@7.0.1(@babel/runtime@7.23.1): - resolution: {integrity: sha512-wwQIgPXa6KiomGvJWG6Xu3eifVf/r2/przupz94wPEObXTaO1sqfIr0pTqeny1R5T+hOcQHxYpvTNYqIuQ+EQA==} + /@web3auth/metamask-adapter@7.2.0(@babel/runtime@7.23.6): + resolution: {integrity: sha512-gZ1LmPT2+175DFA/Ja90nbSUhMU6El6+y3lJ77DqqEity42bvZ9hjRL1SOAZknh5VESascRl67L6oWbgdDm/7w==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': ^7.x dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.23.6 '@metamask/detect-provider': 2.0.0 - '@web3auth/base': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/base-evm-adapter': 7.0.1(@babel/runtime@7.23.1) + '@web3auth/base': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/base-evm-adapter': 7.2.0(@babel/runtime@7.23.6) transitivePeerDependencies: - '@sentry/types' - bufferutil @@ -2496,30 +2503,41 @@ packages: - utf-8-validate dev: false - /@web3auth/modal@7.0.3(@babel/runtime@7.23.1)(@solana/web3.js@1.78.7)(@walletconnect/sign-client@2.10.6)(@walletconnect/types@2.10.6)(@walletconnect/utils@2.10.6)(encoding@0.1.13)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-6jYGOgG5OiFcXv6KR0hPokq6lPkFt7VBH34M9Stij7WyDg8I1S/Qjlx5vKM9rhUP4/d51wNmb77t1rQI+TGsDg==} + /@web3auth/modal@7.2.0(@babel/runtime@7.23.6)(@solana/web3.js@1.78.7)(@walletconnect/sign-client@2.10.6)(@walletconnect/types@2.10.6)(@walletconnect/utils@2.10.6)(encoding@0.1.13)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-lone2riSVAP5m8c0txss6qF0493cwhbTzyWiE6HbOTLY9iXSXY+6iRd9mI58s3y0ZUqVbJir1T1xbs6B0Trkaw==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': 7.x '@solana/web3.js': ^1.x dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.23.6 '@solana/web3.js': 1.78.7(encoding@0.1.13) - '@web3auth/base': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/base-provider': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/ethereum-provider': 7.0.2(@babel/runtime@7.23.1) - '@web3auth/metamask-adapter': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/no-modal': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/openlogin-adapter': 7.0.1(@babel/runtime@7.23.1)(@solana/web3.js@1.78.7) - '@web3auth/phantom-adapter': 7.0.2(@babel/runtime@7.23.1)(@solana/web3.js@1.78.7) - '@web3auth/solana-provider': 7.0.2(@babel/runtime@7.23.1)(@solana/web3.js@1.78.7) - '@web3auth/torus-evm-adapter': 7.0.3(@babel/runtime@7.23.1) - '@web3auth/torus-solana-adapter': 7.0.2(@babel/runtime@7.23.1)(@solana/web3.js@1.78.7)(encoding@0.1.13) - '@web3auth/ui': 7.0.2(@babel/runtime@7.23.1)(react-dom@18.2.0)(react@18.2.0) - '@web3auth/wallet-connect-v2-adapter': 7.0.2(@babel/runtime@7.23.1)(@walletconnect/sign-client@2.10.6)(@walletconnect/types@2.10.6)(@walletconnect/utils@2.10.6) + '@web3auth/base': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/base-provider': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/ethereum-provider': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/metamask-adapter': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/no-modal': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/openlogin-adapter': 7.2.0(@babel/runtime@7.23.6)(@solana/web3.js@1.78.7) + '@web3auth/phantom-adapter': 7.2.0(@babel/runtime@7.23.6)(@solana/web3.js@1.78.7) + '@web3auth/solana-provider': 7.2.0(@babel/runtime@7.23.6)(@solana/web3.js@1.78.7) + '@web3auth/torus-evm-adapter': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/torus-solana-adapter': 7.2.0(@babel/runtime@7.23.6)(@solana/web3.js@1.78.7)(encoding@0.1.13) + '@web3auth/ui': 7.2.0(@babel/runtime@7.23.6)(react-dom@18.2.0)(react@18.2.0) + '@web3auth/wallet-connect-v2-adapter': 7.2.0(@babel/runtime@7.23.6)(@walletconnect/sign-client@2.10.6)(@walletconnect/types@2.10.6)(@walletconnect/utils@2.10.6) transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' - '@react-native-async-storage/async-storage' - '@sentry/types' + - '@upstash/redis' + - '@vercel/kv' - '@walletconnect/sign-client' - '@walletconnect/types' - '@walletconnect/utils' @@ -2527,7 +2545,6 @@ packages: - bufferutil - c-kzg - encoding - - lokijs - react - react-dom - react-native @@ -2535,19 +2552,19 @@ packages: - utf-8-validate dev: false - /@web3auth/no-modal@7.0.1(@babel/runtime@7.23.1): - resolution: {integrity: sha512-1QQwLInofozN4SBRWNcT7d/HNDR0t2H2KVyzkyPQFR601GetBgGD9vSKFO/xpr6SLlGNaQSbVXhVPXf/l3iIHA==} + /@web3auth/no-modal@7.2.0(@babel/runtime@7.23.6): + resolution: {integrity: sha512-TN5i9/BN3rO3o23hMRetevFGB05EBaJP07QZQP16Wc98SVzQpKVOs1bs4QHrlG2M+mAK/P4budSAl/IjZ87AeQ==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': ^7.x dependencies: - '@babel/runtime': 7.23.1 - '@toruslabs/openlogin': 5.1.1(@babel/runtime@7.23.1) - '@toruslabs/openlogin-jrpc': 5.1.0(@babel/runtime@7.23.1) - '@toruslabs/openlogin-utils': 5.1.0(@babel/runtime@7.23.1) - '@web3auth/base': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/base-plugin': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/base-provider': 7.0.1(@babel/runtime@7.23.1) + '@babel/runtime': 7.23.6 + '@toruslabs/openlogin': 6.1.0(@babel/runtime@7.23.6) + '@toruslabs/openlogin-jrpc': 6.1.0(@babel/runtime@7.23.6) + '@toruslabs/openlogin-utils': 6.1.0(@babel/runtime@7.23.6) + '@web3auth/base': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/base-plugin': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/base-provider': 7.2.0(@babel/runtime@7.23.6) transitivePeerDependencies: - '@sentry/types' - bufferutil @@ -2556,19 +2573,19 @@ packages: - utf-8-validate dev: false - /@web3auth/openlogin-adapter@7.0.1(@babel/runtime@7.23.1)(@solana/web3.js@1.78.7): - resolution: {integrity: sha512-dameu4c762P+0MjNryBkrClbPDLxgU0N92iNtGbzHND3ZQILofDxqu6Gfopr915xpwbkk9OdLfx9Ib9ezc4o1A==} + /@web3auth/openlogin-adapter@7.2.0(@babel/runtime@7.23.6)(@solana/web3.js@1.78.7): + resolution: {integrity: sha512-pO8+dFVNPvhIec/oE5XA9mHq7hj+4tU9fCQWMwVwv8dS07qx0SpfUxcOhar8/8E8uxEHKAO+Yt0Sedty4EizZQ==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': ^7.x '@solana/web3.js': ^1.x dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.23.6 '@solana/web3.js': 1.78.7(encoding@0.1.13) - '@toruslabs/openlogin': 5.1.1(@babel/runtime@7.23.1) - '@toruslabs/openlogin-utils': 5.1.0(@babel/runtime@7.23.1) - '@web3auth/base': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/base-provider': 7.0.1(@babel/runtime@7.23.1) + '@toruslabs/openlogin': 6.1.0(@babel/runtime@7.23.6) + '@toruslabs/openlogin-utils': 6.1.0(@babel/runtime@7.23.6) + '@web3auth/base': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/base-provider': 7.2.0(@babel/runtime@7.23.6) lodash.merge: 4.6.2 transitivePeerDependencies: - '@sentry/types' @@ -2578,19 +2595,19 @@ packages: - utf-8-validate dev: false - /@web3auth/phantom-adapter@7.0.2(@babel/runtime@7.23.1)(@solana/web3.js@1.78.7): - resolution: {integrity: sha512-wCDhnQxo3wpFk/5wFgcoz66+XmbSy0VhSyBCLHtBzl0+sWRe8CIk3Se5AnKips/g2POkFEmtEeQHrAUG4DHZWA==} + /@web3auth/phantom-adapter@7.2.0(@babel/runtime@7.23.6)(@solana/web3.js@1.78.7): + resolution: {integrity: sha512-LCZeoB4yKvbvetpAlGuVfr9AzORQ2Z/9oRhmcTNbgTb+0Dk2oA4Le5Y+vh2PZRRMHrv3AnuGuifeyoKRDy1SCg==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': ^7.x '@solana/web3.js': ^1.x dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.23.6 '@solana/web3.js': 1.78.7(encoding@0.1.13) - '@web3auth/base': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/base-provider': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/base-solana-adapter': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/solana-provider': 7.0.2(@babel/runtime@7.23.1)(@solana/web3.js@1.78.7) + '@web3auth/base': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/base-provider': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/base-solana-adapter': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/solana-provider': 7.2.0(@babel/runtime@7.23.6)(@solana/web3.js@1.78.7) bn.js: 5.2.1 transitivePeerDependencies: - '@sentry/types' @@ -2600,22 +2617,22 @@ packages: - utf-8-validate dev: false - /@web3auth/solana-provider@7.0.2(@babel/runtime@7.23.1)(@solana/web3.js@1.78.7): - resolution: {integrity: sha512-9MeaqjSGU4gziVTAVTLqzUT/3nVryrt6gY9nSmUUMPNTBic3T+OQqERnU7nqDVzSb3GL+k/xqySetzPPfySO0A==} + /@web3auth/solana-provider@7.2.0(@babel/runtime@7.23.6)(@solana/web3.js@1.78.7): + resolution: {integrity: sha512-8pGY+WTZdab3CKpytAgV2ShvGRYRoLBNAWdj2XiLIj1jzyYkmbAN8Ipg0GvYUA9KZUVLW2YSOkQ2tuVmhP7gew==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': ^7.x '@solana/web3.js': ^1.x dependencies: - '@babel/runtime': 7.23.1 - '@metamask/rpc-errors': 6.0.0 + '@babel/runtime': 7.23.6 + '@metamask/rpc-errors': 6.1.0 '@solana/web3.js': 1.78.7(encoding@0.1.13) - '@toruslabs/base-controllers': 4.2.0(@babel/runtime@7.23.1) - '@toruslabs/openlogin-ed25519': 5.0.0(@babel/runtime@7.23.1) - '@toruslabs/openlogin-jrpc': 5.1.0(@babel/runtime@7.23.1) + '@toruslabs/base-controllers': 4.10.0(@babel/runtime@7.23.6) + '@toruslabs/openlogin-ed25519': 6.0.0(@babel/runtime@7.23.6) + '@toruslabs/openlogin-jrpc': 6.1.0(@babel/runtime@7.23.6) '@toruslabs/tweetnacl-js': 1.0.4 - '@web3auth/base': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/base-provider': 7.0.1(@babel/runtime@7.23.1) + '@web3auth/base': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/base-provider': 7.2.0(@babel/runtime@7.23.6) bn.js: 5.2.1 bs58: 5.0.0 json-rpc-random-id: 1.0.1 @@ -2627,16 +2644,16 @@ packages: - utf-8-validate dev: false - /@web3auth/torus-evm-adapter@7.0.3(@babel/runtime@7.23.1): - resolution: {integrity: sha512-t/kw0jdctba2Am2ZARIqGAAbkxi937j6XKQnrX/4xfvd1nZf9LXg9ayV/IyDg9jO6fOXZLW+6RDOyPrKkxoh7Q==} + /@web3auth/torus-evm-adapter@7.2.0(@babel/runtime@7.23.6): + resolution: {integrity: sha512-cf7HNFHpRCf1R10l2CHsz9gyR/5GcFIQBHxUVs3A0HeGEMCTBz2D2Vvi8q9wbkqXna1WMpknYtWPi3v2YjGdhA==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': ^7.x dependencies: - '@babel/runtime': 7.23.1 - '@toruslabs/torus-embed': 3.0.0(@babel/runtime@7.23.1) - '@web3auth/base': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/base-evm-adapter': 7.0.1(@babel/runtime@7.23.1) + '@babel/runtime': 7.23.6 + '@toruslabs/torus-embed': 4.0.8(@babel/runtime@7.23.6) + '@web3auth/base': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/base-evm-adapter': 7.2.0(@babel/runtime@7.23.6) transitivePeerDependencies: - '@sentry/types' - bufferutil @@ -2644,20 +2661,20 @@ packages: - utf-8-validate dev: false - /@web3auth/torus-solana-adapter@7.0.2(@babel/runtime@7.23.1)(@solana/web3.js@1.78.7)(encoding@0.1.13): - resolution: {integrity: sha512-7Po8zmE3kCZe7erghyJq7h1ZV9jHqwaNq1elkLqkQZdgzLVzwcCdfcri3MLZfVI6U/nQnjAGZzjIegtFc73ygw==} + /@web3auth/torus-solana-adapter@7.2.0(@babel/runtime@7.23.6)(@solana/web3.js@1.78.7)(encoding@0.1.13): + resolution: {integrity: sha512-1c9582IXguKo/hCC0KN+Tz73598/13ozUq2qbev9uMbT3y8Msq1Fvkg266eY0ZKDFxxcHJj9Cew2l96Sqf8ueQ==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': ^7.x '@solana/web3.js': ^1.x dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.23.6 '@solana/web3.js': 1.78.7(encoding@0.1.13) - '@toruslabs/solana-embed': 2.0.0(@babel/runtime@7.23.1)(encoding@0.1.13) - '@web3auth/base': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/base-provider': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/base-solana-adapter': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/solana-provider': 7.0.2(@babel/runtime@7.23.1)(@solana/web3.js@1.78.7) + '@toruslabs/solana-embed': 2.0.0(@babel/runtime@7.23.6)(encoding@0.1.13) + '@web3auth/base': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/base-provider': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/base-solana-adapter': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/solana-provider': 7.2.0(@babel/runtime@7.23.6)(@solana/web3.js@1.78.7) transitivePeerDependencies: - '@sentry/types' - bufferutil @@ -2667,29 +2684,29 @@ packages: - utf-8-validate dev: false - /@web3auth/ui@7.0.2(@babel/runtime@7.23.1)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-350joLPvNGK06gpZLYpjHNlG4lKhWnY6Pr6wYlr+e1q+0YqTknb/Lbyau6RGkZjryKwZ07BFQjac6MJ6Dfs1UA==} + /@web3auth/ui@7.2.0(@babel/runtime@7.23.6)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-5RY/ZdmaKNzhRyjmRpeEYDuIfQs0bBvrgsaA8KzR+sheWAAJWNnWHvjUiW/npv/9djD3M9OE8mX3OZI7urOSsw==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': ^7.x react: ^18.x react-dom: ^18.x dependencies: - '@babel/runtime': 7.23.1 - '@toruslabs/http-helpers': 5.0.0(@babel/runtime@7.23.1) - '@toruslabs/openlogin': 5.1.1(@babel/runtime@7.23.1) - '@toruslabs/openlogin-jrpc': 5.1.0(@babel/runtime@7.23.1) - '@toruslabs/openlogin-utils': 5.1.0(@babel/runtime@7.23.1) - '@web3auth/base': 7.0.1(@babel/runtime@7.23.1) + '@babel/runtime': 7.23.6 + '@toruslabs/http-helpers': 5.0.0(@babel/runtime@7.23.6) + '@toruslabs/openlogin': 6.1.0(@babel/runtime@7.23.6) + '@toruslabs/openlogin-jrpc': 6.1.0(@babel/runtime@7.23.6) + '@toruslabs/openlogin-utils': 6.1.0(@babel/runtime@7.23.6) + '@web3auth/base': 7.2.0(@babel/runtime@7.23.6) bowser: 2.11.0 classnames: 2.3.2 copy-to-clipboard: 3.3.3 - i18next: 23.5.1 + i18next: 23.7.8 lodash.clonedeep: 4.5.0 lodash.merge: 4.6.2 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) - react-i18next: 13.2.2(i18next@23.5.1)(react-dom@18.2.0)(react@18.2.0) + react-i18next: 13.5.0(i18next@23.7.8)(react-dom@18.2.0)(react@18.2.0) react-qrcode-logo: 2.9.0(react-dom@18.2.0)(react@18.2.0) transitivePeerDependencies: - '@sentry/types' @@ -2699,8 +2716,8 @@ packages: - utf-8-validate dev: false - /@web3auth/wallet-connect-v2-adapter@7.0.2(@babel/runtime@7.23.1)(@walletconnect/sign-client@2.10.6)(@walletconnect/types@2.10.6)(@walletconnect/utils@2.10.6): - resolution: {integrity: sha512-Xnn1GUwcIpA4CfSD7A9loJINERSL+RdxGnzUBDSNKSgTS8uT/9D6LKeCo10dTHTQ+M5JgfG4DJPUOOWjufrpsw==} + /@web3auth/wallet-connect-v2-adapter@7.2.0(@babel/runtime@7.23.6)(@walletconnect/sign-client@2.10.6)(@walletconnect/types@2.10.6)(@walletconnect/utils@2.10.6): + resolution: {integrity: sha512-uzGmtsCU1gmJNVDhN3h0NmowCJQngpTtEGxGA8JBvLyDz4/GX6eAOWkoAceg7ROJZ5+APtLBhnbdsHTrocpiAw==} engines: {node: '>=18.x', npm: '>=9.x'} peerDependencies: '@babel/runtime': ^7.x @@ -2708,21 +2725,31 @@ packages: '@walletconnect/types': ^2.x '@walletconnect/utils': ^2.x dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.23.6 '@walletconnect/sign-client': 2.10.6 '@walletconnect/types': 2.10.6 '@walletconnect/utils': 2.10.6 - '@web3auth/base': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/base-evm-adapter': 7.0.1(@babel/runtime@7.23.1) - '@web3auth/ethereum-provider': 7.0.2(@babel/runtime@7.23.1) + '@web3auth/base': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/base-evm-adapter': 7.2.0(@babel/runtime@7.23.6) + '@web3auth/ethereum-provider': 7.2.0(@babel/runtime@7.23.6) lodash.merge: 4.6.2 transitivePeerDependencies: + - '@azure/app-configuration' + - '@azure/cosmos' + - '@azure/data-tables' + - '@azure/identity' + - '@azure/keyvault-secrets' + - '@azure/storage-blob' + - '@capacitor/preferences' + - '@netlify/blobs' + - '@planetscale/database' - '@react-native-async-storage/async-storage' - '@sentry/types' + - '@upstash/redis' + - '@vercel/kv' - buffer - bufferutil - c-kzg - - lokijs - supports-color - utf-8-validate dev: false @@ -3312,7 +3339,7 @@ packages: resolution: {integrity: sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==} engines: {node: '>=0.11'} dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.23.6 dev: false /debug@3.2.7: @@ -3945,14 +3972,6 @@ packages: - utf-8-validate dev: false - /ethjs-util@0.1.6: - resolution: {integrity: sha512-CUnVOQq7gSpDHZVVrQW8ExxUETWrnrvXYvYz55wOU8Uj4VCgw56XC2B/fVqQN+f7gmrnRHSLVnFAwsCuNwji8w==} - engines: {node: '>=6.5.0', npm: '>=3'} - dependencies: - is-hex-prefixed: 1.0.0 - strip-hex-prefix: 1.0.0 - dev: false - /event-target-shim@5.0.1: resolution: {integrity: sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==} engines: {node: '>=6'} @@ -4346,10 +4365,10 @@ packages: ms: 2.1.3 dev: false - /i18next@23.5.1: - resolution: {integrity: sha512-JelYzcaCoFDaa+Ysbfz2JsGAKkrHiMG6S61+HLBUEIPaF40WMwW9hCPymlQGrP+wWawKxKPuSuD71WZscCsWHg==} + /i18next@23.7.8: + resolution: {integrity: sha512-yCe9964O+1abdIG01AOzk6P9mQi0HVJV1B57whYJQu6TjmrB9JHHDYonDI8amGt6M6b9bP3x3R0Zh7ROmvX7JQ==} dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.23.6 dev: false /iconv-lite@0.6.3: @@ -4511,11 +4530,6 @@ packages: dependencies: is-extglob: 2.1.1 - /is-hex-prefixed@1.0.0: - resolution: {integrity: sha512-WvtOiug1VFrE9v1Cydwm+FnXd3+w9GaeVUss5W4v/SLy3UW00vP+6iNF2SdnfiBoLy4bTqVdkftNGTUeOFVsbA==} - engines: {node: '>=6.5.0', npm: '>=3'} - dev: false - /is-map@2.0.2: resolution: {integrity: sha512-cOZFQQozTha1f4MxLFzlgKYPTyj26picdZTx82hbc/Xf4K/tZOOXSCkMvU4pKioRXGDLJRn0GM7Upe7kR721yg==} dev: true @@ -4748,8 +4762,9 @@ packages: object.assign: 4.1.4 dev: true - /jwt-decode@3.1.2: - resolution: {integrity: sha512-UfpWE/VZn0iP50d8cz9NrZLM9lSWhcJ+0Gt/nm4by88UL+J1SiKN8/5dkjMmbEzwL2CAe+67GsegCbIKtbp75A==} + /jwt-decode@4.0.0: + resolution: {integrity: sha512-+KJGIyHgkGuIq3IEBNftfhW/LfWhXUIY6OmyVWjliu5KH1y0fw7VQ8YndE2O4qZdMSd9SqbnC8GOcZEy0Om7sA==} + engines: {node: '>=18'} dev: false /keyvaluestorage-interface@1.0.0: @@ -5497,8 +5512,8 @@ packages: react: 18.2.0 scheduler: 0.23.0 - /react-i18next@13.2.2(i18next@23.5.1)(react-dom@18.2.0)(react@18.2.0): - resolution: {integrity: sha512-+nFUkbRByFwnrfDcYqvzBuaeZb+nACHx+fAWN/pZMddWOCJH5hoc21+Sa/N/Lqi6ne6/9wC/qRGOoQhJa6IkEQ==} + /react-i18next@13.5.0(i18next@23.7.8)(react-dom@18.2.0)(react@18.2.0): + resolution: {integrity: sha512-CFJ5NDGJ2MUyBohEHxljOq/39NQ972rh1ajnadG9BjTk+UXbHLq4z5DKEbEQBDoIhUmmbuS/fIMJKo6VOax1HA==} peerDependencies: i18next: '>= 23.2.3' react: '>= 16.8.0' @@ -5512,7 +5527,7 @@ packages: dependencies: '@babel/runtime': 7.23.1 html-parse-stringify: 3.0.1 - i18next: 23.5.1 + i18next: 23.7.8 react: 18.2.0 react-dom: 18.2.0(react@18.2.0) dev: false @@ -5723,7 +5738,7 @@ packages: /rpc-websockets@7.6.0: resolution: {integrity: sha512-Jgcs8q6t8Go98dEulww1x7RysgTkzpCMelVxZW4hvuyFtOGpeUz9prpr2KjUa/usqxgFCd9Tu3+yhHEP9GVmiQ==} dependencies: - '@babel/runtime': 7.23.1 + '@babel/runtime': 7.23.6 eventemitter3: 4.0.7 uuid: 8.3.2 ws: 8.13.0(bufferutil@4.0.7)(utf-8-validate@5.0.10) @@ -5741,10 +5756,6 @@ packages: resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} dev: false - /safe-json-utils@1.1.1: - resolution: {integrity: sha512-SAJWGKDs50tAbiDXLf89PDwt9XYkWyANFWVzn4dTXl5QyI8t2o/bW5/OJl3lvc2WVU4MEpTo9Yz5NVFNsp+OJQ==} - dev: false - /safe-regex-test@1.0.0: resolution: {integrity: sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA==} dependencies: @@ -5978,13 +5989,6 @@ packages: engines: {node: '>=6'} dev: false - /strip-hex-prefix@1.0.0: - resolution: {integrity: sha512-q8d4ue7JGEiVcypji1bALTos+0pWtyGlivAWyPuTkHzuTCJqrK9sWxYQZUq6Nq3cuyv3bm734IhHvHtGGURU6A==} - engines: {node: '>=6.5.0', npm: '>=3'} - dependencies: - is-hex-prefixed: 1.0.0 - dev: false - /strip-json-comments@2.0.1: resolution: {integrity: sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ==} engines: {node: '>=0.10.0'}