diff --git a/package.json b/package.json index a0a3b9bee7..46be4d5b2a 100644 --- a/package.json +++ b/package.json @@ -124,6 +124,9 @@ "workbox-routing": "^6.1.0", "workbox-strategies": "^6.1.0" }, + "resolutions": { + "@walletconnect/ethereum-provider": "1.6.2" + }, "scripts": { "compile-contract-types": "yarn compile-external-abi-types && yarn compile-v3-contract-types", "compile-external-abi-types": "typechain --target ethers-v5 --out-dir src/abis/types './src/abis/**/*.json'", diff --git a/yarn.lock b/yarn.lock index 4da5a2b014..ff498251aa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4444,35 +4444,35 @@ tiny-invariant "^1.1.0" tiny-warning "^1.0.3" -"@walletconnect/browser-utils@^1.5.4": - version "1.5.4" - resolved "https://registry.yarnpkg.com/@walletconnect/browser-utils/-/browser-utils-1.5.4.tgz#7f23d3bca0d1e9b64f59b3847f9fc83434547253" - integrity sha512-09yRcfQRQiDpwf6JY57UQOzFfSOunszcSFDFekV+hz8VdShdKmq02w0hp5c4i9T0dAX+eCHNUtOun+jN6CPIDw== +"@walletconnect/browser-utils@^1.6.2": + version "1.6.2" + resolved "https://registry.yarnpkg.com/@walletconnect/browser-utils/-/browser-utils-1.6.2.tgz#f86312d712f43e9a3688b58eea16fd792c840702" + integrity sha512-8+Yc9iXe2VD7C5I2iZjXKBvzTqDBse7yC9PrCWFJdUYW2rInk7BSqw/9NFhBk41sPonm2dklzwaMJApoW7V5bw== dependencies: "@walletconnect/safe-json" "1.0.0" - "@walletconnect/types" "^1.5.4" + "@walletconnect/types" "^1.6.2" "@walletconnect/window-getters" "1.0.0" "@walletconnect/window-metadata" "1.0.0" detect-browser "5.2.0" -"@walletconnect/client@^1.5.4": - version "1.5.4" - resolved "https://registry.yarnpkg.com/@walletconnect/client/-/client-1.5.4.tgz#ee5db6876d83272ab8d6cdf61bd409aa10e40212" - integrity sha512-NGslp4HfSBC/pf6QNpH49RQKW0IznqzR4Ooarr23yEcyO8XzOZDfra+Y7mKQkarXAN2O1HHBY3h3VF/C0mlwCw== +"@walletconnect/client@^1.6.2": + version "1.6.2" + resolved "https://registry.yarnpkg.com/@walletconnect/client/-/client-1.6.2.tgz#bbb2511ee44311c8a82d63382c2d30204a05ae7d" + integrity sha512-ETeYAczgES2jlo5FuZyAfJmrRX38S7uy48zy89C7Rr4P0ZUy4fHXpnHGy0k7vI1tgikQXXQ0dv7DoLOST3V3Fg== dependencies: - "@walletconnect/core" "^1.5.4" - "@walletconnect/iso-crypto" "^1.5.4" - "@walletconnect/types" "^1.5.4" - "@walletconnect/utils" "^1.5.4" + "@walletconnect/core" "^1.6.2" + "@walletconnect/iso-crypto" "^1.6.2" + "@walletconnect/types" "^1.6.2" + "@walletconnect/utils" "^1.6.2" -"@walletconnect/core@^1.5.4": - version "1.5.4" - resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-1.5.4.tgz#bde2e95583f1a6112d03f27d6709a124e8efca35" - integrity sha512-jJWKA4fnrjcWaOK/d4ct130Ic8Ycf0ZSgaNMm/9Uh+t6CAFJmY2M3WTUf3UagGZ3+7vAGJwMYVR7NN4k86mfqg== +"@walletconnect/core@^1.6.2": + version "1.6.2" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-1.6.2.tgz#5ac59d7c882fd8a95f3286346667e9b6c558a448" + integrity sha512-XQLcHXVA2SWFnwQz6y8AAhRV2P2q7qoWfhz9vV1ZJgKJ3i8mi9Dp9zZsYRKDl+T5bRpGpdxv/PZ3JpQvr1IDgQ== dependencies: - "@walletconnect/socket-transport" "^1.5.4" - "@walletconnect/types" "^1.5.4" - "@walletconnect/utils" "^1.5.4" + "@walletconnect/socket-transport" "^1.6.2" + "@walletconnect/types" "^1.6.2" + "@walletconnect/utils" "^1.6.2" "@walletconnect/crypto@^1.0.1": version "1.0.1" @@ -4498,28 +4498,28 @@ resolved "https://registry.yarnpkg.com/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== -"@walletconnect/ethereum-provider@^1.5.4": - version "1.5.4" - resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-1.5.4.tgz#47e6a636e3508b7a5f6a9224752065f4590b9695" - integrity sha512-WabZsjSrqQBBpD0V6eLvXQjhnBfYyBODOQK7egIFTeidkX2C5jM1wGnYUW5/Uj5iZ5ZNlkpkXu9j5CEjlhcJ4w== +"@walletconnect/ethereum-provider@1.6.2", "@walletconnect/ethereum-provider@^1.5.4": + version "1.6.2" + resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-1.6.2.tgz#603227a4a06a949386fca3f9e16d6e19d1033dad" + integrity sha512-BhBjbz7Scw3WxDcyvbPjsB9GUeV00aCOTCwjlTKdywTNhxy6RFPdmWE0npbMTp011BiFzWkKIionEqQrKYvDcg== dependencies: - "@walletconnect/client" "^1.5.4" + "@walletconnect/client" "^1.6.2" "@walletconnect/jsonrpc-http-connection" "^1.0.0" "@walletconnect/jsonrpc-provider" "^1.0.0" - "@walletconnect/signer-connection" "^1.5.4" - "@walletconnect/types" "^1.5.4" - "@walletconnect/utils" "^1.5.4" + "@walletconnect/signer-connection" "^1.6.2" + "@walletconnect/types" "^1.6.2" + "@walletconnect/utils" "^1.6.2" eip1193-provider "1.0.1" eventemitter3 "4.0.7" -"@walletconnect/iso-crypto@^1.5.4": - version "1.5.4" - resolved "https://registry.yarnpkg.com/@walletconnect/iso-crypto/-/iso-crypto-1.5.4.tgz#59c4bbf7337cf1868cb204b14c7dccee4b37c307" - integrity sha512-mwYyuPzWEvjkVi5DkgAu6aTjf2KMPmlXaIrqBPvGVeuhFrlxf3pYOjunBoxHm/Lnm9a9FQPwkGf6s9DQEl2r1A== +"@walletconnect/iso-crypto@^1.6.2": + version "1.6.2" + resolved "https://registry.yarnpkg.com/@walletconnect/iso-crypto/-/iso-crypto-1.6.2.tgz#39cfc1143e29805d3137ac3402f981d4200dc505" + integrity sha512-hznvNn3FojyRNrA5QWfkK5kyzlVbeE8gFZ7hETtSPpt24xjPi0WYo9yPxMJuMBXw2hbwSRVPkxjR354D4miZmQ== dependencies: "@walletconnect/crypto" "^1.0.1" - "@walletconnect/types" "^1.5.4" - "@walletconnect/utils" "^1.5.4" + "@walletconnect/types" "^1.6.2" + "@walletconnect/utils" "^1.6.2" "@walletconnect/jsonrpc-http-connection@^1.0.0": version "1.0.0" @@ -4558,14 +4558,14 @@ resolved "https://registry.npmjs.org/@walletconnect/mobile-registry/-/mobile-registry-1.4.0.tgz" integrity sha512-ZtKRio4uCZ1JUF7LIdecmZt7FOLnX72RPSY7aUVu7mj7CSfxDwUn6gBuK6WGtH+NZCldBqDl5DenI5fFSvkKYw== -"@walletconnect/qrcode-modal@^1.5.4": - version "1.5.4" - resolved "https://registry.yarnpkg.com/@walletconnect/qrcode-modal/-/qrcode-modal-1.5.4.tgz#a6efdb19dac6f7fe53e1a778ffb7de0838f29dd5" - integrity sha512-8i/2ruMSHsWvkg7xOgSJSty/iMPiZ5MFdC8XxqxebdvYUDPB5/nyDihQFExpqBxeKk2QAOqtav3/38HbBinoLA== +"@walletconnect/qrcode-modal@^1.6.2": + version "1.6.2" + resolved "https://registry.yarnpkg.com/@walletconnect/qrcode-modal/-/qrcode-modal-1.6.2.tgz#a5e8c5c19c177322cd22dba462ae9253df06057e" + integrity sha512-+d1SsUvLzFUWY60X+OKumejzQj1BYkZGPdIHNlm2sjsDhsGTMrID7fVL+FlHq/I63bT/9Bsv08dt7FeG7y+p/Q== dependencies: - "@walletconnect/browser-utils" "^1.5.4" + "@walletconnect/browser-utils" "^1.6.2" "@walletconnect/mobile-registry" "^1.4.0" - "@walletconnect/types" "^1.5.4" + "@walletconnect/types" "^1.6.2" copy-to-clipboard "^3.3.1" preact "10.4.1" qrcode "1.4.4" @@ -4584,41 +4584,41 @@ resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2" integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg== -"@walletconnect/signer-connection@^1.5.4": - version "1.5.4" - resolved "https://registry.yarnpkg.com/@walletconnect/signer-connection/-/signer-connection-1.5.4.tgz#17cd73d6dd08a3722355dd9212b8027e93ae0751" - integrity sha512-l+esNjsfGP5C38J97aJT9G7OM6kaMwBfLowlt052lmTGhGr4I4lT71Gp/F0u+97rwfM1pPSdiiTYckgkooOpUg== +"@walletconnect/signer-connection@^1.6.2": + version "1.6.2" + resolved "https://registry.yarnpkg.com/@walletconnect/signer-connection/-/signer-connection-1.6.2.tgz#ea0d10606c800ece06a0822425b70fa987f33361" + integrity sha512-eXruIQuR4wWdlnyJWc2RQjRSYCG8h0Z1CiAv+zl062zn05TLPg/sgczhS0FgScchr2f1JEAO3COI8i1My2oq1A== dependencies: - "@walletconnect/client" "^1.5.4" + "@walletconnect/client" "^1.6.2" "@walletconnect/jsonrpc-types" "^1.0.0" "@walletconnect/jsonrpc-utils" "^1.0.0" - "@walletconnect/qrcode-modal" "^1.5.4" - "@walletconnect/types" "^1.5.4" + "@walletconnect/qrcode-modal" "^1.6.2" + "@walletconnect/types" "^1.6.2" eventemitter3 "4.0.7" -"@walletconnect/socket-transport@^1.5.4": - version "1.5.4" - resolved "https://registry.yarnpkg.com/@walletconnect/socket-transport/-/socket-transport-1.5.4.tgz#ac52fa1940036950418c9f2e702e861a9993afaf" - integrity sha512-9xPpN2QvRc8i65wIaDEiFLPWdgKY/S+0ba5zSTqKAyjQVWPBH+/wr4xcoOF1lLdMKanFiyEpH1z25+6ndp7cAw== +"@walletconnect/socket-transport@^1.6.2": + version "1.6.2" + resolved "https://registry.yarnpkg.com/@walletconnect/socket-transport/-/socket-transport-1.6.2.tgz#0667abc12cfe619199ee9ce84efd58c2827b1df4" + integrity sha512-G07Iqt2WkkqS8Q5M+ERNjeUV1A2MEBpiYOn6H9xmv7dkoXWQbTxd4qJbIgP3jAcVX0yYyLaf/gSFWFg7tpp8dw== dependencies: - "@walletconnect/types" "^1.5.4" - "@walletconnect/utils" "^1.5.4" - ws "7.3.0" + "@walletconnect/types" "^1.6.2" + "@walletconnect/utils" "^1.6.2" + ws "7.5.3" -"@walletconnect/types@^1.5.4": - version "1.5.4" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.5.4.tgz#2dc6240b8779c0e5ad5b086a32c9d59bb8d488ed" - integrity sha512-K3XQA5y2dfVfLObjrj4YPVcqxw3qZVpUan/UvsuC0e06vP+Gk6J6u2Xs196Or9/gLDSu05S/R69SukuWEtaHNA== +"@walletconnect/types@^1.6.2": + version "1.6.2" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.6.2.tgz#81b0a7dfa3b5cab9240530667e19439663e99d6f" + integrity sha512-21jvvnUcbdcH6cSe/8B/KoeU+foNbvNsBOYY3AWW0LMuD/N5CnGZHGYcbEq0R0z7Gj4lp9IFvDIBLM7WaG1IiQ== -"@walletconnect/utils@^1.5.4": - version "1.5.4" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-1.5.4.tgz#9fdf57169bca8006625e53e8acdb08346fa4746b" - integrity sha512-M/Wbm+kuaAo4dmfNY3UHsXnLpW0XpnoMChKlmPO56SqN0xK0GEUn4UGWxKTsR9WuhMcqajbjOnsI5m9PzIfMoQ== +"@walletconnect/utils@^1.6.2": + version "1.6.2" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-1.6.2.tgz#b8313dcb09ed8edb5d55bd332caec590a8684955" + integrity sha512-/J5xO0qzGYw/gwpIYZ72ml0TASGClRJ/siFG+5QDghXvRgQKYiQKPq7nBDbtcUd3pjbuGKTOeTLm01S4urGvTQ== dependencies: - "@walletconnect/browser-utils" "^1.5.4" + "@walletconnect/browser-utils" "^1.6.2" "@walletconnect/encoding" "^1.0.0" "@walletconnect/jsonrpc-utils" "^1.0.0" - "@walletconnect/types" "^1.5.4" + "@walletconnect/types" "^1.6.2" bn.js "4.11.8" js-sha3 "0.8.0" query-string "6.13.5" @@ -19570,11 +19570,6 @@ write-file-atomic@^3.0.0: signal-exit "^3.0.2" typedarray-to-buffer "^3.1.5" -ws@7.3.0: - version "7.3.0" - resolved "https://registry.npmjs.org/ws/-/ws-7.3.0.tgz" - integrity sha512-iFtXzngZVXPGgpTlP1rBqsUK82p9tKqsWRPg5L56egiljujJT3vGAYnHANvFxBieXrTFavhzhxW52jnaWV+w2w== - ws@7.4.5: version "7.4.5" resolved "https://registry.npmjs.org/ws/-/ws-7.4.5.tgz" @@ -19585,6 +19580,11 @@ ws@7.4.6: resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== +ws@7.5.3, ws@^7.4.0: + version "7.5.3" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" + integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== + ws@^5.1.1: version "5.2.2" resolved "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz" @@ -19604,11 +19604,6 @@ ws@^6.2.1: dependencies: async-limiter "~1.0.0" -ws@^7.4.0: - version "7.5.3" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.3.tgz#160835b63c7d97bfab418fc1b8a9fced2ac01a74" - integrity sha512-kQ/dHIzuLrS6Je9+uv81ueZomEwH0qVYstcAQ4/Z93K8zeko9gtAbttJWzoC5ukqXY1PpoouV3+VSOqEAFt5wg== - ws@^7.4.5: version "7.5.2" resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.2.tgz#09cc8fea3bec1bc5ed44ef51b42f945be36900f6"