chore: upgrade @web3-react/walletconnect-v2 (#6842)

* chore: upgrade @web3-react/walletconnect-v2

* fix typecheck
This commit is contained in:
Vignesh Mohankumar 2023-06-26 13:15:16 -04:00 committed by GitHub
parent 3837ce24ac
commit dd957d07e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 43 additions and 45 deletions

@ -196,7 +196,7 @@
"@web3-react/types": "^8.2.0",
"@web3-react/url": "^8.2.0",
"@web3-react/walletconnect": "^8.2.0",
"@web3-react/walletconnect-v2": "^8.3.4",
"@web3-react/walletconnect-v2": "^8.3.5",
"ajv": "^8.11.0",
"ajv-formats": "^2.1.1",
"array.prototype.flat": "^1.2.4",

@ -37,7 +37,6 @@ export class WalletConnectV2 extends WalletConnect {
// source: https://uniswapteam.slack.com/archives/C03R5G8T8BH/p1686858618164089?thread_ts=1686778867.145689&cid=C03R5G8T8BH
optionalMethods: ['eth_signTypedData', 'eth_signTypedData_v4', 'eth_sign'],
qrModalOptions: {
chainImages: undefined,
desktopWallets: undefined,
enableExplorer: true,
explorerExcludedWalletIds: undefined,
@ -50,7 +49,6 @@ export class WalletConnectV2 extends WalletConnect {
'--w3m-font-family': '"Inter custom", sans-serif',
'--w3m-z-index': Z_INDEX.modal.toString(),
},
tokenImages: undefined,
walletImages: undefined,
},
},

@ -6157,10 +6157,10 @@
"@walletconnect/types" "^1.8.0"
"@walletconnect/utils" "^1.8.0"
"@walletconnect/core@2.8.2":
version "2.8.2"
resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.8.2.tgz#81f35573a744b18e2ca0330d8ee71eb9297118f9"
integrity sha512-24ygQe1RIjcBQEh+I1KlhpLgKONrL0ll+2HIoLlSs/NLvsvNT7Ib2ku+ded8o82Pgji3DSSl5h0RNknkw2L5pQ==
"@walletconnect/core@2.8.3":
version "2.8.3"
resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.8.3.tgz#cd1942e49b09fc8fc97867da1853c3cda71013c9"
integrity sha512-uQG3XoGJscnxOWTO/W39QOXQszNpSbV8b/BFJoful9D1IUGeTracGc8FdKtNQFfvyhrx3gooZ+HwOK6QBirXzQ==
dependencies:
"@walletconnect/heartbeat" "1.2.1"
"@walletconnect/jsonrpc-provider" "1.0.13"
@ -6173,8 +6173,8 @@
"@walletconnect/relay-auth" "^1.0.4"
"@walletconnect/safe-json" "^1.0.2"
"@walletconnect/time" "^1.0.2"
"@walletconnect/types" "2.8.2"
"@walletconnect/utils" "2.8.2"
"@walletconnect/types" "2.8.3"
"@walletconnect/utils" "2.8.3"
events "^3.3.0"
lodash.isequal "4.5.0"
uint8arrays "^3.1.0"
@ -6228,19 +6228,19 @@
eip1193-provider "1.0.1"
eventemitter3 "4.0.7"
"@walletconnect/ethereum-provider@^2.8.2":
version "2.8.2"
resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.8.2.tgz#0910068ca507632836ae9ef4563e8c3a556abeab"
integrity sha512-MWhjSSbbT60vYdcLuhmTFI6t/UYHIJzILeKuKQnv4j6Pt4X4SzG2uuL7eP9PL5nHBdZxMeA0mwGn/Yhs8mgcng==
"@walletconnect/ethereum-provider@^2.8.3":
version "2.8.3"
resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.8.3.tgz#c00befd921933be21f1fcc12e3b745299f9c9248"
integrity sha512-OdD1G7xWAqJy2G/C5uoLHNw6oPs3+epXjt1J0WF8984f34GBse7iCCC6vB3ImvtzO2Jc/B08LUUnATdyDMxYMw==
dependencies:
"@walletconnect/jsonrpc-http-connection" "^1.0.7"
"@walletconnect/jsonrpc-provider" "^1.0.13"
"@walletconnect/jsonrpc-types" "^1.0.3"
"@walletconnect/jsonrpc-utils" "^1.0.8"
"@walletconnect/sign-client" "2.8.2"
"@walletconnect/types" "2.8.2"
"@walletconnect/universal-provider" "2.8.2"
"@walletconnect/utils" "2.8.2"
"@walletconnect/sign-client" "2.8.3"
"@walletconnect/types" "2.8.3"
"@walletconnect/universal-provider" "2.8.3"
"@walletconnect/utils" "2.8.3"
events "^3.3.0"
"@walletconnect/events@^1.0.1":
@ -6398,19 +6398,19 @@
dependencies:
tslib "1.14.1"
"@walletconnect/sign-client@2.8.2":
version "2.8.2"
resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.8.2.tgz#53211ad196b3deb5f0f4a6cbe0848c33ceec6098"
integrity sha512-TcViLWHE55SqYeFPDny1JTuktMOszffzYK5R22VAGOeHW3PhUqJoMcMXUEhSHuEeLcvGT1F25CiyNOWo2url/g==
"@walletconnect/sign-client@2.8.3":
version "2.8.3"
resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.8.3.tgz#2476716cfaed921a80a93e4342124105e5a1f720"
integrity sha512-fOlyZfzV4xJO0CDCMrQ3hw4bIuboncqVpJ0BgTF5yQtKklv+5pEqlFnhU8GN2rE6GThU1zyPQNibT/jRG7lCAw==
dependencies:
"@walletconnect/core" "2.8.2"
"@walletconnect/core" "2.8.3"
"@walletconnect/events" "^1.0.1"
"@walletconnect/heartbeat" "1.2.1"
"@walletconnect/jsonrpc-utils" "1.0.8"
"@walletconnect/logger" "^2.0.1"
"@walletconnect/time" "^1.0.2"
"@walletconnect/types" "2.8.2"
"@walletconnect/utils" "2.8.2"
"@walletconnect/types" "2.8.3"
"@walletconnect/utils" "2.8.3"
events "^3.3.0"
"@walletconnect/signer-connection@^1.8.0":
@ -6441,10 +6441,10 @@
dependencies:
tslib "1.14.1"
"@walletconnect/types@2.8.2", "@walletconnect/types@^2.8.1":
version "2.8.2"
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.8.2.tgz#0c958d75bef70390a5f30cbdf0c05fe96e5de85c"
integrity sha512-TzFGL2+SEU5jTt/i+kOZhcboqxhkDL+HaFcVl5+CVS6i67dYCjHu2AUkx6NARRmVzJZV5tTIjSDnpPXARoJaZA==
"@walletconnect/types@2.8.3", "@walletconnect/types@^2.8.1":
version "2.8.3"
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.8.3.tgz#2a389458ebda56b4119231579e1b37b0fe24f981"
integrity sha512-crZ5IfWEp+ctygfDNifzB68sVWKwfLMiF7GZuoOzKJuFYbXtcNjtpmFdAd3cPT+a8L30XMgv0shEdIHTj2JglQ==
dependencies:
"@walletconnect/events" "^1.0.1"
"@walletconnect/heartbeat" "1.2.1"
@ -6458,25 +6458,25 @@
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195"
integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg==
"@walletconnect/universal-provider@2.8.2":
version "2.8.2"
resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.8.2.tgz#9f1f90a221faad860e3a995bb16199a128b1277f"
integrity sha512-BguG0gp5r3xq49+A201OAx81aqLI6Et0S7derGwBRN8BaNlSqlIY+/hRSnQohjt0Gy57ZikACI9nSNPWNl8nHw==
"@walletconnect/universal-provider@2.8.3":
version "2.8.3"
resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.8.3.tgz#769c9e613a84267145620bc8cb2c2bd2d8d9c14e"
integrity sha512-HW1u23Ridjq+LG1mb+nsH31lPa4/th5kFpWuBem9n6FeZNIpoWbbGQUhU3Q5snyMccD1Vxgvxv1xC2KMUwbXTA==
dependencies:
"@walletconnect/jsonrpc-http-connection" "^1.0.7"
"@walletconnect/jsonrpc-provider" "1.0.13"
"@walletconnect/jsonrpc-types" "^1.0.2"
"@walletconnect/jsonrpc-utils" "^1.0.7"
"@walletconnect/logger" "^2.0.1"
"@walletconnect/sign-client" "2.8.2"
"@walletconnect/types" "2.8.2"
"@walletconnect/utils" "2.8.2"
"@walletconnect/sign-client" "2.8.3"
"@walletconnect/types" "2.8.3"
"@walletconnect/utils" "2.8.3"
events "^3.3.0"
"@walletconnect/utils@2.8.2":
version "2.8.2"
resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.8.2.tgz#7f280b05e572be89588275dc67a7bcc3c1fe4fc2"
integrity sha512-VyOL1iuE7X7BorBlyB5t/FCZsFMihF5JO7gNjpharIZMRoIjiXv2SVKU+qbPT/LyrGswJ0Fkjia+hXUb3tGaWw==
"@walletconnect/utils@2.8.3":
version "2.8.3"
resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.8.3.tgz#32d3111f1638e45663cf8b65c6d3af28cf5591d5"
integrity sha512-PwNEj/kGO7J7ZyrAaVqYkASLBG77qDE/+6JPX11GAucSy2wac92WefLjfVsPLNPwiNmYiV1eGbxzR3KCdlnrLA==
dependencies:
"@stablelib/chacha20poly1305" "1.0.1"
"@stablelib/hkdf" "1.0.1"
@ -6486,7 +6486,7 @@
"@walletconnect/relay-api" "^1.0.9"
"@walletconnect/safe-json" "^1.0.2"
"@walletconnect/time" "^1.0.2"
"@walletconnect/types" "2.8.2"
"@walletconnect/types" "2.8.3"
"@walletconnect/window-getters" "^1.0.1"
"@walletconnect/window-metadata" "^1.0.1"
detect-browser "5.3.0"
@ -6615,12 +6615,12 @@
"@ethersproject/providers" "^5"
"@web3-react/types" "^8.2.0"
"@web3-react/walletconnect-v2@^8.3.4":
version "8.3.4"
resolved "https://registry.yarnpkg.com/@web3-react/walletconnect-v2/-/walletconnect-v2-8.3.4.tgz#30ea1e7edb9075f265bbf778a443eb7191f402de"
integrity sha512-A7lFzxvqLFql6LBxAQLAmO+53FydyZdr8XfY2Xxq6gjZjm1GrQwIr6uibFDyXeRBKMHWJO+RglZL4fm0O8/NsQ==
"@web3-react/walletconnect-v2@^8.3.5":
version "8.3.5"
resolved "https://registry.yarnpkg.com/@web3-react/walletconnect-v2/-/walletconnect-v2-8.3.5.tgz#310fad7da378d2350a44a3d67b3a98368175f17f"
integrity sha512-8OE8XSAM3uamQAMt+SZHX+ichgZ6Ds/oKsckn+HY+TDNiduYLCBG/isiYKAxdIq8qXjdAkV7g2ek2fLAQOud3Q==
dependencies:
"@walletconnect/ethereum-provider" "^2.8.2"
"@walletconnect/ethereum-provider" "^2.8.3"
"@walletconnect/modal" "^2.4.5"
"@web3-react/types" "^8.2.0"
eventemitter3 "^4.0.7"