diff --git a/package.json b/package.json index a94cd94c..496f20fb 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "dependencies": { "@safe-global/safe-apps-provider": "^0.18.0", "@safe-global/safe-apps-sdk": "^8.1.0", - "@web3-onboard/arcana-auth": "^2.0.0-alpha.1", + "@web3-onboard/arcana-auth": "^2.1.0-viem.1", "@web3-onboard/bitget": "^2.1.0-viem.1", "@web3-onboard/blocto": "^2.1.0-viem.1", "@web3-onboard/capsule": "^2.0.3-viem.1", @@ -16,13 +16,13 @@ "@web3-onboard/frame": "^2.1.0-viem.1", "@web3-onboard/frontier": "^2.1.0-viem.1", "@web3-onboard/gas": "^2.2.0-viem.1", - "@web3-onboard/gnosis": "^2.2.2-alpha.1", + "@web3-onboard/gnosis": "^2.3.0-viem.1", "@web3-onboard/infinity-wallet": "^2.1.0-viem.1", "@web3-onboard/injected-wallets": "^2.11.0-viem.4", "@web3-onboard/keepkey": "^2.3.8-alpha.1", "@web3-onboard/keystone": "^2.3.8-alpha.1", "@web3-onboard/ledger": "^2.7.0-viem.1", - "@web3-onboard/magic": "^2.1.7-alpha.1", + "@web3-onboard/magic": "^2.2.0-viem.1", "@web3-onboard/metamask": "^2.1.0-viem.1", "@web3-onboard/mew-wallet": "^2.1.0-viem.1", "@web3-onboard/phantom": "^2.1.0-viem.1", @@ -31,13 +31,13 @@ "@web3-onboard/sequence": "^2.1.0-viem.1", "@web3-onboard/taho": "^2.1.0-viem.1", "@web3-onboard/torus": "^2.3.0-viem.1", - "@web3-onboard/transaction-preview": "^2.0.9-alpha.1", + "@web3-onboard/transaction-preview": "^2.1.0-viem.1", "@web3-onboard/trezor": "^2.4.4-alpha.1", "@web3-onboard/trust": "^2.1.0-viem.1", - "@web3-onboard/uauth": "^2.1.2-alpha.1", - "@web3-onboard/venly": "^2.0.0-alpha.1", + "@web3-onboard/uauth": "^2.2.0-viem.1", + "@web3-onboard/venly": "^2.1.0-viem.1", "@web3-onboard/walletconnect": "^2.6.0-viem.1", - "@web3-onboard/web3auth": "^2.2.3-alpha.1", + "@web3-onboard/web3auth": "^2.3.0-viem.1", "@web3-onboard/xdefi": "^2.1.0-viem.1", "@web3-onboard/zeal": "^2.1.0-viem.1", "ethers": "^5.5.2", @@ -48,7 +48,7 @@ }, "scripts": { "w3o-latest-prod": "yarn add '@web3-onboard/react' '@web3-onboard/coinbase' '@web3-onboard/transaction-preview' '@web3-onboard/dcent' '@web3-onboard/frontier' '@web3-onboard/fortmatic' '@web3-onboard/frame' '@web3-onboard/gas' '@web3-onboard/gnosis' '@web3-onboard/keepkey' '@web3-onboard/keystone' '@web3-onboard/ledger' '@web3-onboard/infinity-wallet' '@web3-onboard/injected-wallets' '@web3-onboard/magic' '@web3-onboard/phantom' '@web3-onboard/portis' '@web3-onboard/sequence' '@web3-onboard/trezor' '@web3-onboard/trust' '@web3-onboard/torus' '@web3-onboard/taho' '@web3-onboard/web3auth' '@web3-onboard/walletconnect' '@web3-onboard/enkrypt' '@web3-onboard/mew-wallet' '@web3-onboard/xdefi' '@web3-onboard/uauth' '@web3-onboard/zeal' '@web3-onboard/cede-store' '@web3-onboard/venly' '@web3-onboard/blocto' '@web3-onboard/arcana-auth' '@web3-onboard/bitget' '@web3-onboard/metamask' '@web3-onboard/capsule'", - "w3o-latest-alpha": "yarn add '@web3-onboard/react@next' '@web3-onboard/coinbase@next' '@web3-onboard/transaction-preview@next' '@web3-onboard/dcent@next' '@web3-onboard/frontier@next' '@web3-onboard/fortmatic@next' '@web3-onboard/frame@next' '@web3-onboard/gas@next' '@web3-onboard/gnosis@next' '@web3-onboard/keepkey@next' '@web3-onboard/keystone@next' '@web3-onboard/ledger@next' '@web3-onboard/infinity-wallet@next' '@web3-onboard/injected-wallets@next' '@web3-onboard/magic@next' '@web3-onboard/phantom@next' '@web3-onboard/portis@next' '@web3-onboard/sequence@next' '@web3-onboard/trezor@next' '@web3-onboard/trust@next' '@web3-onboard/torus@next' '@web3-onboard/taho@next' '@web3-onboard/web3auth@next' '@web3-onboard/walletconnect@next' '@web3-onboard/enkrypt@next' '@web3-onboard/mew-wallet@next' '@web3-onboard/xdefi@next' '@web3-onboard/uauth@next' '@web3-onboard/zeal@next' '@web3-onboard/cede-store@next' '@web3-onboard/venly@next' '@web3-onboard/blocto@next' '@web3-onboard/arcana-auth@next' '@web3-onboard/bitget@next' '@web3-onboard/metamask@next' '@web3-onboard/capsule@next'", + "w3o-latest-release": "yarn add '@web3-onboard/react@next' '@web3-onboard/coinbase@next' '@web3-onboard/transaction-preview@next' '@web3-onboard/dcent@next' '@web3-onboard/frontier@next' '@web3-onboard/fortmatic@next' '@web3-onboard/frame@next' '@web3-onboard/gas@next' '@web3-onboard/gnosis@next' '@web3-onboard/keepkey@next' '@web3-onboard/keystone@next' '@web3-onboard/ledger@next' '@web3-onboard/infinity-wallet@next' '@web3-onboard/injected-wallets@next' '@web3-onboard/magic@next' '@web3-onboard/phantom@next' '@web3-onboard/portis@next' '@web3-onboard/sequence@next' '@web3-onboard/trezor@next' '@web3-onboard/trust@next' '@web3-onboard/torus@next' '@web3-onboard/taho@next' '@web3-onboard/web3auth@next' '@web3-onboard/walletconnect@next' '@web3-onboard/enkrypt@next' '@web3-onboard/mew-wallet@next' '@web3-onboard/xdefi@next' '@web3-onboard/uauth@next' '@web3-onboard/zeal@next' '@web3-onboard/cede-store@next' '@web3-onboard/venly@next' '@web3-onboard/blocto@next' '@web3-onboard/arcana-auth@next' '@web3-onboard/bitget@next' '@web3-onboard/metamask@next' '@web3-onboard/capsule@next'", "start": "HTTPS=true react-app-rewired start", "start-staging": "REACT_APP_API_URL=wss://staging.api.blocknative.com/v0 REACT_APP_STAGING=true HTTPS=true HTTPS=true react-scripts start", "start-local": "REACT_APP_API_URL=ws://localhost:54100/v0 REACT_APP_STAGING=true HTTPS=true react-scripts start", diff --git a/src/App.js b/src/App.js index e61eec85..f5aca66d 100644 --- a/src/App.js +++ b/src/App.js @@ -95,12 +95,13 @@ const App = () => { useEffect(() => { async function getEtherGasFromRPC() { - try{ - - const customHttpProvider = new ethers.providers.JsonRpcProvider(infuraRPC) + try { + const customHttpProvider = new ethers.providers.JsonRpcProvider( + infuraRPC + ) if (!customHttpProvider) return console.warn('No provider found') const fee = await customHttpProvider.getFeeData() - + // Occasionally gas values are returned undefined if ( !fee || diff --git a/src/services.js b/src/services.js index 40f992ca..785dc2f4 100644 --- a/src/services.js +++ b/src/services.js @@ -35,7 +35,6 @@ import bloctoModule from '@web3-onboard/blocto' import bitgetModule from '@web3-onboard/bitget' import metamaskModule from '@web3-onboard/metamask' import arcanaAuthModule from '@web3-onboard/arcana-auth' -import metamaskSDK from '@web3-onboard/metamask' import capsuleModule, { Environment, OAuthMethod, @@ -172,18 +171,6 @@ const arcanaAuth = arcanaAuthModule({ clientID: 'xar_test_c9c3bc702eb13255c58dab0e74cfa859711c13cb' }) -const metamaskSDKWallet = metamaskSDK({ - options: { - extensionOnly: false, - i18nOptions: { - enabled: true - }, - dappMetadata: { - name: 'Demo Web3Onboard' - } - } -}) - const capsule = capsuleModule({ environment: Environment.DEVELOPMENT, apiKey: '992bbd9146d5de8ad0419f141d9a7ca7', @@ -208,33 +195,33 @@ export const initWeb3Onboard = init({ walletConnect, ledger, trezor, - // coinbase, - // phantom, - // gnosis, - // trust, - // taho, - // bitget, - // enkrypt, - // infinityWallet, - // mewWallet, - // keepkey, - // keystone, - // magic, - // fortmatic, - // portis, - // torus, - // // dcent, - // sequence, - // uauth, - // web3auth, - // zeal, - // frontier, - // xdefi, - // frameWallet, - // cedeStore, - // venly, - // blocto, - // arcanaAuth, + coinbase, + phantom, + gnosis, + trust, + taho, + bitget, + enkrypt, + infinityWallet, + mewWallet, + keepkey, + keystone, + magic, + fortmatic, + portis, + torus, + // dcent, + sequence, + uauth, + web3auth, + zeal, + frontier, + xdefi, + frameWallet, + cedeStore, + venly, + blocto, + arcanaAuth, // capsule ], chains: [ diff --git a/yarn.lock b/yarn.lock index d79c8c22..239cb926 100644 --- a/yarn.lock +++ b/yarn.lock @@ -186,7 +186,7 @@ resolved "https://registry.yarnpkg.com/@apocentre/alias-sampling/-/alias-sampling-0.5.3.tgz#897ff181b48ad7b2bcb4ecf29400214888244f08" integrity sha512-7UDWIIF9hIeJqfKXkNIzkVandlwLf1FWTSdrb9iXvOP8oF544JRXQjCbiTmCv2c9n44n/FIWtehhBfNuAx2CZA== -"@arcana/auth@^1.0.6": +"@arcana/auth@^1.0.10": version "1.0.10" resolved "https://registry.yarnpkg.com/@arcana/auth/-/auth-1.0.10.tgz#e2b1be6991d8029ff3e2ebab81db8e1b3b43ba79" integrity sha512-8s7awiHTm5Rj3cd0dOnNoLggpVCImjE08lIFKSrQIvy9tqNY1SstTdnwYJIVoHxVL43l72EOWg7YgEZgy3dBaw== @@ -4260,25 +4260,33 @@ resolved "https://registry.yarnpkg.com/@magic-sdk/types/-/types-7.1.1.tgz#07fed47e8a77073ac71db36ee9efbdb0585dc53a" integrity sha512-s44450INTkVoaezdSzuHQozrT3uZJGduo3oAx3N2Kf2w/FcObQy82+plyz6VN7vchjwUTR8NpEIWEVHfLuGfZA== +"@metamask/abi-utils@^2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@metamask/abi-utils/-/abi-utils-2.0.2.tgz#ad394e9cb8a95ac177cad942daadd88a246c0de8" + integrity sha512-B/A1dY/w4F/t6cDHUscklO6ovb/ztFsrsTXFd8QlqSByk/vyy+QbPE3VVpmmyI/7RX+PA1AJcvBdzCIz+r9dVQ== + dependencies: + "@metamask/utils" "^8.0.0" + superstruct "^1.0.3" + "@metamask/detect-provider@^2.0.0": version "2.0.0" resolved "https://registry.yarnpkg.com/@metamask/detect-provider/-/detect-provider-2.0.0.tgz#4bc2795e5e6f7d8b84b2e845058d2f222c99917d" integrity sha512-sFpN+TX13E9fdBDh9lvQeZdJn4qYoRb/6QF2oZZK/Pn559IhCFacPMU1rMuqyXoFQF3JSJfii2l98B87QDPeCQ== -"@metamask/eth-json-rpc-middleware@^11.0.0": - version "11.0.0" - resolved "https://registry.yarnpkg.com/@metamask/eth-json-rpc-middleware/-/eth-json-rpc-middleware-11.0.0.tgz#eca4971fc2d06076d956e4d225ca489e78eed71c" - integrity sha512-QDEUZsoUdgZKwFnMS8XW/aQ8mJULaOssXjGnk9DocCs/p8rj69bovBsHtnlYawVHYuOy4Cual5GmAtvAZcrPxA== - dependencies: - "@metamask/eth-json-rpc-provider" "^1.0.0" - "@metamask/eth-sig-util" "^5.0.0" - "@metamask/utils" "^3.0.3" - clone "^2.1.1" - eth-block-tracker "^7.0.0" - eth-rpc-errors "^4.0.3" - json-rpc-engine "^6.1.0" - pify "^3.0.0" - safe-stable-stringify "^2.3.2" +"@metamask/eth-json-rpc-middleware@^12.0.0": + version "12.1.0" + resolved "https://registry.yarnpkg.com/@metamask/eth-json-rpc-middleware/-/eth-json-rpc-middleware-12.1.0.tgz#237f018a1a3c99297fcb5a8263b6c669379b168c" + integrity sha512-fTr9xqBeb6TnblGYr89DikrEVdRQj+lj2mrGK56nbnLfHsA1awpFn5RxR38o8ml6DD9OsEo13au5UpqQyUEbIQ== + dependencies: + "@metamask/eth-json-rpc-provider" "^2.1.0" + "@metamask/eth-sig-util" "^7.0.0" + "@metamask/json-rpc-engine" "^7.1.1" + "@metamask/rpc-errors" "^6.0.0" + "@metamask/utils" "^8.1.0" + eth-block-tracker "^8.0.0" + klona "^2.0.6" + pify "^5.0.0" + safe-stable-stringify "^2.4.3" "@metamask/eth-json-rpc-provider@^1.0.0": version "1.0.0" @@ -4288,17 +4296,14 @@ "@metamask/safe-event-emitter" "^2.0.0" json-rpc-engine "^6.1.0" -"@metamask/eth-sig-util@^5.0.0": - version "5.1.0" - resolved "https://registry.yarnpkg.com/@metamask/eth-sig-util/-/eth-sig-util-5.1.0.tgz#a47f62800ee1917fef976ba67544a0ccd7d1bd6b" - integrity sha512-mlgziIHYlA9pi/XZerChqg4NocdOgBPB9NmxgXWQO2U2hH8RGOJQrz6j/AIKkYxgCMIE2PY000+joOwXfzeTDQ== +"@metamask/eth-json-rpc-provider@^2.1.0": + version "2.3.2" + resolved "https://registry.yarnpkg.com/@metamask/eth-json-rpc-provider/-/eth-json-rpc-provider-2.3.2.tgz#39a3ec6cdf82b6f2ce764ebfd9ff78997a2aa608" + integrity sha512-VaZx++3gfi85+j9zB5TvqSWLeZ6QpsNjIk56Nq6OMDp2U8iUEPgjdA8CybOtkyDb88EbpuOSzHZcdHEeIX3zPw== dependencies: - "@ethereumjs/util" "^8.0.6" - bn.js "^4.12.0" - ethereum-cryptography "^2.0.0" - ethjs-util "^0.1.6" - tweetnacl "^1.0.3" - tweetnacl-util "^0.15.1" + "@metamask/json-rpc-engine" "^7.3.2" + "@metamask/safe-event-emitter" "^3.0.0" + "@metamask/utils" "^8.3.0" "@metamask/eth-sig-util@^5.0.2": version "5.0.2" @@ -4312,7 +4317,19 @@ tweetnacl "^1.0.3" tweetnacl-util "^0.15.1" -"@metamask/json-rpc-engine@^7.3.2": +"@metamask/eth-sig-util@^7.0.0": + version "7.0.2" + resolved "https://registry.yarnpkg.com/@metamask/eth-sig-util/-/eth-sig-util-7.0.2.tgz#741de634b0d6ca96ce1ee3d064ac6a27756d8d21" + integrity sha512-DhTDMNEtED0ihIc4Tysm6qUJTvArCdgSTeeJWdo526W/cAk5mrSAvEYYgv8idAiBumDtcPWGimMTaB7MvY64bg== + dependencies: + "@ethereumjs/util" "^8.1.0" + "@metamask/abi-utils" "^2.0.2" + "@metamask/utils" "^8.1.0" + "@scure/base" "~1.1.3" + ethereum-cryptography "^2.1.2" + tweetnacl "^1.0.3" + +"@metamask/json-rpc-engine@^7.1.1", "@metamask/json-rpc-engine@^7.3.2": version "7.3.3" resolved "https://registry.yarnpkg.com/@metamask/json-rpc-engine/-/json-rpc-engine-7.3.3.tgz#f2b30a2164558014bfcca45db10f5af291d989af" integrity sha512-dwZPq8wx9yV3IX2caLi9q9xZBw2XeIoYqdyihDDDpuHVCEiqadJLwqM3zy+uwf6F1QYQ65A8aOMQg1Uw7LMLNg== @@ -4433,7 +4450,7 @@ "@metamask/utils" "^5.0.0" fast-safe-stringify "^2.0.6" -"@metamask/rpc-errors@^6.2.1": +"@metamask/rpc-errors@^6.0.0", "@metamask/rpc-errors@^6.2.1": version "6.2.1" resolved "https://registry.yarnpkg.com/@metamask/rpc-errors/-/rpc-errors-6.2.1.tgz#f5daf429ededa7cb83069dc621bd5738fe2a1d80" integrity sha512-VTgWkjWLzb0nupkFl1duQi9Mk8TGT9rsdnQg6DeRrYEFxtFOh0IF8nAwxM/4GWqDl6uIB06lqUBgUrAVWl62Bw== @@ -4555,16 +4572,6 @@ util "^0.12.4" uuid "^8.3.2" -"@metamask/utils@^3.0.3": - version "3.6.0" - resolved "https://registry.yarnpkg.com/@metamask/utils/-/utils-3.6.0.tgz#b218b969a05ca7a8093b5d1670f6625061de707d" - integrity sha512-9cIRrfkWvHblSiNDVXsjivqa9Ak0RYo/1H6tqTqTbAx+oBK2Sva0lWDHxGchOqA7bySGUJKAWSNJvH6gdHZ0gQ== - dependencies: - "@types/debug" "^4.1.7" - debug "^4.3.4" - semver "^7.3.8" - superstruct "^1.0.3" - "@metamask/utils@^5.0.0", "@metamask/utils@^5.0.1": version "5.0.2" resolved "https://registry.yarnpkg.com/@metamask/utils/-/utils-5.0.2.tgz#140ba5061d90d9dac0280c19cab101bc18c8857c" @@ -4576,7 +4583,7 @@ semver "^7.3.8" superstruct "^1.0.3" -"@metamask/utils@^8.3.0": +"@metamask/utils@^8.0.0", "@metamask/utils@^8.1.0", "@metamask/utils@^8.3.0": version "8.4.0" resolved "https://registry.yarnpkg.com/@metamask/utils/-/utils-8.4.0.tgz#f44812c96467a4e1b70b2edff6ee89a9caa4e354" integrity sha512-dbIc3C7alOe0agCuBHM1h71UaEaEqOk2W8rAtEn8QGz4haH2Qq7MoK6i7v2guzvkJVVh79c+QCzIqphC3KvrJg== @@ -4694,6 +4701,13 @@ dependencies: "@noble/hashes" "1.3.2" +"@noble/curves@1.3.0", "@noble/curves@~1.3.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.3.0.tgz#01be46da4fd195822dab821e72f71bf4aeec635e" + integrity sha512-t01iSXPuN+Eqzb4eBX0S5oubSqXbK/xXa1Ne18Hj8f9pStxztHCE2gfboSp/dZRLSqfuLpRK2nDXDK+W9puocA== + dependencies: + "@noble/hashes" "1.3.3" + "@noble/ed25519@^1.7.0": version "1.7.0" resolved "https://registry.yarnpkg.com/@noble/ed25519/-/ed25519-1.7.0.tgz#583ac38340a479314b9e348d4572101ed9492f9d" @@ -4714,16 +4728,16 @@ resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.2.tgz#6f26dbc8fbc7205873ce3cee2f690eba0d421b39" integrity sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ== +"@noble/hashes@1.3.3", "@noble/hashes@^1.3.2": + version "1.3.3" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.3.tgz#39908da56a4adc270147bb07968bf3b16cfe1699" + integrity sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA== + "@noble/hashes@^1.3.0", "@noble/hashes@~1.3.0": version "1.3.1" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.1.tgz#8831ef002114670c603c458ab8b11328406953a9" integrity sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA== -"@noble/hashes@^1.3.2": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.3.tgz#39908da56a4adc270147bb07968bf3b16cfe1699" - integrity sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA== - "@noble/hashes@~1.1.1": version "1.1.4" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.1.4.tgz#2611ebf5764c1bf754da7c7794de4fb30512336d" @@ -5034,7 +5048,7 @@ dependencies: cross-fetch "^3.1.5" -"@scure/base@^1.1.3": +"@scure/base@^1.1.3", "@scure/base@~1.1.3", "@scure/base@~1.1.4": version "1.1.6" resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.6.tgz#8ce5d304b436e4c84f896e0550c83e4d88cb917d" integrity sha512-ok9AWwhcgYuGG3Zfhyqg+zwl+Wn5uE+dwC0NV/2qQkx4dABbb/bx96vWu8NSj+BNjjSjno+JRYRjle1jV08k3g== @@ -5076,6 +5090,15 @@ "@noble/hashes" "~1.3.2" "@scure/base" "~1.1.2" +"@scure/bip32@1.3.3": + version "1.3.3" + resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.3.tgz#a9624991dc8767087c57999a5d79488f48eae6c8" + integrity sha512-LJaN3HwRbfQK0X1xFSi0Q9amqOgzQnnDngIt+ZlsBC3Bm7/nE7K0kwshZHyaru79yIVRv/e1mQAjZyuZG6jOFQ== + dependencies: + "@noble/curves" "~1.3.0" + "@noble/hashes" "~1.3.2" + "@scure/base" "~1.1.4" + "@scure/bip39@1.1.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.1.0.tgz#92f11d095bae025f166bef3defcc5bf4945d419a" @@ -5100,6 +5123,14 @@ "@noble/hashes" "~1.3.0" "@scure/base" "~1.1.0" +"@scure/bip39@1.2.2": + version "1.2.2" + resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.2.tgz#f3426813f4ced11a47489cbcf7294aa963966527" + integrity sha512-HYf9TUXG80beW+hGAt3TRM8wU6pQoYur9iNypTROm42dorCGmLnFe3eWjz3gOq6G62H2WRh0FCzAR1PI+29zIA== + dependencies: + "@noble/hashes" "~1.3.2" + "@scure/base" "~1.1.4" + "@shapeshiftoss/bitcoinjs-lib@5.2.0-shapeshift.2": version "5.2.0-shapeshift.2" resolved "https://registry.yarnpkg.com/@shapeshiftoss/bitcoinjs-lib/-/bitcoinjs-lib-5.2.0-shapeshift.2.tgz#f000da26302a8a35822201a6c49a4cf7e1379ed4" @@ -6585,27 +6616,29 @@ cbor-web "8.1.0" node-forge "1.3.1" -"@venly/connect@^2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@venly/connect/-/connect-2.2.0.tgz#e7029fa41be02ee5ad6b6a570fa4d9cf9b782fe4" - integrity sha512-fSG+loJ7q6Oy8FCIPPIba3z6Ss6TEJ4ZRGDSoQw7Od0JCaSPPJ1MOA9/4MplVIbj3eCqR/FS11tq0K1jpQZavQ== +"@venly/connect@^2.4.1": + version "2.5.0" + resolved "https://registry.yarnpkg.com/@venly/connect/-/connect-2.5.0.tgz#445859aba69dcbeddad99e1cad22b12c34908393" + integrity sha512-oUz4ZFbn60HXucjLiud6rBjAodZsBoM+EuXSq2pLDokEIL8P0rW2BSJv/j0RUvnwmXUNMJuNt/96iPqAxgAKug== dependencies: "@types/node" "^12.7.1" es6-promise "^4.2.8" keycloak-js "11.0.2" -"@venly/web3-provider@^3.1.1": - version "3.1.2" - resolved "https://registry.yarnpkg.com/@venly/web3-provider/-/web3-provider-3.1.2.tgz#44647bd0da72a6472c93be05c163650290f3d4f3" - integrity sha512-c07lmN4fusn1gmmbbEWdLaYrRlhRU+ZbXRMqFF3VP5rqaU0G7Max6HXXpQGImqMjmc8iFW7JT5eP1Dd4OKEoTg== +"@venly/web3-provider@^3.5.3": + version "3.5.3" + resolved "https://registry.yarnpkg.com/@venly/web3-provider/-/web3-provider-3.5.3.tgz#eca2e207af48a096f58f7333dc610ce34feb9e61" + integrity sha512-W8AGs9gQov4qRYsuGZLiRbzie3kT4reOhtFC7kNRFG7tjc9s4RtxWfDc0TqiqNuGRad9yB41NIAXzGQYOt4Vdg== dependencies: "@ethersproject/bignumber" "^5.7.0" - "@metamask/eth-json-rpc-middleware" "^11.0.0" - "@metamask/eth-json-rpc-provider" "^1.0.0" - "@venly/connect" "^2.2.0" - eth-block-tracker "^7.0.0" - eth-json-rpc-filters "^6.0.0" - json-rpc-engine "^6.1.0" + "@metamask/eth-json-rpc-middleware" "^12.0.0" + "@metamask/eth-json-rpc-provider" "^2.1.0" + "@metamask/json-rpc-engine" "^7.1.1" + "@metamask/rpc-errors" "^6.0.0" + "@metamask/utils" "^8.1.0" + "@venly/connect" "^2.4.1" + eth-block-tracker "^8.0.0" + eth-json-rpc-filters "^6.0.1" "@wagmi/chains@^1.8.0": version "1.8.0" @@ -7380,13 +7413,13 @@ "@walletconnect/window-getters" "^1.0.1" tslib "1.14.1" -"@web3-onboard/arcana-auth@^2.0.0-alpha.1": - version "2.0.0-alpha.1" - resolved "https://registry.yarnpkg.com/@web3-onboard/arcana-auth/-/arcana-auth-2.0.0-alpha.1.tgz#089e493384e323d68a1cbc7882f52f279f56ebd2" - integrity sha512-DlAoVlYnkGFy9d1WoYLGKSU1g3BwZF05hgfDpL9nU1e6hmEkyMV7jlWO+dOWs1UMExBQ5zB3u4ODwOQDaMi1Ug== +"@web3-onboard/arcana-auth@^2.1.0-viem.1": + version "2.1.0-viem.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/arcana-auth/-/arcana-auth-2.1.0-viem.1.tgz#cd024303ca20a03c8812f67e49886b2681bb3f60" + integrity sha512-0rtWEHEkwzj+dxiYdHfv2AoAHzhc6/T/dHXdKnvYs3ZhBUmC2WGWauH27vca3C9yXGJ+iTDaHass2voKMMDC7Q== dependencies: - "@arcana/auth" "^1.0.6" - "@web3-onboard/common" "2.3.3" + "@arcana/auth" "^1.0.10" + "@web3-onboard/common" "2.4.0-viem.4" "@web3-onboard/bitget@^2.1.0-viem.1": version "2.1.0-viem.1" @@ -7434,15 +7467,6 @@ "@coinbase/wallet-sdk" "3.9.2" "@web3-onboard/common" "^2.4.0-viem.4" -"@web3-onboard/common@2.3.3", "@web3-onboard/common@^2.3.1", "@web3-onboard/common@^2.3.3": - version "2.3.3" - resolved "https://registry.yarnpkg.com/@web3-onboard/common/-/common-2.3.3.tgz#02096e967dbed272c0637cda955902b96a0fce06" - integrity sha512-Ytppszqe77VY8WglRdr/Lfx+HmcZ2hXQEkBA23JaVYmzKvP/mC6j+sjGUD8CgXDpRRxyKoiRj6nz95GRABie6Q== - dependencies: - bignumber.js "^9.1.0" - ethers "5.5.4" - joi "17.9.1" - "@web3-onboard/common@2.4.0-viem.4": version "2.4.0-viem.4" resolved "https://registry.yarnpkg.com/@web3-onboard/common/-/common-2.4.0-viem.4.tgz#d6d6808868d4ee262f60e4cfb3840ed9bdc01070" @@ -7451,7 +7475,7 @@ joi "17.9.1" viem "2.10.5" -"@web3-onboard/common@^2.3.3-alpha.1", "@web3-onboard/common@^2.3.4", "@web3-onboard/common@^2.3.4-alpha.1": +"@web3-onboard/common@^2.3.4", "@web3-onboard/common@^2.3.4-alpha.1": version "2.3.4" resolved "https://registry.yarnpkg.com/@web3-onboard/common/-/common-2.3.4.tgz#1ce41e090c19e8ac802c45737de3dda3dabea751" integrity sha512-LQM7ZA1LoJ4GirsVEWHkv9KNJcrIT+AplR957BP5O8tll+p/A1GCju89C7jAMnb3+9LShUCwHcbE4o8l8gVb9A== @@ -7535,12 +7559,12 @@ joi "17.9.1" rxjs "^7.5.2" -"@web3-onboard/gnosis@^2.2.2-alpha.1": - version "2.2.2-alpha.1" - resolved "https://registry.yarnpkg.com/@web3-onboard/gnosis/-/gnosis-2.2.2-alpha.1.tgz#bc14bbdd9fdef8bfe5af5202aab95d67d52bcbec" - integrity sha512-8R+Di01FpgDSrQxr9DERLGyA4L/GfPzNgLNI1u9mSL6GvQwe9XWzfCf+U0QHCn82Nva8JQexfNB6suz5oXqquw== +"@web3-onboard/gnosis@^2.3.0-viem.1": + version "2.3.0-viem.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/gnosis/-/gnosis-2.3.0-viem.1.tgz#42a369112e36ad8f8e5e260dfda907745122f580" + integrity sha512-CPgdSu2ltL8l0R7mVcrZykvNB2CIoC5uoYB6mUYUoh+2Birz4cAfbQhklTEjQ433QzgAJ7iDcxxpNPwxgRuaGQ== dependencies: - "@web3-onboard/common" "^2.3.3" + "@web3-onboard/common" "^2.4.0-viem.4" "@web3-onboard/hw-common@^2.3.1", "@web3-onboard/hw-common@^2.3.1-alpha.1": version "2.3.1" @@ -7604,12 +7628,12 @@ "@web3-onboard/common" "^2.4.0-viem.4" rxjs "^7.5.2" -"@web3-onboard/magic@^2.1.7-alpha.1": - version "2.1.7-alpha.1" - resolved "https://registry.yarnpkg.com/@web3-onboard/magic/-/magic-2.1.7-alpha.1.tgz#684da74c05c5e1f2702f64576dd2f1f61978b155" - integrity sha512-eY2pf4M5LjOXVR6l7w3oPLdcsB808MFnbcVH2B8T5PveTvdwj4yiNK8Axb4JRGA+NB+6Xgsm9ZqCzGF/Ea3+eg== +"@web3-onboard/magic@^2.2.0-viem.1": + version "2.2.0-viem.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/magic/-/magic-2.2.0-viem.1.tgz#85f169e1cc9795d5d19f14c41af2acb31b6918ca" + integrity sha512-FpBAa32h2Aq2bz1WWdYJeddMDHeMWLRunxxkPzgRgME9b4O4xULIh9eeJTqEe4ymz1QnIi60atsBiXudDK4YIA== dependencies: - "@web3-onboard/common" "^2.3.3-alpha.1" + "@web3-onboard/common" "^2.4.0-viem.4" joi "17.9.1" magic-sdk "^8.1.0" rxjs "^7.5.2" @@ -7679,12 +7703,12 @@ "@toruslabs/torus-embed" "2.2.9" "@web3-onboard/common" "^2.4.0-viem.4" -"@web3-onboard/transaction-preview@^2.0.9-alpha.1": - version "2.0.9-alpha.1" - resolved "https://registry.yarnpkg.com/@web3-onboard/transaction-preview/-/transaction-preview-2.0.9-alpha.1.tgz#9444a1c4ab698d05092b84d2f038bb48028cb664" - integrity sha512-zTgrHJvFmTz8Qcv/QLC3DGQGRutPQVQnMz5SqrFuNHC81NUIwuTqwuDXis6alAQlfsZa34lmt1r/AJ3jmB/3mQ== +"@web3-onboard/transaction-preview@^2.1.0-viem.1": + version "2.1.0-viem.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/transaction-preview/-/transaction-preview-2.1.0-viem.1.tgz#b3eee290a75641ea24ab117e836f8fc1b4cf7f2e" + integrity sha512-ubveAweOjqmqY6a+cxGxevhMLc2ygCNNc/MoqkqDbshnOutiVRIQ7Bfpo3Po7q3nevLt1CEy+zzcrqIAeKxLjw== dependencies: - "@web3-onboard/common" "^2.3.3" + "@web3-onboard/common" "^2.4.0-viem.4" bnc-sdk "^4.6.7" bowser "^2.11.0" joi "17.9.1" @@ -7714,28 +7738,27 @@ dependencies: "@web3-onboard/common" "^2.4.0-viem.4" -"@web3-onboard/uauth@^2.1.2-alpha.1": - version "2.1.2-alpha.1" - resolved "https://registry.yarnpkg.com/@web3-onboard/uauth/-/uauth-2.1.2-alpha.1.tgz#a1af7a75ea9b02441fbbcf3049357703b0f2e13a" - integrity sha512-RNYSpLMDF4RUU1XWfkDW6yqOoCc/QWwiY96fYSrQmKTGszHlrmZetZ5qRyeIOFszclztuqwy410f/soRlga3Ow== +"@web3-onboard/uauth@^2.2.0-viem.1": + version "2.2.0-viem.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/uauth/-/uauth-2.2.0-viem.1.tgz#88853baf42bf57636d331e6a187ca76a7148e3d5" + integrity sha512-NcBqUlShjvgrLEsBuJ2f1O/4RmvesA4yKHyn2dvJRNsSAdqZQLw70s21a7eRCZFeXZefgxr0hUn7eMzophhC6g== dependencies: - "@ethersproject/providers" "^5.5.0" "@uauth/js" "^2.4.0" "@walletconnect/client" "^1.8.0" "@walletconnect/ethereum-provider" "2.9.1" "@walletconnect/modal" "2.6.1" "@walletconnect/qrcode-modal" "^1.8.0" - "@web3-onboard/common" "^2.3.3" + "@web3-onboard/common" "^2.4.0-viem.4" joi "17.9.1" rxjs "^7.5.2" -"@web3-onboard/venly@^2.0.0-alpha.1": - version "2.0.0-alpha.1" - resolved "https://registry.yarnpkg.com/@web3-onboard/venly/-/venly-2.0.0-alpha.1.tgz#b3a2c950909e2ca6a2b52fdec63356d9497a37da" - integrity sha512-RAQ2BaJL8PU4Xmyz6prlVaHHc+IwPy1PUmAAHx4v2LnAz1vQWUR7Hz+6Pag75vz07fGKi4fBAsxgNPmdDjMNTQ== +"@web3-onboard/venly@^2.1.0-viem.1": + version "2.1.0-viem.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/venly/-/venly-2.1.0-viem.1.tgz#aca4b025f9f12b5eee7bc3593dcd7a124199a261" + integrity sha512-ZGCsLZ4T/xg6ffP3My0WnLKAXAJjpnp1SuW+XnWlYNfhTBuBvOVJp0I9e+czPDk9hwEnAnLLBomSSyerEA5+Gw== dependencies: - "@venly/web3-provider" "^3.1.1" - "@web3-onboard/common" "^2.3.1" + "@venly/web3-provider" "^3.5.3" + "@web3-onboard/common" "^2.4.0-viem.4" "@web3-onboard/walletconnect@^2.6.0-viem.1": version "2.6.0-viem.1" @@ -7747,13 +7770,13 @@ joi "17.9.1" rxjs "^7.5.2" -"@web3-onboard/web3auth@^2.2.3-alpha.1": - version "2.2.3-alpha.1" - resolved "https://registry.yarnpkg.com/@web3-onboard/web3auth/-/web3auth-2.2.3-alpha.1.tgz#6ffc0da098080d7159b40e2d3664c100e6885d5b" - integrity sha512-E6B9k+fFPlsfBb5g6KKYzc2uDqnr3Rz8LMzaF4y/Q1+WURpqLq5S4hIu4skpf2XWccg9y1Aa+LLo66JGqVNteg== +"@web3-onboard/web3auth@^2.3.0-viem.1": + version "2.3.0-viem.1" + resolved "https://registry.yarnpkg.com/@web3-onboard/web3auth/-/web3auth-2.3.0-viem.1.tgz#f4be8715da72e5a2b643ac05766483c25e0d32ef" + integrity sha512-QKJIzy2wRriWp0h9FzzAZfLdIC9RB9oSNxsrGICyEupYM99CTpOg3JIh8sWbJCykeqbL1WCiLajOQzy06px1Uw== dependencies: "@solana/web3.js" "^1.73.0" - "@web3-onboard/common" "^2.3.3-alpha.1" + "@web3-onboard/common" "^2.4.0-viem.4" "@web3auth/base" "^5.0.1" "@web3auth/modal" "^5.0.1" react-dom "^18.2.0" @@ -9066,7 +9089,7 @@ bn.js@4.11.8: resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.8.tgz#2cde09eb5ee341f484746bb0309b3253b1b1442f" integrity sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA== -bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.0, bn.js@^4.11.6, bn.js@^4.11.8, bn.js@^4.11.9, bn.js@^4.12.0, bn.js@^4.4.0: +bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.0, bn.js@^4.11.6, bn.js@^4.11.8, bn.js@^4.11.9, bn.js@^4.4.0: version "4.12.0" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== @@ -11591,17 +11614,6 @@ eth-block-tracker@^4.4.2: pify "^3.0.0" safe-event-emitter "^1.0.1" -eth-block-tracker@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/eth-block-tracker/-/eth-block-tracker-7.0.1.tgz#a104b876531aee9c190ca2bd30906f68bad56a4c" - integrity sha512-3JxvUWECHz3msxJrG6tsgelqcgK0s/Wp5J/QDEEJ1Fvt4orAUU3FQhro0uu0GFjviUcPs3kPE4+Oaoin9NNfpg== - dependencies: - "@metamask/eth-json-rpc-provider" "^1.0.0" - "@metamask/safe-event-emitter" "^3.0.0" - "@metamask/utils" "^5.0.1" - json-rpc-random-id "^1.0.1" - pify "^3.0.0" - eth-block-tracker@^7.1.0: version "7.1.0" resolved "https://registry.yarnpkg.com/eth-block-tracker/-/eth-block-tracker-7.1.0.tgz#dfc16085c6817cc30caabba381deb8d204c1c766" @@ -11613,6 +11625,17 @@ eth-block-tracker@^7.1.0: json-rpc-random-id "^1.0.1" pify "^3.0.0" +eth-block-tracker@^8.0.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/eth-block-tracker/-/eth-block-tracker-8.1.0.tgz#6ca4f6b955ff3e114f5aa0e8d36b11196ad1ea92" + integrity sha512-cdP9GMtJV87d4yuj4A3WX7gHIoJP4T4eeGgVW1jLjC/H7xuJsjs9vtwy9DJZvcd2cpRYZNQ7eWsdoJriHfi67Q== + dependencies: + "@metamask/eth-json-rpc-provider" "^2.1.0" + "@metamask/safe-event-emitter" "^3.0.0" + "@metamask/utils" "^8.1.0" + json-rpc-random-id "^1.0.1" + pify "^5.0.0" + eth-crypto@^2.1.0: version "2.3.0" resolved "https://registry.yarnpkg.com/eth-crypto/-/eth-crypto-2.3.0.tgz#e5bbfc3540bd118cec85468bb310f41dcf40e507" @@ -11658,6 +11681,17 @@ eth-json-rpc-filters@^6.0.0: json-rpc-engine "^6.1.0" pify "^5.0.0" +eth-json-rpc-filters@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/eth-json-rpc-filters/-/eth-json-rpc-filters-6.0.1.tgz#0b3e370f017f5c6f58d3e7bd0756d8099ed85c56" + integrity sha512-ITJTvqoCw6OVMLs7pI8f4gG92n/St6x80ACtHodeS+IXmO0w+t1T5OOzfSt7KLSMLRkVUoexV7tztLgDxg+iig== + dependencies: + "@metamask/safe-event-emitter" "^3.0.0" + async-mutex "^0.2.6" + eth-query "^2.1.2" + json-rpc-engine "^6.1.0" + pify "^5.0.0" + eth-json-rpc-infura@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/eth-json-rpc-infura/-/eth-json-rpc-infura-5.1.0.tgz#e6da7dc47402ce64c54e7018170d89433c4e8fb6" @@ -11794,6 +11828,16 @@ ethereum-cryptography@^2.0.0: "@scure/bip32" "1.3.0" "@scure/bip39" "1.2.0" +ethereum-cryptography@^2.1.2: + version "2.1.3" + resolved "https://registry.yarnpkg.com/ethereum-cryptography/-/ethereum-cryptography-2.1.3.tgz#1352270ed3b339fe25af5ceeadcf1b9c8e30768a" + integrity sha512-BlwbIL7/P45W8FGW2r7LGuvoEZ+7PWsniMvQ4p5s2xCyw9tmaDlpfsN9HjAucbF+t/qpVHwZUisgfK24TCW8aA== + dependencies: + "@noble/curves" "1.3.0" + "@noble/hashes" "1.3.3" + "@scure/bip32" "1.3.3" + "@scure/bip39" "1.2.2" + ethereum-provider@0.7.7: version "0.7.7" resolved "https://registry.yarnpkg.com/ethereum-provider/-/ethereum-provider-0.7.7.tgz#c67c69aa9ced8f728dacc2b4c00ad4a8bf329319" @@ -14667,6 +14711,11 @@ klona@^2.0.4, klona@^2.0.5: resolved "https://registry.yarnpkg.com/klona/-/klona-2.0.5.tgz#d166574d90076395d9963aa7a928fabb8d76afbc" integrity sha512-pJiBpiXMbt7dkzXe8Ghj/u4FfXOOa98fPW+bihOJ4SjnoijweJrNThJfd3ifXpXhREjpoF2mZVH1GfS9LV3kHQ== +klona@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/klona/-/klona-2.0.6.tgz#85bffbf819c03b2f53270412420a4555ef882e22" + integrity sha512-dhG34DXATL5hSxJbIexCft8FChFXtmskoZYnoPWjXQuebWYCNkVeV3KkGegCK9CP1oswI/vQibS2GY7Em/sJJA== + language-subtag-registry@^0.3.20: version "0.3.22" resolved "https://registry.yarnpkg.com/language-subtag-registry/-/language-subtag-registry-0.3.22.tgz#2e1500861b2e457eba7e7ae86877cbd08fa1fd1d" @@ -17960,7 +18009,7 @@ safe-regex-test@^1.0.0: get-intrinsic "^1.1.3" is-regex "^1.1.4" -safe-stable-stringify@^2.1.0, safe-stable-stringify@^2.3.2: +safe-stable-stringify@^2.1.0, safe-stable-stringify@^2.4.3: version "2.4.3" resolved "https://registry.yarnpkg.com/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz#138c84b6f6edb3db5f8ef3ef7115b8f55ccbf886" integrity sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==