diff --git a/advanced/dapps/react-dapp-v2/package.json b/advanced/dapps/react-dapp-v2/package.json
index 91c97bbfb..8f313da28 100644
--- a/advanced/dapps/react-dapp-v2/package.json
+++ b/advanced/dapps/react-dapp-v2/package.json
@@ -21,9 +21,9 @@
"@polkadot/util-crypto": "^10.1.2",
"@solana/web3.js": "^1.36.0",
"@walletconnect/encoding": "^1.0.1",
- "@walletconnect/sign-client": "2.12.1",
- "@walletconnect/types": "2.12.1",
- "@walletconnect/utils": "2.12.1",
+ "@walletconnect/sign-client": "2.13.0",
+ "@walletconnect/types": "2.13.0",
+ "@walletconnect/utils": "2.13.0",
"@web3modal/standalone": "2.4.3",
"axios": "^1.0.0",
"blockies-ts": "^1.0.0",
diff --git a/advanced/dapps/react-dapp-v2/yarn.lock b/advanced/dapps/react-dapp-v2/yarn.lock
index 7871ef258..bd0735341 100644
--- a/advanced/dapps/react-dapp-v2/yarn.lock
+++ b/advanced/dapps/react-dapp-v2/yarn.lock
@@ -2943,7 +2943,7 @@
"@stablelib/constant-time" "^1.0.1"
"@stablelib/wipe" "^1.0.1"
-"@stablelib/random@^1.0.1", "@stablelib/random@^1.0.2":
+"@stablelib/random@1.0.2", "@stablelib/random@^1.0.1", "@stablelib/random@^1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@stablelib/random/-/random-1.0.2.tgz#2dece393636489bf7e19c51229dd7900eddf742c"
integrity sha512-rIsE83Xpb7clHPVRlBj8qNe5L8ISQOzjghYQm/dZ7VaM2KHYwMW5adjQjrzTZCchFnNCNhkwtnOBa9HTMJCI8w==
@@ -2974,7 +2974,7 @@
resolved "https://registry.yarnpkg.com/@stablelib/wipe/-/wipe-1.0.1.tgz#d21401f1d59ade56a62e139462a97f104ed19a36"
integrity sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg==
-"@stablelib/x25519@^1.0.3":
+"@stablelib/x25519@1.0.3", "@stablelib/x25519@^1.0.3":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@stablelib/x25519/-/x25519-1.0.3.tgz#13c8174f774ea9f3e5e42213cbf9fc68a3c7b7fd"
integrity sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw==
@@ -3693,28 +3693,28 @@
"@typescript-eslint/types" "5.59.7"
eslint-visitor-keys "^3.3.0"
-"@walletconnect/core@2.12.1":
- version "2.12.1"
- resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.12.1.tgz#e905e42f6c2a5117a1166c1a1d35e40aa98e76d3"
- integrity sha512-CIxWNRNvmFNwn+8kPbKyBXS1JHBFJpDE8f73dXtUIElVnZhmXzEOSE5fug91EX57wTrv4/qW66H9kNB3c7Pp5g==
+"@walletconnect/core@2.13.0":
+ version "2.13.0"
+ resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.13.0.tgz#6b79b039930643e8ee85a0f512b143a35fdb8b52"
+ integrity sha512-blDuZxQenjeXcVJvHxPznTNl6c/2DO4VNrFnus+qHmO6OtT5lZRowdMtlCaCNb1q0OxzgrmBDcTOCbFcCpio/g==
dependencies:
- "@walletconnect/heartbeat" "1.2.1"
- "@walletconnect/jsonrpc-provider" "1.0.13"
- "@walletconnect/jsonrpc-types" "1.0.3"
+ "@walletconnect/heartbeat" "1.2.2"
+ "@walletconnect/jsonrpc-provider" "1.0.14"
+ "@walletconnect/jsonrpc-types" "1.0.4"
"@walletconnect/jsonrpc-utils" "1.0.8"
"@walletconnect/jsonrpc-ws-connection" "1.0.14"
- "@walletconnect/keyvaluestorage" "^1.1.1"
- "@walletconnect/logger" "^2.1.0"
- "@walletconnect/relay-api" "^1.0.9"
- "@walletconnect/relay-auth" "^1.0.4"
- "@walletconnect/safe-json" "^1.0.2"
- "@walletconnect/time" "^1.0.2"
- "@walletconnect/types" "2.12.1"
- "@walletconnect/utils" "2.12.1"
- events "^3.3.0"
+ "@walletconnect/keyvaluestorage" "1.1.1"
+ "@walletconnect/logger" "2.1.2"
+ "@walletconnect/relay-api" "1.0.10"
+ "@walletconnect/relay-auth" "1.0.4"
+ "@walletconnect/safe-json" "1.0.2"
+ "@walletconnect/time" "1.0.2"
+ "@walletconnect/types" "2.13.0"
+ "@walletconnect/utils" "2.13.0"
+ events "3.3.0"
isomorphic-unfetch "3.1.0"
lodash.isequal "4.5.0"
- uint8arrays "^3.1.0"
+ uint8arrays "3.1.0"
"@walletconnect/core@2.8.6":
version "2.8.6"
@@ -3754,7 +3754,7 @@
dependencies:
tslib "1.14.1"
-"@walletconnect/events@^1.0.1":
+"@walletconnect/events@1.0.1", "@walletconnect/events@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@walletconnect/events/-/events-1.0.1.tgz#2b5f9c7202019e229d7ccae1369a9e86bda7816c"
integrity sha512-NPTqaoi0oPBVNuLv7qPaJazmGHs5JGyO8eEAk5VGKmJzDR7AHzD4k6ilox5kxk1iwiOnFopBOOMLs86Oa76HpQ==
@@ -3771,6 +3771,15 @@
"@walletconnect/time" "^1.0.2"
tslib "1.14.1"
+"@walletconnect/heartbeat@1.2.2":
+ version "1.2.2"
+ resolved "https://registry.yarnpkg.com/@walletconnect/heartbeat/-/heartbeat-1.2.2.tgz#e8dc5179db7769950c6f9cf59b23516d9b95227d"
+ integrity sha512-uASiRmC5MwhuRuf05vq4AT48Pq8RMi876zV8rr8cV969uTOzWdB/k+Lj5yI2PBtB1bGQisGen7MM1GcZlQTBXw==
+ dependencies:
+ "@walletconnect/events" "^1.0.1"
+ "@walletconnect/time" "^1.0.2"
+ events "^3.3.0"
+
"@walletconnect/jsonrpc-provider@1.0.13":
version "1.0.13"
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.13.tgz#9a74da648d015e1fffc745f0c7d629457f53648b"
@@ -3780,6 +3789,15 @@
"@walletconnect/safe-json" "^1.0.2"
tslib "1.14.1"
+"@walletconnect/jsonrpc-provider@1.0.14":
+ version "1.0.14"
+ resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.14.tgz#696f3e3b6d728b361f2e8b853cfc6afbdf2e4e3e"
+ integrity sha512-rtsNY1XqHvWj0EtITNeuf8PHMvlCLiS3EjQL+WOkxEOA4KPxsohFnBDeyPYiNm4ZvkQdLnece36opYidmtbmow==
+ dependencies:
+ "@walletconnect/jsonrpc-utils" "^1.0.8"
+ "@walletconnect/safe-json" "^1.0.2"
+ events "^3.3.0"
+
"@walletconnect/jsonrpc-types@1.0.3", "@walletconnect/jsonrpc-types@^1.0.2", "@walletconnect/jsonrpc-types@^1.0.3":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.3.tgz#65e3b77046f1a7fa8347ae02bc1b841abe6f290c"
@@ -3788,6 +3806,14 @@
keyvaluestorage-interface "^1.0.0"
tslib "1.14.1"
+"@walletconnect/jsonrpc-types@1.0.4":
+ version "1.0.4"
+ resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.4.tgz#ce1a667d79eadf2a2d9d002c152ceb68739c230c"
+ integrity sha512-P6679fG/M+wuWg9TY8mh6xFSdYnFyFjwFelxyISxMDrlbXokorEVXYOxiqEbrU3x1BmBoCAJJ+vtEaEoMlpCBQ==
+ dependencies:
+ events "^3.3.0"
+ keyvaluestorage-interface "^1.0.0"
+
"@walletconnect/jsonrpc-utils@1.0.8", "@walletconnect/jsonrpc-utils@^1.0.6", "@walletconnect/jsonrpc-utils@^1.0.8":
version "1.0.8"
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.8.tgz#82d0cc6a5d6ff0ecc277cb35f71402c91ad48d72"
@@ -3818,6 +3844,15 @@
tslib "1.14.1"
ws "^7.5.1"
+"@walletconnect/keyvaluestorage@1.1.1":
+ version "1.1.1"
+ resolved "https://registry.yarnpkg.com/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.1.1.tgz#dd2caddabfbaf80f6b8993a0704d8b83115a1842"
+ integrity sha512-V7ZQq2+mSxAq7MrRqDxanTzu2RcElfK1PfNYiaVnJgJ7Q7G7hTVwF8voIBx92qsRyGHZihrwNPHuZd1aKkd0rA==
+ dependencies:
+ "@walletconnect/safe-json" "^1.0.1"
+ idb-keyval "^6.2.1"
+ unstorage "^1.9.0"
+
"@walletconnect/keyvaluestorage@^1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.0.2.tgz#92f5ca0f54c1a88a093778842ce0c874d86369c8"
@@ -3826,14 +3861,13 @@
safe-json-utils "^1.1.1"
tslib "1.14.1"
-"@walletconnect/keyvaluestorage@^1.1.1":
- version "1.1.1"
- resolved "https://registry.yarnpkg.com/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.1.1.tgz#dd2caddabfbaf80f6b8993a0704d8b83115a1842"
- integrity sha512-V7ZQq2+mSxAq7MrRqDxanTzu2RcElfK1PfNYiaVnJgJ7Q7G7hTVwF8voIBx92qsRyGHZihrwNPHuZd1aKkd0rA==
+"@walletconnect/logger@2.1.2":
+ version "2.1.2"
+ resolved "https://registry.yarnpkg.com/@walletconnect/logger/-/logger-2.1.2.tgz#813c9af61b96323a99f16c10089bfeb525e2a272"
+ integrity sha512-aAb28I3S6pYXZHQm5ESB+V6rDqIYfsnHaQyzFbwUUBFY4H0OXx/YtTl8lvhUNhMMfb9UxbwEBS253TlXUYJWSw==
dependencies:
- "@walletconnect/safe-json" "^1.0.1"
- idb-keyval "^6.2.1"
- unstorage "^1.9.0"
+ "@walletconnect/safe-json" "^1.0.2"
+ pino "7.11.0"
"@walletconnect/logger@^2.0.1":
version "2.0.1"
@@ -3843,13 +3877,12 @@
pino "7.11.0"
tslib "1.14.1"
-"@walletconnect/logger@^2.1.0":
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/@walletconnect/logger/-/logger-2.1.0.tgz#f00b919609a442f596b4eef2bae9c20a072692c0"
- integrity sha512-lyCRHlxlBHxvj1fJXa2YOW4whVNucPKF7Oc0D1UvYhfArpIIjlJJiTe5cLm8g4ZH4z5lKp14N/c9oRHlyv5v4A==
+"@walletconnect/relay-api@1.0.10":
+ version "1.0.10"
+ resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.10.tgz#5aef3cd07c21582b968136179aa75849dcc65499"
+ integrity sha512-tqrdd4zU9VBNqUaXXQASaexklv6A54yEyQQEXYOCr+Jz8Ket0dmPBDyg19LVSNUN2cipAghQc45/KVmfFJ0cYw==
dependencies:
- "@walletconnect/safe-json" "^1.0.2"
- pino "7.11.0"
+ "@walletconnect/jsonrpc-types" "^1.0.2"
"@walletconnect/relay-api@^1.0.9":
version "1.0.9"
@@ -3859,7 +3892,7 @@
"@walletconnect/jsonrpc-types" "^1.0.2"
tslib "1.14.1"
-"@walletconnect/relay-auth@^1.0.4":
+"@walletconnect/relay-auth@1.0.4", "@walletconnect/relay-auth@^1.0.4":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@walletconnect/relay-auth/-/relay-auth-1.0.4.tgz#0b5c55c9aa3b0ef61f526ce679f3ff8a5c4c2c7c"
integrity sha512-kKJcS6+WxYq5kshpPaxGHdwf5y98ZwbfuS4EE/NkQzqrDFm5Cj+dP8LofzWvjrrLkZq7Afy7WrQMXdLy8Sx7HQ==
@@ -3871,27 +3904,27 @@
tslib "1.14.1"
uint8arrays "^3.0.0"
-"@walletconnect/safe-json@^1.0.1", "@walletconnect/safe-json@^1.0.2":
+"@walletconnect/safe-json@1.0.2", "@walletconnect/safe-json@^1.0.1", "@walletconnect/safe-json@^1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.2.tgz#7237e5ca48046e4476154e503c6d3c914126fa77"
integrity sha512-Ogb7I27kZ3LPC3ibn8ldyUr5544t3/STow9+lzz7Sfo808YD7SBWk7SAsdBFlYgP2zDRy2hS3sKRcuSRM0OTmA==
dependencies:
tslib "1.14.1"
-"@walletconnect/sign-client@2.12.1":
- version "2.12.1"
- resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.12.1.tgz#a10f316f5681b7547db2714666a159574f31126f"
- integrity sha512-6PegtNZgqmOX2G022fyrHjyN3PW6Ov2GVFvG8f+80uqikEO3IAL3dgazlnUYtuaUNYs+Hx7sSvjNVanMiJsE1Q==
+"@walletconnect/sign-client@2.13.0":
+ version "2.13.0"
+ resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.13.0.tgz#f59993f082aec1ca5498b9519027e764c1e6d28b"
+ integrity sha512-En7KSvNUlQFx20IsYGsFgkNJ2lpvDvRsSFOT5PTdGskwCkUfOpB33SQJ6nCrN19gyoKPNvWg80Cy6MJI0TjNYA==
dependencies:
- "@walletconnect/core" "2.12.1"
- "@walletconnect/events" "^1.0.1"
- "@walletconnect/heartbeat" "1.2.1"
+ "@walletconnect/core" "2.13.0"
+ "@walletconnect/events" "1.0.1"
+ "@walletconnect/heartbeat" "1.2.2"
"@walletconnect/jsonrpc-utils" "1.0.8"
- "@walletconnect/logger" "^2.0.1"
- "@walletconnect/time" "^1.0.2"
- "@walletconnect/types" "2.12.1"
- "@walletconnect/utils" "2.12.1"
- events "^3.3.0"
+ "@walletconnect/logger" "2.1.2"
+ "@walletconnect/time" "1.0.2"
+ "@walletconnect/types" "2.13.0"
+ "@walletconnect/utils" "2.13.0"
+ events "3.3.0"
"@walletconnect/sign-client@~2.8.1":
version "2.8.6"
@@ -3908,24 +3941,24 @@
"@walletconnect/utils" "2.8.6"
events "^3.3.0"
-"@walletconnect/time@^1.0.2":
+"@walletconnect/time@1.0.2", "@walletconnect/time@^1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@walletconnect/time/-/time-1.0.2.tgz#6c5888b835750ecb4299d28eecc5e72c6d336523"
integrity sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g==
dependencies:
tslib "1.14.1"
-"@walletconnect/types@2.12.1":
- version "2.12.1"
- resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.12.1.tgz#a3cb49bdac43f5cff1d9543bcdbb65f75e19cacc"
- integrity sha512-mPzGj5ssgcOJKqwn8qsdCr+J9swsjTmDPAV10CghXIe3GGQKOb4noTUhOofb4LDbFaio1GBql8+Xfy+6bulobw==
+"@walletconnect/types@2.13.0":
+ version "2.13.0"
+ resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.13.0.tgz#cdac083651f5897084fe9ed62779f11810335ac6"
+ integrity sha512-MWaVT0FkZwzYbD3tvk8F+2qpPlz1LUSWHuqbINUtMXnSzJtXN49Y99fR7FuBhNFtDalfuWsEK17GrNA+KnAsPQ==
dependencies:
- "@walletconnect/events" "^1.0.1"
- "@walletconnect/heartbeat" "1.2.1"
- "@walletconnect/jsonrpc-types" "1.0.3"
- "@walletconnect/keyvaluestorage" "^1.1.1"
- "@walletconnect/logger" "^2.0.1"
- events "^3.3.0"
+ "@walletconnect/events" "1.0.1"
+ "@walletconnect/heartbeat" "1.2.2"
+ "@walletconnect/jsonrpc-types" "1.0.4"
+ "@walletconnect/keyvaluestorage" "1.1.1"
+ "@walletconnect/logger" "2.1.2"
+ events "3.3.0"
"@walletconnect/types@2.8.6", "@walletconnect/types@~2.8.1":
version "2.8.6"
@@ -3939,25 +3972,25 @@
"@walletconnect/logger" "^2.0.1"
events "^3.3.0"
-"@walletconnect/utils@2.12.1":
- version "2.12.1"
- resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.12.1.tgz#5fced674e0a732eb62f30391943e79abbf3d5d1f"
- integrity sha512-v2Oc8mTb+3y8MW94Rnj9hxVjJU3wdnE1g8eLZXmcNf7zAvsm1iJPtHl7ZxZsjpVpo1Vg79Oo1rS9gWq9z0kKKw==
+"@walletconnect/utils@2.13.0":
+ version "2.13.0"
+ resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.13.0.tgz#1fc1fbff0d26db0830e65d1ba8cfe1a13a0616ad"
+ integrity sha512-q1eDCsRHj5iLe7fF8RroGoPZpdo2CYMZzQSrw1iqL+2+GOeqapxxuJ1vaJkmDUkwgklfB22ufqG6KQnz78sD4w==
dependencies:
"@stablelib/chacha20poly1305" "1.0.1"
"@stablelib/hkdf" "1.0.1"
- "@stablelib/random" "^1.0.2"
+ "@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.12.1"
- "@walletconnect/window-getters" "^1.0.1"
- "@walletconnect/window-metadata" "^1.0.1"
+ "@stablelib/x25519" "1.0.3"
+ "@walletconnect/relay-api" "1.0.10"
+ "@walletconnect/safe-json" "1.0.2"
+ "@walletconnect/time" "1.0.2"
+ "@walletconnect/types" "2.13.0"
+ "@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.0"
+ uint8arrays "3.1.0"
"@walletconnect/utils@2.8.6":
version "2.8.6"
@@ -3979,14 +4012,14 @@
query-string "7.1.3"
uint8arrays "^3.1.0"
-"@walletconnect/window-getters@^1.0.1":
+"@walletconnect/window-getters@1.0.1", "@walletconnect/window-getters@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.1.tgz#f36d1c72558a7f6b87ecc4451fc8bd44f63cbbdc"
integrity sha512-vHp+HqzGxORPAN8gY03qnbTMnhqIwjeRJNOMOAzePRg4xVEEE2WvYsI9G2NMjOknA8hnuYbU3/hwLcKbjhc8+Q==
dependencies:
tslib "1.14.1"
-"@walletconnect/window-metadata@^1.0.1":
+"@walletconnect/window-metadata@1.0.1", "@walletconnect/window-metadata@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@walletconnect/window-metadata/-/window-metadata-1.0.1.tgz#2124f75447b7e989e4e4e1581d55d25bc75f7be5"
integrity sha512-9koTqyGrM2cqFRW517BPY/iEtUDx2r1+Pwwu5m7sJ7ka79wi3EyqhqcICk/yDmv6jAS1rjKgTKXlEhanYjijcA==
@@ -7718,7 +7751,7 @@ eventemitter3@^4.0.0, eventemitter3@^4.0.7:
resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f"
integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==
-events@^3.0.0, events@^3.3.0:
+events@3.3.0, events@^3.0.0, events@^3.3.0:
version "3.3.0"
resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400"
integrity sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==
@@ -15436,6 +15469,13 @@ ufo@^1.3.0, ufo@^1.3.1, ufo@^1.3.2:
resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.4.0.tgz#39845b31be81b4f319ab1d99fd20c56cac528d32"
integrity sha512-Hhy+BhRBleFjpJ2vchUNN40qgkh0366FWJGqVLYBHev0vpHTrXSA0ryT+74UiW6KWsldNurQMKGqCm1M2zBciQ==
+uint8arrays@3.1.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/uint8arrays/-/uint8arrays-3.1.0.tgz#8186b8eafce68f28bd29bd29d683a311778901e2"
+ integrity sha512-ei5rfKtoRO8OyOIor2Rz5fhzjThwIHJZ3uyDPnDHTXbP0aMQ1RN/6AI5B5d9dBxJOU+BvOAk7ZQ1xphsX8Lrog==
+ dependencies:
+ multiformats "^9.4.2"
+
uint8arrays@^3.0.0, uint8arrays@^3.1.0:
version "3.1.1"
resolved "https://registry.yarnpkg.com/uint8arrays/-/uint8arrays-3.1.1.tgz#2d8762acce159ccd9936057572dade9459f65ae0"
diff --git a/advanced/wallets/react-wallet-v2/package.json b/advanced/wallets/react-wallet-v2/package.json
index 2011ae77a..188f7683f 100644
--- a/advanced/wallets/react-wallet-v2/package.json
+++ b/advanced/wallets/react-wallet-v2/package.json
@@ -32,7 +32,7 @@
"@taquito/signer": "^15.1.0",
"@taquito/taquito": "^15.1.0",
"@types/semver": "^7.5.8",
- "@walletconnect/web3wallet": "1.11.1",
+ "@walletconnect/web3wallet": "1.12.0",
"@zerodev/ecdsa-validator": "5.2.3",
"@zerodev/presets": "5.2.2",
"@zerodev/sdk": "5.2.11",
diff --git a/advanced/wallets/react-wallet-v2/src/components/Modal.tsx b/advanced/wallets/react-wallet-v2/src/components/Modal.tsx
index 22b247a29..e26c56a5e 100644
--- a/advanced/wallets/react-wallet-v2/src/components/Modal.tsx
+++ b/advanced/wallets/react-wallet-v2/src/components/Modal.tsx
@@ -18,6 +18,7 @@ import { useSnapshot } from 'valtio'
import { useCallback, useMemo } from 'react'
import AuthRequestModal from '@/views/AuthRequestModal'
import LoadingModal from '@/views/LoadingModal'
+import SessionAuthenticateModal from '@/views/SessionAuthenticateModal'
export default function Modal() {
const { open, view } = useSnapshot(ModalStore.state)
@@ -62,6 +63,8 @@ export default function Modal() {
return
case 'LoadingModal':
return
+ case 'SessionAuthenticateModal':
+ return
default:
return null
}
diff --git a/advanced/wallets/react-wallet-v2/src/hooks/useWalletConnectEventsManager.ts b/advanced/wallets/react-wallet-v2/src/hooks/useWalletConnectEventsManager.ts
index eb6749385..f079856c5 100644
--- a/advanced/wallets/react-wallet-v2/src/hooks/useWalletConnectEventsManager.ts
+++ b/advanced/wallets/react-wallet-v2/src/hooks/useWalletConnectEventsManager.ts
@@ -146,6 +146,13 @@ export default function useWalletConnectEventsManager(initialized: boolean) {
[]
)
+ const onSessionAuthenticate = useCallback(
+ (authRequest: SignClientTypes.EventArguments['session_authenticate']) => {
+ ModalStore.open('SessionAuthenticateModal', { authRequest })
+ },
+ []
+ )
+
/******************************************************************************
* Set up WalletConnect event listeners
*****************************************************************************/
@@ -162,6 +169,7 @@ export default function useWalletConnectEventsManager(initialized: boolean) {
console.log('session_delete event received', data)
SettingsStore.setSessions(Object.values(web3wallet.getActiveSessions()))
})
+ web3wallet.on('session_authenticate', onSessionAuthenticate)
// load sessions on init
SettingsStore.setSessions(Object.values(web3wallet.getActiveSessions()))
}
diff --git a/advanced/wallets/react-wallet-v2/src/store/ModalStore.ts b/advanced/wallets/react-wallet-v2/src/store/ModalStore.ts
index 31be7035f..4a7e6576f 100644
--- a/advanced/wallets/react-wallet-v2/src/store/ModalStore.ts
+++ b/advanced/wallets/react-wallet-v2/src/store/ModalStore.ts
@@ -11,6 +11,7 @@ interface ModalData {
requestSession?: SessionTypes.Struct
request?: Web3WalletTypes.AuthRequest
loadingMessage?: string
+ authRequest?: SignClientTypes.EventArguments['session_authenticate']
}
interface State {
@@ -31,6 +32,7 @@ interface State {
| 'SessionSignTezosModal'
| 'SessionSignKadenaModal'
| 'AuthRequestModal'
+ | 'SessionAuthenticateModal'
| 'LoadingModal'
data?: ModalData
}
diff --git a/advanced/wallets/react-wallet-v2/src/views/SessionAuthenticateModal.tsx b/advanced/wallets/react-wallet-v2/src/views/SessionAuthenticateModal.tsx
new file mode 100644
index 000000000..126e8dc2d
--- /dev/null
+++ b/advanced/wallets/react-wallet-v2/src/views/SessionAuthenticateModal.tsx
@@ -0,0 +1,164 @@
+import { Fragment, useCallback, useEffect, useMemo, useState } from 'react'
+import { useSnapshot } from 'valtio'
+import { Col, Divider, Row, Text, Code, Checkbox, Grid } from '@nextui-org/react'
+import { buildAuthObject, getSdkError, populateAuthPayload } from '@walletconnect/utils'
+
+import ModalFooter from '@/components/ModalFooter'
+import ProjectInfoCard from '@/components/ProjectInfoCard'
+import RequestModalContainer from '@/components/RequestModalContainer'
+import VerifyInfobox from '@/components/VerifyInfobox'
+import ModalStore from '@/store/ModalStore'
+import SettingsStore from '@/store/SettingsStore'
+import { eip155Addresses, eip155Wallets } from '@/utils/EIP155WalletUtil'
+import { web3wallet } from '@/utils/WalletConnectUtil'
+import RequestModal from './RequestModal'
+import { EIP155_CHAINS, EIP155_SIGNING_METHODS } from '@/data/EIP155Data'
+import { styledToast } from '@/utils/HelperUtil'
+
+export default function SessionAuthenticateModal() {
+ // Get request and wallet data from store
+ const authRequest = ModalStore.state.data?.authRequest
+
+ const { account } = useSnapshot(SettingsStore.state)
+ const [messages, setMessages] = useState<
+ { authPayload: any; message: string; id: number; iss: string }[]
+ >([])
+ const [supportedChains] = useState(Object.keys(EIP155_CHAINS))
+ const [supportedMethods] = useState(Object.values(EIP155_SIGNING_METHODS))
+ const [signStrategy, setSignStrategy] = useState(1)
+ // Ensure request and wallet are defined
+
+ const address = eip155Addresses[account]
+
+ // eslint-disable-next-line react-hooks/rules-of-hooks
+ const getMessageToSign = useCallback(
+ (authPayload, iss) => {
+ const message = web3wallet.engine.signClient.formatAuthMessage({
+ request: authPayload,
+ iss
+ })
+ console.log('message', message)
+ return message
+ },
+ [address]
+ )
+
+ useEffect(() => {
+ if (!authRequest?.params?.authPayload) return
+ console.log('authRequest', authRequest)
+ console.log('supportedChains', supportedChains)
+ const newAuthPayload = populateAuthPayload({
+ authPayload: authRequest?.params?.authPayload,
+ chains: supportedChains,
+ methods: supportedMethods
+ })
+
+ if (signStrategy === 1) {
+ try {
+ console.log('newAuthPayload', newAuthPayload)
+ const iss = `${newAuthPayload.chains[0]}:${address}`
+ const message = getMessageToSign(newAuthPayload, iss)
+ setMessages([
+ {
+ authPayload: newAuthPayload,
+ message,
+ id: authRequest.id,
+ iss
+ }
+ ])
+ } catch (e) {
+ console.log('error', e)
+ styledToast((e as Error).message, 'error')
+ ModalStore.close()
+ }
+ } else if (signStrategy === 2) {
+ const messagesToSign: any[] = []
+ newAuthPayload.chains.forEach((chain: string) => {
+ const iss = `${chain}:${address}`
+ const message = web3wallet.engine.signClient.formatAuthMessage({
+ request: newAuthPayload,
+ iss
+ })
+ messagesToSign.push({
+ authPayload: newAuthPayload,
+ message,
+ iss,
+ id: authRequest.id
+ })
+ })
+ setMessages(messagesToSign)
+ }
+ }, [address, authRequest, getMessageToSign, signStrategy, supportedChains, supportedMethods])
+
+ // Handle approve action (logic varies based on request method)
+ const onApprove = useCallback(async () => {
+ if (messages.length) {
+ const signedAuths = []
+ for (const message of messages) {
+ const signature = await eip155Wallets[address].signMessage(message.message)
+ const signedCacao = buildAuthObject(
+ message.authPayload,
+ {
+ t: 'eip191',
+ s: signature
+ },
+ message.iss
+ )
+ signedAuths.push(signedCacao)
+ }
+
+ await web3wallet.engine.signClient.approveSessionAuthenticate({
+ id: messages[0].id,
+ auths: signedAuths
+ })
+
+ ModalStore.close()
+ }
+ }, [address, messages])
+
+ // Handle reject action
+ const onReject = useCallback(async () => {
+ if (authRequest?.params?.authPayload) {
+ await web3wallet.engine.signClient.rejectSessionAuthenticate({
+ id: authRequest.id,
+ reason: getSdkError('USER_REJECTED')
+ })
+ ModalStore.close()
+ }
+ }, [authRequest])
+
+ return (
+
+
+
+ setSignStrategy(1)} checked={signStrategy === 1}>
+ Sign One
+
+
+
+ setSignStrategy(2)} checked={signStrategy === 2}>
+ Sign All
+
+
+
+
+
+ Messages to Sign ({messages.length})
+ {messages.map((message, index) => {
+ console.log('@loop messageToSign', message)
+ return (
+
+ {message.message}
+
+ )
+ })}
+
+
+
+ )
+}
diff --git a/advanced/wallets/react-wallet-v2/yarn.lock b/advanced/wallets/react-wallet-v2/yarn.lock
index 5b86a6d5f..92dfb7dcd 100644
--- a/advanced/wallets/react-wallet-v2/yarn.lock
+++ b/advanced/wallets/react-wallet-v2/yarn.lock
@@ -2285,7 +2285,7 @@
"@stablelib/constant-time" "^1.0.1"
"@stablelib/wipe" "^1.0.1"
-"@stablelib/random@^1.0.1", "@stablelib/random@^1.0.2":
+"@stablelib/random@1.0.2", "@stablelib/random@^1.0.1", "@stablelib/random@^1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@stablelib/random/-/random-1.0.2.tgz#2dece393636489bf7e19c51229dd7900eddf742c"
integrity sha512-rIsE83Xpb7clHPVRlBj8qNe5L8ISQOzjghYQm/dZ7VaM2KHYwMW5adjQjrzTZCchFnNCNhkwtnOBa9HTMJCI8w==
@@ -2325,7 +2325,7 @@
resolved "https://registry.yarnpkg.com/@stablelib/wipe/-/wipe-1.0.1.tgz#d21401f1d59ade56a62e139462a97f104ed19a36"
integrity sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg==
-"@stablelib/x25519@^1.0.3":
+"@stablelib/x25519@1.0.3", "@stablelib/x25519@^1.0.3":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@stablelib/x25519/-/x25519-1.0.3.tgz#13c8174f774ea9f3e5e42213cbf9fc68a3c7b7fd"
integrity sha512-KnTbKmUhPhHavzobclVJQG5kuivH+qDLpe84iRqX3CLrKp881cF160JvXJ+hjn1aMyCwYOKeIZefIH/P5cJoRw==
@@ -2662,28 +2662,28 @@
events "^3.3.0"
isomorphic-unfetch "^3.1.0"
-"@walletconnect/core@2.12.1":
- version "2.12.1"
- resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.12.1.tgz#e905e42f6c2a5117a1166c1a1d35e40aa98e76d3"
- integrity sha512-CIxWNRNvmFNwn+8kPbKyBXS1JHBFJpDE8f73dXtUIElVnZhmXzEOSE5fug91EX57wTrv4/qW66H9kNB3c7Pp5g==
+"@walletconnect/core@2.13.0":
+ version "2.13.0"
+ resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.13.0.tgz#6b79b039930643e8ee85a0f512b143a35fdb8b52"
+ integrity sha512-blDuZxQenjeXcVJvHxPznTNl6c/2DO4VNrFnus+qHmO6OtT5lZRowdMtlCaCNb1q0OxzgrmBDcTOCbFcCpio/g==
dependencies:
- "@walletconnect/heartbeat" "1.2.1"
- "@walletconnect/jsonrpc-provider" "1.0.13"
- "@walletconnect/jsonrpc-types" "1.0.3"
+ "@walletconnect/heartbeat" "1.2.2"
+ "@walletconnect/jsonrpc-provider" "1.0.14"
+ "@walletconnect/jsonrpc-types" "1.0.4"
"@walletconnect/jsonrpc-utils" "1.0.8"
"@walletconnect/jsonrpc-ws-connection" "1.0.14"
- "@walletconnect/keyvaluestorage" "^1.1.1"
- "@walletconnect/logger" "^2.1.0"
- "@walletconnect/relay-api" "^1.0.9"
- "@walletconnect/relay-auth" "^1.0.4"
- "@walletconnect/safe-json" "^1.0.2"
- "@walletconnect/time" "^1.0.2"
- "@walletconnect/types" "2.12.1"
- "@walletconnect/utils" "2.12.1"
- events "^3.3.0"
+ "@walletconnect/keyvaluestorage" "1.1.1"
+ "@walletconnect/logger" "2.1.2"
+ "@walletconnect/relay-api" "1.0.10"
+ "@walletconnect/relay-auth" "1.0.4"
+ "@walletconnect/safe-json" "1.0.2"
+ "@walletconnect/time" "1.0.2"
+ "@walletconnect/types" "2.13.0"
+ "@walletconnect/utils" "2.13.0"
+ events "3.3.0"
isomorphic-unfetch "3.1.0"
lodash.isequal "4.5.0"
- uint8arrays "^3.1.0"
+ uint8arrays "3.1.0"
"@walletconnect/core@^2.10.1":
version "2.10.6"
@@ -2714,7 +2714,7 @@
dependencies:
tslib "1.14.1"
-"@walletconnect/events@^1.0.1":
+"@walletconnect/events@1.0.1", "@walletconnect/events@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@walletconnect/events/-/events-1.0.1.tgz#2b5f9c7202019e229d7ccae1369a9e86bda7816c"
integrity sha512-NPTqaoi0oPBVNuLv7qPaJazmGHs5JGyO8eEAk5VGKmJzDR7AHzD4k6ilox5kxk1iwiOnFopBOOMLs86Oa76HpQ==
@@ -2731,6 +2731,15 @@
"@walletconnect/time" "^1.0.2"
tslib "1.14.1"
+"@walletconnect/heartbeat@1.2.2":
+ version "1.2.2"
+ resolved "https://registry.yarnpkg.com/@walletconnect/heartbeat/-/heartbeat-1.2.2.tgz#e8dc5179db7769950c6f9cf59b23516d9b95227d"
+ integrity sha512-uASiRmC5MwhuRuf05vq4AT48Pq8RMi876zV8rr8cV969uTOzWdB/k+Lj5yI2PBtB1bGQisGen7MM1GcZlQTBXw==
+ dependencies:
+ "@walletconnect/events" "^1.0.1"
+ "@walletconnect/time" "^1.0.2"
+ events "^3.3.0"
+
"@walletconnect/jsonrpc-provider@1.0.13":
version "1.0.13"
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.13.tgz#9a74da648d015e1fffc745f0c7d629457f53648b"
@@ -2740,6 +2749,15 @@
"@walletconnect/safe-json" "^1.0.2"
tslib "1.14.1"
+"@walletconnect/jsonrpc-provider@1.0.14":
+ version "1.0.14"
+ resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.14.tgz#696f3e3b6d728b361f2e8b853cfc6afbdf2e4e3e"
+ integrity sha512-rtsNY1XqHvWj0EtITNeuf8PHMvlCLiS3EjQL+WOkxEOA4KPxsohFnBDeyPYiNm4ZvkQdLnece36opYidmtbmow==
+ dependencies:
+ "@walletconnect/jsonrpc-utils" "^1.0.8"
+ "@walletconnect/safe-json" "^1.0.2"
+ events "^3.3.0"
+
"@walletconnect/jsonrpc-types@1.0.3", "@walletconnect/jsonrpc-types@^1.0.2", "@walletconnect/jsonrpc-types@^1.0.3":
version "1.0.3"
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.3.tgz#65e3b77046f1a7fa8347ae02bc1b841abe6f290c"
@@ -2748,6 +2766,14 @@
keyvaluestorage-interface "^1.0.0"
tslib "1.14.1"
+"@walletconnect/jsonrpc-types@1.0.4":
+ version "1.0.4"
+ resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-types/-/jsonrpc-types-1.0.4.tgz#ce1a667d79eadf2a2d9d002c152ceb68739c230c"
+ integrity sha512-P6679fG/M+wuWg9TY8mh6xFSdYnFyFjwFelxyISxMDrlbXokorEVXYOxiqEbrU3x1BmBoCAJJ+vtEaEoMlpCBQ==
+ dependencies:
+ events "^3.3.0"
+ keyvaluestorage-interface "^1.0.0"
+
"@walletconnect/jsonrpc-utils@1.0.8", "@walletconnect/jsonrpc-utils@^1.0.6", "@walletconnect/jsonrpc-utils@^1.0.8":
version "1.0.8"
resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-utils/-/jsonrpc-utils-1.0.8.tgz#82d0cc6a5d6ff0ecc277cb35f71402c91ad48d72"
@@ -2767,7 +2793,7 @@
events "^3.3.0"
ws "^7.5.1"
-"@walletconnect/keyvaluestorage@^1.1.1":
+"@walletconnect/keyvaluestorage@1.1.1", "@walletconnect/keyvaluestorage@^1.1.1":
version "1.1.1"
resolved "https://registry.yarnpkg.com/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.1.1.tgz#dd2caddabfbaf80f6b8993a0704d8b83115a1842"
integrity sha512-V7ZQq2+mSxAq7MrRqDxanTzu2RcElfK1PfNYiaVnJgJ7Q7G7hTVwF8voIBx92qsRyGHZihrwNPHuZd1aKkd0rA==
@@ -2776,7 +2802,15 @@
idb-keyval "^6.2.1"
unstorage "^1.9.0"
-"@walletconnect/logger@2.0.1", "@walletconnect/logger@^2.0.1":
+"@walletconnect/logger@2.1.2":
+ version "2.1.2"
+ resolved "https://registry.yarnpkg.com/@walletconnect/logger/-/logger-2.1.2.tgz#813c9af61b96323a99f16c10089bfeb525e2a272"
+ integrity sha512-aAb28I3S6pYXZHQm5ESB+V6rDqIYfsnHaQyzFbwUUBFY4H0OXx/YtTl8lvhUNhMMfb9UxbwEBS253TlXUYJWSw==
+ dependencies:
+ "@walletconnect/safe-json" "^1.0.2"
+ pino "7.11.0"
+
+"@walletconnect/logger@^2.0.1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@walletconnect/logger/-/logger-2.0.1.tgz#7f489b96e9a1ff6bf3e58f0fbd6d69718bf844a8"
integrity sha512-SsTKdsgWm+oDTBeNE/zHxxr5eJfZmE9/5yp/Ku+zJtcTAjELb3DXueWkDXmE9h8uHIbJzIb5wj5lPdzyrjT6hQ==
@@ -2784,13 +2818,12 @@
pino "7.11.0"
tslib "1.14.1"
-"@walletconnect/logger@^2.1.0":
- version "2.1.0"
- resolved "https://registry.yarnpkg.com/@walletconnect/logger/-/logger-2.1.0.tgz#f00b919609a442f596b4eef2bae9c20a072692c0"
- integrity sha512-lyCRHlxlBHxvj1fJXa2YOW4whVNucPKF7Oc0D1UvYhfArpIIjlJJiTe5cLm8g4ZH4z5lKp14N/c9oRHlyv5v4A==
+"@walletconnect/relay-api@1.0.10":
+ version "1.0.10"
+ resolved "https://registry.yarnpkg.com/@walletconnect/relay-api/-/relay-api-1.0.10.tgz#5aef3cd07c21582b968136179aa75849dcc65499"
+ integrity sha512-tqrdd4zU9VBNqUaXXQASaexklv6A54yEyQQEXYOCr+Jz8Ket0dmPBDyg19LVSNUN2cipAghQc45/KVmfFJ0cYw==
dependencies:
- "@walletconnect/safe-json" "^1.0.2"
- pino "7.11.0"
+ "@walletconnect/jsonrpc-types" "^1.0.2"
"@walletconnect/relay-api@^1.0.9":
version "1.0.9"
@@ -2800,7 +2833,7 @@
"@walletconnect/jsonrpc-types" "^1.0.2"
tslib "1.14.1"
-"@walletconnect/relay-auth@^1.0.4":
+"@walletconnect/relay-auth@1.0.4", "@walletconnect/relay-auth@^1.0.4":
version "1.0.4"
resolved "https://registry.yarnpkg.com/@walletconnect/relay-auth/-/relay-auth-1.0.4.tgz#0b5c55c9aa3b0ef61f526ce679f3ff8a5c4c2c7c"
integrity sha512-kKJcS6+WxYq5kshpPaxGHdwf5y98ZwbfuS4EE/NkQzqrDFm5Cj+dP8LofzWvjrrLkZq7Afy7WrQMXdLy8Sx7HQ==
@@ -2812,29 +2845,29 @@
tslib "1.14.1"
uint8arrays "^3.0.0"
-"@walletconnect/safe-json@^1.0.1", "@walletconnect/safe-json@^1.0.2":
+"@walletconnect/safe-json@1.0.2", "@walletconnect/safe-json@^1.0.1", "@walletconnect/safe-json@^1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.2.tgz#7237e5ca48046e4476154e503c6d3c914126fa77"
integrity sha512-Ogb7I27kZ3LPC3ibn8ldyUr5544t3/STow9+lzz7Sfo808YD7SBWk7SAsdBFlYgP2zDRy2hS3sKRcuSRM0OTmA==
dependencies:
tslib "1.14.1"
-"@walletconnect/sign-client@2.12.1":
- version "2.12.1"
- resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.12.1.tgz#a10f316f5681b7547db2714666a159574f31126f"
- integrity sha512-6PegtNZgqmOX2G022fyrHjyN3PW6Ov2GVFvG8f+80uqikEO3IAL3dgazlnUYtuaUNYs+Hx7sSvjNVanMiJsE1Q==
+"@walletconnect/sign-client@2.13.0":
+ version "2.13.0"
+ resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.13.0.tgz#f59993f082aec1ca5498b9519027e764c1e6d28b"
+ integrity sha512-En7KSvNUlQFx20IsYGsFgkNJ2lpvDvRsSFOT5PTdGskwCkUfOpB33SQJ6nCrN19gyoKPNvWg80Cy6MJI0TjNYA==
dependencies:
- "@walletconnect/core" "2.12.1"
- "@walletconnect/events" "^1.0.1"
- "@walletconnect/heartbeat" "1.2.1"
+ "@walletconnect/core" "2.13.0"
+ "@walletconnect/events" "1.0.1"
+ "@walletconnect/heartbeat" "1.2.2"
"@walletconnect/jsonrpc-utils" "1.0.8"
- "@walletconnect/logger" "^2.0.1"
- "@walletconnect/time" "^1.0.2"
- "@walletconnect/types" "2.12.1"
- "@walletconnect/utils" "2.12.1"
- events "^3.3.0"
+ "@walletconnect/logger" "2.1.2"
+ "@walletconnect/time" "1.0.2"
+ "@walletconnect/types" "2.13.0"
+ "@walletconnect/utils" "2.13.0"
+ events "3.3.0"
-"@walletconnect/time@^1.0.2":
+"@walletconnect/time@1.0.2", "@walletconnect/time@^1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@walletconnect/time/-/time-1.0.2.tgz#6c5888b835750ecb4299d28eecc5e72c6d336523"
integrity sha512-uzdd9woDcJ1AaBZRhqy5rNC9laqWGErfc4dxA9a87mPdKOgWMD85mcFo9dIYIts/Jwocfwn07EC6EzclKubk/g==
@@ -2853,17 +2886,17 @@
"@walletconnect/logger" "^2.0.1"
events "^3.3.0"
-"@walletconnect/types@2.12.1":
- version "2.12.1"
- resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.12.1.tgz#a3cb49bdac43f5cff1d9543bcdbb65f75e19cacc"
- integrity sha512-mPzGj5ssgcOJKqwn8qsdCr+J9swsjTmDPAV10CghXIe3GGQKOb4noTUhOofb4LDbFaio1GBql8+Xfy+6bulobw==
+"@walletconnect/types@2.13.0":
+ version "2.13.0"
+ resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.13.0.tgz#cdac083651f5897084fe9ed62779f11810335ac6"
+ integrity sha512-MWaVT0FkZwzYbD3tvk8F+2qpPlz1LUSWHuqbINUtMXnSzJtXN49Y99fR7FuBhNFtDalfuWsEK17GrNA+KnAsPQ==
dependencies:
- "@walletconnect/events" "^1.0.1"
- "@walletconnect/heartbeat" "1.2.1"
- "@walletconnect/jsonrpc-types" "1.0.3"
- "@walletconnect/keyvaluestorage" "^1.1.1"
- "@walletconnect/logger" "^2.0.1"
- events "^3.3.0"
+ "@walletconnect/events" "1.0.1"
+ "@walletconnect/heartbeat" "1.2.2"
+ "@walletconnect/jsonrpc-types" "1.0.4"
+ "@walletconnect/keyvaluestorage" "1.1.1"
+ "@walletconnect/logger" "2.1.2"
+ events "3.3.0"
"@walletconnect/utils@2.10.6", "@walletconnect/utils@^2.10.1":
version "2.10.6"
@@ -2885,48 +2918,48 @@
query-string "7.1.3"
uint8arrays "^3.1.0"
-"@walletconnect/utils@2.12.1":
- version "2.12.1"
- resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.12.1.tgz#5fced674e0a732eb62f30391943e79abbf3d5d1f"
- integrity sha512-v2Oc8mTb+3y8MW94Rnj9hxVjJU3wdnE1g8eLZXmcNf7zAvsm1iJPtHl7ZxZsjpVpo1Vg79Oo1rS9gWq9z0kKKw==
+"@walletconnect/utils@2.13.0":
+ version "2.13.0"
+ resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.13.0.tgz#1fc1fbff0d26db0830e65d1ba8cfe1a13a0616ad"
+ integrity sha512-q1eDCsRHj5iLe7fF8RroGoPZpdo2CYMZzQSrw1iqL+2+GOeqapxxuJ1vaJkmDUkwgklfB22ufqG6KQnz78sD4w==
dependencies:
"@stablelib/chacha20poly1305" "1.0.1"
"@stablelib/hkdf" "1.0.1"
- "@stablelib/random" "^1.0.2"
+ "@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.12.1"
- "@walletconnect/window-getters" "^1.0.1"
- "@walletconnect/window-metadata" "^1.0.1"
+ "@stablelib/x25519" "1.0.3"
+ "@walletconnect/relay-api" "1.0.10"
+ "@walletconnect/safe-json" "1.0.2"
+ "@walletconnect/time" "1.0.2"
+ "@walletconnect/types" "2.13.0"
+ "@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.0"
+ uint8arrays "3.1.0"
-"@walletconnect/web3wallet@1.11.1":
- version "1.11.1"
- resolved "https://registry.yarnpkg.com/@walletconnect/web3wallet/-/web3wallet-1.11.1.tgz#0716f493e0fa3923938ed0e31dffe275bff1c3bf"
- integrity sha512-R50v3Ez73cLEaXPJOGMEBeEw5xN8/V6tya7+49OqwLLlZ6VR3tdJm8Az8TrvTrbRZ38oXP0cIl9ky+bSMCJtYw==
+"@walletconnect/web3wallet@1.12.0":
+ version "1.12.0"
+ resolved "https://registry.yarnpkg.com/@walletconnect/web3wallet/-/web3wallet-1.12.0.tgz#bac10a755ddf23aacf4775c0be04b4d9df145536"
+ integrity sha512-u+krMeatqnlm086fG+587pHide9LOGd8gATA0EGYNnc7nVUWc3+xjhKR8C7YcWNBTGOH0cWdh/OFWMzUPnHGtw==
dependencies:
"@walletconnect/auth-client" "2.1.2"
- "@walletconnect/core" "2.12.1"
- "@walletconnect/jsonrpc-provider" "1.0.13"
+ "@walletconnect/core" "2.13.0"
+ "@walletconnect/jsonrpc-provider" "1.0.14"
"@walletconnect/jsonrpc-utils" "1.0.8"
- "@walletconnect/logger" "2.0.1"
- "@walletconnect/sign-client" "2.12.1"
- "@walletconnect/types" "2.12.1"
- "@walletconnect/utils" "2.12.1"
+ "@walletconnect/logger" "2.1.2"
+ "@walletconnect/sign-client" "2.13.0"
+ "@walletconnect/types" "2.13.0"
+ "@walletconnect/utils" "2.13.0"
-"@walletconnect/window-getters@^1.0.1":
+"@walletconnect/window-getters@1.0.1", "@walletconnect/window-getters@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.1.tgz#f36d1c72558a7f6b87ecc4451fc8bd44f63cbbdc"
integrity sha512-vHp+HqzGxORPAN8gY03qnbTMnhqIwjeRJNOMOAzePRg4xVEEE2WvYsI9G2NMjOknA8hnuYbU3/hwLcKbjhc8+Q==
dependencies:
tslib "1.14.1"
-"@walletconnect/window-metadata@^1.0.1":
+"@walletconnect/window-metadata@1.0.1", "@walletconnect/window-metadata@^1.0.1":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@walletconnect/window-metadata/-/window-metadata-1.0.1.tgz#2124f75447b7e989e4e4e1581d55d25bc75f7be5"
integrity sha512-9koTqyGrM2cqFRW517BPY/iEtUDx2r1+Pwwu5m7sJ7ka79wi3EyqhqcICk/yDmv6jAS1rjKgTKXlEhanYjijcA==
@@ -6869,6 +6902,13 @@ ufo@^1.3.0, ufo@^1.3.1, ufo@^1.3.2:
resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.3.2.tgz#c7d719d0628a1c80c006d2240e0d169f6e3c0496"
integrity sha512-o+ORpgGwaYQXgqGDwd+hkS4PuZ3QnmqMMxRuajK/a38L6fTpcE5GPIfrf+L/KemFzfUpeUQc1rRS1iDBozvnFA==
+uint8arrays@3.1.0:
+ version "3.1.0"
+ resolved "https://registry.yarnpkg.com/uint8arrays/-/uint8arrays-3.1.0.tgz#8186b8eafce68f28bd29bd29d683a311778901e2"
+ integrity sha512-ei5rfKtoRO8OyOIor2Rz5fhzjThwIHJZ3uyDPnDHTXbP0aMQ1RN/6AI5B5d9dBxJOU+BvOAk7ZQ1xphsX8Lrog==
+ dependencies:
+ multiformats "^9.4.2"
+
uint8arrays@^3.0.0, uint8arrays@^3.1.0:
version "3.1.1"
resolved "https://registry.yarnpkg.com/uint8arrays/-/uint8arrays-3.1.1.tgz#2d8762acce159ccd9936057572dade9459f65ae0"