forked from Uniswap/widgets
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: listen for walletconnect tx success (Uniswap#303)
- Loading branch information
Showing
2 changed files
with
95 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3745,35 +3745,35 @@ | |
dependencies: | ||
"@vibrant/types" "^3.2.1-alpha.1" | ||
|
||
"@walletconnect/browser-utils@^1.7.8": | ||
version "1.7.8" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/browser-utils/-/browser-utils-1.7.8.tgz#c9e27f69d838442d69ccf53cb38ffc3c554baee2" | ||
integrity sha512-iCL0XCWOZaABIc0lqA79Vyaybr3z26nt8mxiwvfrG8oaKUf5Y21Of4dj+wIXQ4Hhblre6SgDlU0Ffb39+1THOw== | ||
"@walletconnect/browser-utils@^1.8.0": | ||
version "1.8.0" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/browser-utils/-/browser-utils-1.8.0.tgz#33c10e777aa6be86c713095b5206d63d32df0951" | ||
integrity sha512-Wcqqx+wjxIo9fv6eBUFHPsW1y/bGWWRboni5dfD8PtOmrihrEpOCmvRJe4rfl7xgJW8Ea9UqKEaq0bIRLHlK4A== | ||
dependencies: | ||
"@walletconnect/safe-json" "1.0.0" | ||
"@walletconnect/types" "^1.7.8" | ||
"@walletconnect/types" "^1.8.0" | ||
"@walletconnect/window-getters" "1.0.0" | ||
"@walletconnect/window-metadata" "1.0.0" | ||
detect-browser "5.2.0" | ||
|
||
"@walletconnect/client@^1.7.8": | ||
version "1.7.8" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/client/-/client-1.7.8.tgz#62c2d7114e59495d90772ea8033831ceb29c6a78" | ||
integrity sha512-pBroM6jZAaUM0SoXJZg5U7aPTiU3ljQAw3Xh/i2pxFDeN/oPKao7husZ5rdxS5xuGSV6YpqqRb0RxW1IeoR2Pg== | ||
"@walletconnect/client@^1.8.0": | ||
version "1.8.0" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/client/-/client-1.8.0.tgz#6f46b5499c7c861c651ff1ebe5da5b66225ca696" | ||
integrity sha512-svyBQ14NHx6Cs2j4TpkQaBI/2AF4+LXz64FojTjMtV4VMMhl81jSO1vNeg+yYhQzvjcGH/GpSwixjyCW0xFBOQ== | ||
dependencies: | ||
"@walletconnect/core" "^1.7.8" | ||
"@walletconnect/iso-crypto" "^1.7.8" | ||
"@walletconnect/types" "^1.7.8" | ||
"@walletconnect/utils" "^1.7.8" | ||
"@walletconnect/core" "^1.8.0" | ||
"@walletconnect/iso-crypto" "^1.8.0" | ||
"@walletconnect/types" "^1.8.0" | ||
"@walletconnect/utils" "^1.8.0" | ||
|
||
"@walletconnect/core@^1.7.8": | ||
version "1.7.8" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-1.7.8.tgz#97c52ea7d00126863cd37bf19bd3e87d4f30de1e" | ||
integrity sha512-9xcQ0YNf9JUFb0YOX1Mpy4Yojt+6w2yQz/0aIEyj2X/s9D71NW0fTYsMcdhkLOI7mn2cqVbx2t1lRvdgqsbrSQ== | ||
"@walletconnect/core@^1.8.0": | ||
version "1.8.0" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-1.8.0.tgz#6b2748b90c999d9d6a70e52e26a8d5e8bfeaa81e" | ||
integrity sha512-aFTHvEEbXcZ8XdWBw6rpQDte41Rxwnuk3SgTD8/iKGSRTni50gI9S3YEzMj05jozSiOBxQci4pJDMVhIUMtarw== | ||
dependencies: | ||
"@walletconnect/socket-transport" "^1.7.8" | ||
"@walletconnect/types" "^1.7.8" | ||
"@walletconnect/utils" "^1.7.8" | ||
"@walletconnect/socket-transport" "^1.8.0" | ||
"@walletconnect/types" "^1.8.0" | ||
"@walletconnect/utils" "^1.8.0" | ||
|
||
"@walletconnect/crypto@^1.0.2": | ||
version "1.0.2" | ||
|
@@ -3799,74 +3799,74 @@ | |
resolved "https://registry.yarnpkg.com/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" | ||
integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== | ||
|
||
"@walletconnect/ethereum-provider@^1.7.1": | ||
version "1.7.8" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-1.7.8.tgz#8b969b394e14c68855b6ae2660f2e39dec857f5f" | ||
integrity sha512-dnl560zFMdK/LD4MD2XwHbWj7RXOaeXWPc9jzDaosLQLAXfA5mKe4XbCFFUPbVMYuyBdRI9NZv3Ci/qDb5wncQ== | ||
dependencies: | ||
"@walletconnect/client" "^1.7.8" | ||
"@walletconnect/jsonrpc-http-connection" "^1.0.0" | ||
"@walletconnect/jsonrpc-provider" "^1.0.3" | ||
"@walletconnect/signer-connection" "^1.7.8" | ||
"@walletconnect/types" "^1.7.8" | ||
"@walletconnect/utils" "^1.7.8" | ||
"@walletconnect/ethereum-provider@^1.7.8": | ||
version "1.8.0" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-1.8.0.tgz#ed1dbf9cecc3b818758a060d2f9017c50bde1d32" | ||
integrity sha512-Nq9m+oo5P0F+njsROHw9KMWdoc/8iGHYzQdkjJN/1C7DtsqFRg5k5a3hd9rzCLpbPsOC1q8Z5lRs6JQgDvPm6Q== | ||
dependencies: | ||
"@walletconnect/client" "^1.8.0" | ||
"@walletconnect/jsonrpc-http-connection" "^1.0.2" | ||
"@walletconnect/jsonrpc-provider" "^1.0.5" | ||
"@walletconnect/signer-connection" "^1.8.0" | ||
"@walletconnect/types" "^1.8.0" | ||
"@walletconnect/utils" "^1.8.0" | ||
eip1193-provider "1.0.1" | ||
eventemitter3 "4.0.7" | ||
|
||
"@walletconnect/iso-crypto@^1.7.8": | ||
version "1.7.8" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/iso-crypto/-/iso-crypto-1.7.8.tgz#41f09326d129faa09beae213e78614c19d90bbd6" | ||
integrity sha512-Qo6qDcMG0Ac+9fpWE0h/oE55NHLk6eM2vlXpWlQDN/me7RZGrkvk+LXsAkQ3UiYPEiPfq4eswcyRWC9AcrAscg== | ||
"@walletconnect/iso-crypto@^1.8.0": | ||
version "1.8.0" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/iso-crypto/-/iso-crypto-1.8.0.tgz#44ddf337c4f02837c062dbe33fa7ab36789df451" | ||
integrity sha512-pWy19KCyitpfXb70hA73r9FcvklS+FvO9QUIttp3c2mfW8frxgYeRXfxLRCIQTkaYueRKvdqPjbyhPLam508XQ== | ||
dependencies: | ||
"@walletconnect/crypto" "^1.0.2" | ||
"@walletconnect/types" "^1.7.8" | ||
"@walletconnect/utils" "^1.7.8" | ||
"@walletconnect/types" "^1.8.0" | ||
"@walletconnect/utils" "^1.8.0" | ||
|
||
"@walletconnect/jsonrpc-http-connection@^1.0.0": | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-http-connection/-/jsonrpc-http-connection-1.0.0.tgz#5bbdfbaf6d6519b3c08e492a6badb7460ab5ecd0" | ||
integrity sha512-fmBTox7Zo9Tb8wzKpnOgYl5cYPu+2xXifNMDYMRGkWDAygXBzRzmfdhk7OowCkSXeh8aDhE5eFtMk+u8MOmntg== | ||
"@walletconnect/jsonrpc-http-connection@^1.0.2": | ||
version "1.0.3" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-http-connection/-/jsonrpc-http-connection-1.0.3.tgz#0343811bb33fb8a3823cb3306b306cf2ed61e99a" | ||
integrity sha512-npPvDG2JxyxoqOphDiyjp5pPeASRBrlfQS39wHESPHlFIjBuvNt9lV9teh53MK9Ncbyxh4y2qEKMfPgcUulTRg== | ||
dependencies: | ||
"@walletconnect/jsonrpc-utils" "^1.0.0" | ||
"@walletconnect/jsonrpc-utils" "^1.0.3" | ||
"@walletconnect/safe-json" "^1.0.0" | ||
cross-fetch "^3.1.4" | ||
|
||
"@walletconnect/jsonrpc-provider@^1.0.3": | ||
version "1.0.3" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.3.tgz#ddd8dca2e17df62f0dbe42764319f61487b5cbcb" | ||
integrity sha512-DmSBKEB+RYngQgAbbDtJTUFdgyKvnWJD8bsM2QR1e2fyEUGUaq+z3QXixrMAsMW3tI8EuVlklEd7ayb6oyFpZw== | ||
"@walletconnect/jsonrpc-provider@^1.0.5": | ||
version "1.0.5" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.5.tgz#1a66053b6f083a9885a32b7c2c8f6a376f1a4458" | ||
integrity sha512-v61u4ZIV8+p9uIHS2Kl2YRj/2idrQiHcrbrJXw3McQkEJtj9mkCofr1Hu/n419wSRM5uiNK8Z4WRS9zGTTAhWQ== | ||
dependencies: | ||
"@walletconnect/jsonrpc-utils" "^1.0.0" | ||
"@walletconnect/jsonrpc-utils" "^1.0.3" | ||
"@walletconnect/safe-json" "^1.0.0" | ||
|
||
"@walletconnect/jsonrpc-types@^1.0.0": | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.0.tgz#fa75ad5e8f106a2e33287b1e6833e22ed0225055" | ||
integrity sha512-11QXNq5H1PKZk7bP8SxgmCw3HRaDuPOVE+wObqEvmhc7OWYUZqfuaaMb+OXGRSOHL3sbC+XHfdeCxFTMXSFyng== | ||
"@walletconnect/jsonrpc-types@^1.0.1": | ||
version "1.0.1" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.1.tgz#a96b4bb2bcc8838a70e06f15c1b5ab11c47d8e95" | ||
integrity sha512-+6coTtOuChCqM+AoYyi4Q83p9l/laI6NvuM2/AHaZFuf0gT0NjW7IX2+86qGyizn7Ptq4AYZmfxurAxTnhefuw== | ||
dependencies: | ||
keyvaluestorage-interface "^1.0.0" | ||
|
||
"@walletconnect/jsonrpc-utils@^1.0.0": | ||
version "1.0.0" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.0.tgz#1a2f668d606e8f0b6e7d8fdebae86001bd037a3f" | ||
integrity sha512-qUHbKUK6sHeHn67qtHZoLoYk5hS6x1arTPjKDRkY93/6Fx+ZmNIpdm1owX3l6aYueyegJ7mz43FpvYHUqJ8xcw== | ||
"@walletconnect/jsonrpc-utils@^1.0.3": | ||
version "1.0.3" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.3.tgz#5bd49865eef0eae48e8b45a06731dc18691cf8c7" | ||
integrity sha512-3yb49bPk16MNLk6uIIHPSHQCpD6UAo1OMOx1rM8cW/MPEAYAzrSW5hkhG7NEUwX9SokRIgnZK3QuQkiyNzBMhQ== | ||
dependencies: | ||
"@walletconnect/environment" "^1.0.0" | ||
"@walletconnect/jsonrpc-types" "^1.0.0" | ||
"@walletconnect/jsonrpc-types" "^1.0.1" | ||
|
||
"@walletconnect/mobile-registry@^1.4.0": | ||
version "1.4.0" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/mobile-registry/-/mobile-registry-1.4.0.tgz#502cf8ab87330841d794819081e748ebdef7aee5" | ||
integrity sha512-ZtKRio4uCZ1JUF7LIdecmZt7FOLnX72RPSY7aUVu7mj7CSfxDwUn6gBuK6WGtH+NZCldBqDl5DenI5fFSvkKYw== | ||
|
||
"@walletconnect/qrcode-modal@^1.7.8": | ||
version "1.7.8" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/qrcode-modal/-/qrcode-modal-1.7.8.tgz#52b3d15922f3e371ddc92fd0f49f93ff40241365" | ||
integrity sha512-LqNJMLWO+ljvoRSdq8tcEslW0imKrrb+ugs3bw4w/jEI1FSJzVeinEsgVpyaMv8wsUcyTcSCXSkXpT1SXHtcpw== | ||
"@walletconnect/qrcode-modal@^1.8.0": | ||
version "1.8.0" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/qrcode-modal/-/qrcode-modal-1.8.0.tgz#ddd6f5c9b7ee52c16adf9aacec2a3eac4994caea" | ||
integrity sha512-BueaFefaAi8mawE45eUtztg3ZFbsAH4DDXh1UNwdUlsvFMjqcYzLUG0xZvDd6z2eOpbgDg2N3bl6gF0KONj1dg== | ||
dependencies: | ||
"@walletconnect/browser-utils" "^1.7.8" | ||
"@walletconnect/browser-utils" "^1.8.0" | ||
"@walletconnect/mobile-registry" "^1.4.0" | ||
"@walletconnect/types" "^1.7.8" | ||
"@walletconnect/types" "^1.8.0" | ||
copy-to-clipboard "^3.3.1" | ||
preact "10.4.1" | ||
qrcode "1.4.4" | ||
|
@@ -3885,41 +3885,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.7.8": | ||
version "1.7.8" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/signer-connection/-/signer-connection-1.7.8.tgz#07453ce25ef7c657c051b74fe1b48e72e2ebc459" | ||
integrity sha512-H+kps4XqabiOQzG/FEgXSjEUlZLQ7Iz9pnNLtuC1Vr+9fvjq9sEkCPBH89N7QL+MDh6q8dU2sADEZzyqNEY6dg== | ||
dependencies: | ||
"@walletconnect/client" "^1.7.8" | ||
"@walletconnect/jsonrpc-types" "^1.0.0" | ||
"@walletconnect/jsonrpc-utils" "^1.0.0" | ||
"@walletconnect/qrcode-modal" "^1.7.8" | ||
"@walletconnect/types" "^1.7.8" | ||
"@walletconnect/signer-connection@^1.8.0": | ||
version "1.8.0" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/signer-connection/-/signer-connection-1.8.0.tgz#6cdf490df770e504cc1a550bdb5bac7696b130bc" | ||
integrity sha512-+YAaTAP52MWZJ2wWnqKClKCPlPHBo6reURFe0cWidLADh9mi/kPWGALZ5AENK22zpem1bbKV466rF5Rzvu0ehA== | ||
dependencies: | ||
"@walletconnect/client" "^1.8.0" | ||
"@walletconnect/jsonrpc-types" "^1.0.1" | ||
"@walletconnect/jsonrpc-utils" "^1.0.3" | ||
"@walletconnect/qrcode-modal" "^1.8.0" | ||
"@walletconnect/types" "^1.8.0" | ||
eventemitter3 "4.0.7" | ||
|
||
"@walletconnect/socket-transport@^1.7.8": | ||
version "1.7.8" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/socket-transport/-/socket-transport-1.7.8.tgz#a4ef50d8054293991dbfde7f9c66788030182ec3" | ||
integrity sha512-bqEjLxfSzG79v2OT7XVOZoyUkg6g3yng0fURrdLusWs42fYHWnrSrIZDejFn8N5PiZk5R2edrggkQ7w0VUUAfw== | ||
"@walletconnect/socket-transport@^1.8.0": | ||
version "1.8.0" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/socket-transport/-/socket-transport-1.8.0.tgz#9a1128a249628a0be11a0979b522fe82b44afa1b" | ||
integrity sha512-5DyIyWrzHXTcVp0Vd93zJ5XMW61iDM6bcWT4p8DTRfFsOtW46JquruMhxOLeCOieM4D73kcr3U7WtyR4JUsGuQ== | ||
dependencies: | ||
"@walletconnect/types" "^1.7.8" | ||
"@walletconnect/utils" "^1.7.8" | ||
"@walletconnect/types" "^1.8.0" | ||
"@walletconnect/utils" "^1.8.0" | ||
ws "7.5.3" | ||
|
||
"@walletconnect/types@^1.7.8": | ||
version "1.7.8" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.7.8.tgz#ec397e6fbdc8147bccc17029edfeb41c50a5ca09" | ||
integrity sha512-0oSZhKIrtXRJVP1jQ0EDTRtotQY6kggGjDcmm/LLQBKnOZXdPeo0sPkV/7DjT5plT3O7Cjc6JvuXt9WOY0hlCA== | ||
"@walletconnect/types@^1.8.0": | ||
version "1.8.0" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.8.0.tgz#3f5e85b2d6b149337f727ab8a71b8471d8d9a195" | ||
integrity sha512-Cn+3I0V0vT9ghMuzh1KzZvCkiAxTq+1TR2eSqw5E5AVWfmCtECFkVZBP6uUJZ8YjwLqXheI+rnjqPy7sVM4Fyg== | ||
|
||
"@walletconnect/utils@^1.7.8": | ||
version "1.7.8" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-1.7.8.tgz#f94572bca5eb6b5f81daf8a35268f249f9c6b1ec" | ||
integrity sha512-DSpfH6Do0TQmdrgzu+SyjVhupVjN0WEMvNWGK9K4VlSmLFpCWfme7qxzrvuxBZ47gDqs1kGWvjyJmviWqvOnAg== | ||
"@walletconnect/utils@^1.8.0": | ||
version "1.8.0" | ||
resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-1.8.0.tgz#2591a197c1fa7429941fe428876088fda6632060" | ||
integrity sha512-zExzp8Mj1YiAIBfKNm5u622oNw44WOESzo6hj+Q3apSMIb0Jph9X3GDIdbZmvVZsNPxWDL7uodKgZcCInZv2vA== | ||
dependencies: | ||
"@walletconnect/browser-utils" "^1.7.8" | ||
"@walletconnect/browser-utils" "^1.8.0" | ||
"@walletconnect/encoding" "^1.0.1" | ||
"@walletconnect/jsonrpc-utils" "^1.0.0" | ||
"@walletconnect/types" "^1.7.8" | ||
"@walletconnect/jsonrpc-utils" "^1.0.3" | ||
"@walletconnect/types" "^1.8.0" | ||
bn.js "4.11.8" | ||
js-sha3 "0.8.0" | ||
query-string "6.13.5" | ||
|
@@ -4001,10 +4001,10 @@ | |
"@ethersproject/providers" "^5" | ||
"@web3-react/types" "^8.0.20-beta.0" | ||
|
||
"@web3-react/[email protected].35-beta.0": | ||
version "8.0.35-beta.0" | ||
resolved "https://registry.yarnpkg.com/@web3-react/walletconnect/-/walletconnect-8.0.35-beta.0.tgz#49c6c77447d58bfb295f28fa87c8fbfeec95cff5" | ||
integrity sha512-fUrqcnwAr5oecZ6VUE/7+RSVURrohbAgWMLKYxd8Zo47AtTPzgJ1t5Lydh/EX4xJPLhfK1LqX5YgMwiys3DvhQ== | ||
"@web3-react/[email protected].36-beta.0": | ||
version "8.0.36-beta.0" | ||
resolved "https://registry.yarnpkg.com/@web3-react/walletconnect/-/walletconnect-8.0.36-beta.0.tgz#a0dbb5286b9011c6c221cc143322822a7387978f" | ||
integrity sha512-u+yNWCm8nz5pZn8SyU5+9pI5hakKcfhUF1TYwj7HVTTMHdMlLXhk19YyaycsFkgbX9zWzouItwxXF8obGt+rCg== | ||
dependencies: | ||
"@web3-react/types" "^8.0.20-beta.0" | ||
eventemitter3 "^4.0.7" | ||
|