chore(deps): replaces legacy-modal
dep with standard qrcode-modal
This commit is contained in:
parent
0e7b02da4b
commit
4b0d8c50fd
@ -30,7 +30,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@walletconnect/client": "^2.0.0-beta.22",
|
"@walletconnect/client": "^2.0.0-beta.22",
|
||||||
"@walletconnect/ethereum-provider": "2.0.0-beta.22",
|
"@walletconnect/ethereum-provider": "2.0.0-beta.22",
|
||||||
"@walletconnect/legacy-modal": "^2.0.0-beta.22",
|
"@walletconnect/qrcode-modal": "^1.7.1",
|
||||||
"@walletconnect/types": "^2.0.0-beta.22",
|
"@walletconnect/types": "^2.0.0-beta.22",
|
||||||
"@walletconnect/utils": "^2.0.0-beta.22",
|
"@walletconnect/utils": "^2.0.0-beta.22",
|
||||||
"axios": "^0.21.1",
|
"axios": "^0.21.1",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import Client, { CLIENT_EVENTS } from "@walletconnect/client";
|
import Client, { CLIENT_EVENTS } from "@walletconnect/client";
|
||||||
import EthereumProvider from "@walletconnect/ethereum-provider";
|
import EthereumProvider from "@walletconnect/ethereum-provider";
|
||||||
import { PairingTypes, SessionTypes } from "@walletconnect/types";
|
import { PairingTypes, SessionTypes } from "@walletconnect/types";
|
||||||
import QRCodeModal from "@walletconnect/legacy-modal";
|
import QRCodeModal from "@walletconnect/qrcode-modal";
|
||||||
import {
|
import {
|
||||||
createContext,
|
createContext,
|
||||||
ReactNode,
|
ReactNode,
|
||||||
|
@ -2608,6 +2608,17 @@
|
|||||||
"@typescript-eslint/types" "4.33.0"
|
"@typescript-eslint/types" "4.33.0"
|
||||||
eslint-visitor-keys "^2.0.0"
|
eslint-visitor-keys "^2.0.0"
|
||||||
|
|
||||||
|
"@walletconnect/browser-utils@^1.7.1":
|
||||||
|
version "1.7.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/@walletconnect/browser-utils/-/browser-utils-1.7.1.tgz#2a28846cd4d73166debbbf7d470e78ba25616f5e"
|
||||||
|
integrity sha512-y6KvxPhi52sWzS0/HtA3EhdgmtG8mXcxdc26YURDOVC/BJh3MxV8E16JFrT4InylOqYJs6dcSLWVfcnJaiPtZw==
|
||||||
|
dependencies:
|
||||||
|
"@walletconnect/safe-json" "1.0.0"
|
||||||
|
"@walletconnect/types" "^1.7.1"
|
||||||
|
"@walletconnect/window-getters" "1.0.0"
|
||||||
|
"@walletconnect/window-metadata" "1.0.0"
|
||||||
|
detect-browser "5.2.0"
|
||||||
|
|
||||||
"@walletconnect/client@^2.0.0-beta.22":
|
"@walletconnect/client@^2.0.0-beta.22":
|
||||||
version "2.0.0-beta.22"
|
version "2.0.0-beta.22"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/client/-/client-2.0.0-beta.22.tgz#a9fd0b118afc08eb173cd41dcd979735ae8e2ab2"
|
resolved "https://registry.yarnpkg.com/@walletconnect/client/-/client-2.0.0-beta.22.tgz#a9fd0b118afc08eb173cd41dcd979735ae8e2ab2"
|
||||||
@ -2729,38 +2740,6 @@
|
|||||||
"@walletconnect/safe-json" "^1.0.0"
|
"@walletconnect/safe-json" "^1.0.0"
|
||||||
ws "^7.5.1"
|
ws "^7.5.1"
|
||||||
|
|
||||||
"@walletconnect/legacy-modal@^2.0.0-beta.22":
|
|
||||||
version "2.0.0-beta.22"
|
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/legacy-modal/-/legacy-modal-2.0.0-beta.22.tgz#445c0d012a8945fb9d8e5862ada38d5c1a283db2"
|
|
||||||
integrity sha512-+2HaVKlj/YUbQ8NSey44p4mefRDfzp4Eo6sSib9m8fV75ZwZvLcX8Dptt7z7COOQN0kfQkQx6VppWcIFLT0Myw==
|
|
||||||
dependencies:
|
|
||||||
"@walletconnect/legacy-types" "^2.0.0-beta.22"
|
|
||||||
"@walletconnect/legacy-utils" "^2.0.0-beta.22"
|
|
||||||
copy-to-clipboard "^3.3.1"
|
|
||||||
preact "10.4.1"
|
|
||||||
qrcode "1.4.4"
|
|
||||||
|
|
||||||
"@walletconnect/legacy-types@^2.0.0-beta.22":
|
|
||||||
version "2.0.0-beta.22"
|
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/legacy-types/-/legacy-types-2.0.0-beta.22.tgz#6a46ea20653f5627ff7c3afbd26fec6de1465163"
|
|
||||||
integrity sha512-Lj/4dpPAIkP6hbGHoTU5AsE/wa6+InDPDjDV2yP7GUpRJCQDIpuA9r71AzbZqwjEooKR+wCJYMLAl9/j/9FF5g==
|
|
||||||
dependencies:
|
|
||||||
"@walletconnect/jsonrpc-types" "^1.0.0"
|
|
||||||
|
|
||||||
"@walletconnect/legacy-utils@^2.0.0-beta.22":
|
|
||||||
version "2.0.0-beta.22"
|
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/legacy-utils/-/legacy-utils-2.0.0-beta.22.tgz#13d4a78d5feb558bed34e2dfb7870c458529b092"
|
|
||||||
integrity sha512-0Y437PvDSdRZwJ3OA3N4QKYqxC1/XL6qnJqa2Cha6m2FZ9jR6agiaGZCyTDZ0qM0mGaBMPHb2Eckr+wXyVTgwg==
|
|
||||||
dependencies:
|
|
||||||
"@walletconnect/encoding" "^1.0.0"
|
|
||||||
"@walletconnect/jsonrpc-utils" "^1.0.0"
|
|
||||||
"@walletconnect/legacy-types" "^2.0.0-beta.22"
|
|
||||||
"@walletconnect/safe-json" "^1.0.0"
|
|
||||||
"@walletconnect/window-getters" "^1.0.0"
|
|
||||||
"@walletconnect/window-metadata" "^1.0.0"
|
|
||||||
detect-browser "^5.2.1"
|
|
||||||
query-string "^6.13.5"
|
|
||||||
|
|
||||||
"@walletconnect/logger@^1.0.0":
|
"@walletconnect/logger@^1.0.0":
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/logger/-/logger-1.0.0.tgz#f00b7a49a9a72f0187696b4c382970272323d147"
|
resolved "https://registry.yarnpkg.com/@walletconnect/logger/-/logger-1.0.0.tgz#f00b7a49a9a72f0187696b4c382970272323d147"
|
||||||
@ -2768,6 +2747,23 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
pino "^6.7.0"
|
pino "^6.7.0"
|
||||||
|
|
||||||
|
"@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.1":
|
||||||
|
version "1.7.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/@walletconnect/qrcode-modal/-/qrcode-modal-1.7.1.tgz#89b19c2eb6466ec237ccd597388d7a1b1b946067"
|
||||||
|
integrity sha512-m/4lSx3pgj8V2eHVJcGnxBKUSCNFtyVIcg5tqbSJHi9HjKIBxvRq4D5M4X4yEpgXYtRmTucihxNCrj2zQrmlSQ==
|
||||||
|
dependencies:
|
||||||
|
"@walletconnect/browser-utils" "^1.7.1"
|
||||||
|
"@walletconnect/mobile-registry" "^1.4.0"
|
||||||
|
"@walletconnect/types" "^1.7.1"
|
||||||
|
copy-to-clipboard "^3.3.1"
|
||||||
|
preact "10.4.1"
|
||||||
|
qrcode "1.4.4"
|
||||||
|
|
||||||
"@walletconnect/randombytes@^1.0.1":
|
"@walletconnect/randombytes@^1.0.1":
|
||||||
version "1.0.1"
|
version "1.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/randombytes/-/randombytes-1.0.1.tgz#87f0f02d9206704ce1c9e23f07d3b28898c48385"
|
resolved "https://registry.yarnpkg.com/@walletconnect/randombytes/-/randombytes-1.0.1.tgz#87f0f02d9206704ce1c9e23f07d3b28898c48385"
|
||||||
@ -2784,7 +2780,7 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@walletconnect/jsonrpc-types" "^1.0.0"
|
"@walletconnect/jsonrpc-types" "^1.0.0"
|
||||||
|
|
||||||
"@walletconnect/safe-json@^1.0.0":
|
"@walletconnect/safe-json@1.0.0", "@walletconnect/safe-json@^1.0.0":
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2"
|
resolved "https://registry.yarnpkg.com/@walletconnect/safe-json/-/safe-json-1.0.0.tgz#12eeb11d43795199c045fafde97e3c91646683b2"
|
||||||
integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg==
|
integrity sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg==
|
||||||
@ -2800,6 +2796,11 @@
|
|||||||
"@walletconnect/types" "^2.0.0-beta.23"
|
"@walletconnect/types" "^2.0.0-beta.23"
|
||||||
"@walletconnect/utils" "^2.0.0-beta.23"
|
"@walletconnect/utils" "^2.0.0-beta.23"
|
||||||
|
|
||||||
|
"@walletconnect/types@^1.7.1":
|
||||||
|
version "1.7.1"
|
||||||
|
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.7.1.tgz#86cc3832e02415dc9f518f3dcb5366722afbfc03"
|
||||||
|
integrity sha512-X0NunEUgq46ExDcKo7BnnFpFhuZ89bZ04/1FtohNziBWcP2Mblp2yf+FN7iwmZiuZ3bRTb8J1O4oJH2JGP9I7A==
|
||||||
|
|
||||||
"@walletconnect/types@^2.0.0-beta.22":
|
"@walletconnect/types@^2.0.0-beta.22":
|
||||||
version "2.0.0-beta.22"
|
version "2.0.0-beta.22"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.0.0-beta.22.tgz#3d000f07357ec9254104a7334a5eec0dd20e3d9a"
|
resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.0.0-beta.22.tgz#3d000f07357ec9254104a7334a5eec0dd20e3d9a"
|
||||||
@ -2854,12 +2855,12 @@
|
|||||||
lodash.union "^4.6.0"
|
lodash.union "^4.6.0"
|
||||||
query-string "^6.13.5"
|
query-string "^6.13.5"
|
||||||
|
|
||||||
"@walletconnect/window-getters@^1.0.0":
|
"@walletconnect/window-getters@1.0.0", "@walletconnect/window-getters@^1.0.0":
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8"
|
resolved "https://registry.yarnpkg.com/@walletconnect/window-getters/-/window-getters-1.0.0.tgz#1053224f77e725dfd611c83931b5f6c98c32bfc8"
|
||||||
integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA==
|
integrity sha512-xB0SQsLaleIYIkSsl43vm8EwETpBzJ2gnzk7e0wMF3ktqiTGS6TFHxcprMl5R44KKh4tCcHCJwolMCaDSwtAaA==
|
||||||
|
|
||||||
"@walletconnect/window-metadata@^1.0.0":
|
"@walletconnect/window-metadata@1.0.0", "@walletconnect/window-metadata@^1.0.0":
|
||||||
version "1.0.0"
|
version "1.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5"
|
resolved "https://registry.yarnpkg.com/@walletconnect/window-metadata/-/window-metadata-1.0.0.tgz#93b1cc685e6b9b202f29c26be550fde97800c4e5"
|
||||||
integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA==
|
integrity sha512-9eFvmJxIKCC3YWOL97SgRkKhlyGXkrHwamfechmqszbypFspaSk+t2jQXAEU7YClHF6Qjw5eYOmy1//zFi9/GA==
|
||||||
@ -5144,10 +5145,10 @@ destroy@~1.0.4:
|
|||||||
resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80"
|
resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80"
|
||||||
integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=
|
integrity sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=
|
||||||
|
|
||||||
detect-browser@^5.2.1:
|
detect-browser@5.2.0:
|
||||||
version "5.3.0"
|
version "5.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/detect-browser/-/detect-browser-5.3.0.tgz#9705ef2bddf46072d0f7265a1fe300e36fe7ceca"
|
resolved "https://registry.yarnpkg.com/detect-browser/-/detect-browser-5.2.0.tgz#c9cd5afa96a6a19fda0bbe9e9be48a6b6e1e9c97"
|
||||||
integrity sha512-53rsFbGdwMwlF7qvCt0ypLM5V5/Mbl0szB7GPN8y9NCcbknYOeVVXdrXEq+90IwAfrrzt6Hd+u2E2ntakICU8w==
|
integrity sha512-tr7XntDAu50BVENgQfajMLzacmSe34D+qZc4zjnniz0ZVuw/TZcLcyxHQjYpJTM36sGEkZZlYLnIM1hH7alTMA==
|
||||||
|
|
||||||
detect-libc@^2.0.0:
|
detect-libc@^2.0.0:
|
||||||
version "2.0.0"
|
version "2.0.0"
|
||||||
|
Loading…
Reference in New Issue
Block a user