From b8515abe6e07a69497da8728d035166665e2858f Mon Sep 17 00:00:00 2001 From: Ben Kremer Date: Mon, 4 Apr 2022 13:52:12 +0200 Subject: [PATCH] chore(deps): update to cosmos-wallet@1.2.0 in v2-cosmos-provider --- .../package.json | 2 +- dapps/react-dapp-v2-cosmos-provider/yarn.lock | 176 ++++++++++-------- 2 files changed, 102 insertions(+), 76 deletions(-) diff --git a/dapps/react-dapp-v2-cosmos-provider/package.json b/dapps/react-dapp-v2-cosmos-provider/package.json index ec250fe..5773d0a 100644 --- a/dapps/react-dapp-v2-cosmos-provider/package.json +++ b/dapps/react-dapp-v2-cosmos-provider/package.json @@ -36,7 +36,7 @@ "axios": "^0.21.1", "blockies-ts": "^1.0.0", "caip-api": "^2.0.0-beta.1", - "cosmos-wallet": "^1.1.0", + "cosmos-wallet": "^1.2.0", "eth-sig-util": "^2.5.3", "ethereumjs-util": "^7.0.6", "ethers": "^5.3.0", diff --git a/dapps/react-dapp-v2-cosmos-provider/yarn.lock b/dapps/react-dapp-v2-cosmos-provider/yarn.lock index 0c46019..4ae006f 100644 --- a/dapps/react-dapp-v2-cosmos-provider/yarn.lock +++ b/dapps/react-dapp-v2-cosmos-provider/yarn.lock @@ -1983,10 +1983,10 @@ resolved "https://registry.yarnpkg.com/@stablelib/wipe/-/wipe-1.0.1.tgz#d21401f1d59ade56a62e139462a97f104ed19a36" integrity sha512-WfqfX/eXGiAd3RJe4VU2snh/ZPwtSjLG4ynQ/vYzvghTh7dHFcI1wl+nrkWG6lGhukOxOsUHfv8dUXr58D0ayg== -"@stablelib/x25519@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@stablelib/x25519/-/x25519-1.0.1.tgz#bcd6132ac4dd94f28f1479e228c85b3468d6ed27" - integrity sha512-nmyUI2ZArxYDh1PhdoSCPEtlTYE0DYugp2qqx8OtjrX3Hmh7boIlDsD0X71ihAxzxqJf3TyQqN/p58ToWhnp+Q== +"@stablelib/x25519@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@stablelib/x25519/-/x25519-1.0.2.tgz#ae21e2ab668076ec2eb2b4853b82a27fab045fa1" + integrity sha512-wTR0t0Bp1HABLFRbYaE3vFLuco2QbAg6QvxBnzi5j9qjhYezWHW7OiCZyaWbt25UkSaoolUUT4Il0nS/2vcbSw== dependencies: "@stablelib/keyagreement" "^1.0.1" "@stablelib/random" "^1.0.1" @@ -2589,60 +2589,63 @@ "@walletconnect/window-metadata" "1.0.0" detect-browser "5.2.0" -"@walletconnect/client@2.0.0-beta.23", "@walletconnect/client@^2.0.0-beta.23": - version "2.0.0-beta.23" - resolved "https://registry.yarnpkg.com/@walletconnect/client/-/client-2.0.0-beta.23.tgz#934f91beb66ec7bb1a79afc1973fcd48481ccbc5" - integrity sha512-ATKrYpCiGkhy1ukmEgYtOPX9WJXBoyBcXSfRH7MJKibDbPkNf9eUfp4ZeGadn7YLy40qxHEdZtK2zGGikn84pQ== +"@walletconnect/client@2.0.0-beta.26", "@walletconnect/client@^2.0.0-beta.26": + version "2.0.0-beta.26" + resolved "https://registry.yarnpkg.com/@walletconnect/client/-/client-2.0.0-beta.26.tgz#c3f617c6f726e99e39b1d92857f06e0a477742de" + integrity sha512-BQNLS+kQyxOEIECwHN0sW+iF0CGWLECorSwmPGnadv/7kX3xGIEzv6mBOjBJisyIoea50RfADmKZNa//H1khxw== dependencies: - "@walletconnect/encoding" "^1.0.0" - "@walletconnect/jsonrpc-provider" "^1.0.0" + "@walletconnect/encoding" "^1.0.1" + "@walletconnect/events" "^1.0.0" + "@walletconnect/heartbeat" "^1.0.0" + "@walletconnect/jsonrpc-provider" "^1.0.3" "@walletconnect/jsonrpc-utils" "^1.0.0" "@walletconnect/jsonrpc-ws-connection" "^1.0.0" "@walletconnect/logger" "^1.0.0" "@walletconnect/relay-api" "^1.0.2" "@walletconnect/safe-json" "^1.0.0" - "@walletconnect/types" "^2.0.0-beta.23" - "@walletconnect/utils" "^2.0.0-beta.23" + "@walletconnect/time" "^1.0.1" + "@walletconnect/types" "^2.0.0-beta.26" + "@walletconnect/utils" "^2.0.0-beta.26" ws "^8.3.0" -"@walletconnect/cosmos-provider@2.0.0-beta.23": - version "2.0.0-beta.23" - resolved "https://registry.yarnpkg.com/@walletconnect/cosmos-provider/-/cosmos-provider-2.0.0-beta.23.tgz#54c3c26835c6bc286b14eb63a7c24f6961df95e6" - integrity sha512-RDTSHWtFVNJxK00tQtZyueaFoPEh9Nsc1Hae5NOphQsp+FQhwvVX76+J48ELW+ylS5RNU1Ji1Q/xXX32QNtRLw== +"@walletconnect/cosmos-provider@2.0.0-beta.26": + version "2.0.0-beta.26" + resolved "https://registry.yarnpkg.com/@walletconnect/cosmos-provider/-/cosmos-provider-2.0.0-beta.26.tgz#eb8aedb0456d9582a000ef33528d0a3011e3b7ac" + integrity sha512-EESDXazeTjzK79l2mNzAvUONo+p0hgp9U1CRxSfSc2loFgqehtLYJIZDc3niqTEvL4ZHjKNUiOU1iekNhe8NEA== dependencies: - "@walletconnect/client" "^2.0.0-beta.23" + "@walletconnect/client" "^2.0.0-beta.26" "@walletconnect/jsonrpc-http-connection" "^1.0.0" - "@walletconnect/jsonrpc-provider" "^1.0.0" + "@walletconnect/jsonrpc-provider" "^1.0.3" "@walletconnect/jsonrpc-types" "^1.0.0" "@walletconnect/jsonrpc-utils" "^1.0.0" - "@walletconnect/signer-connection" "^2.0.0-beta.23" - "@walletconnect/types" "^2.0.0-beta.23" - "@walletconnect/utils" "^2.0.0-beta.23" + "@walletconnect/signer-connection" "^2.0.0-beta.26" + "@walletconnect/types" "^2.0.0-beta.26" + "@walletconnect/utils" "^2.0.0-beta.26" -"@walletconnect/crypto@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@walletconnect/crypto/-/crypto-1.0.1.tgz#d4c1b1cd5dd1be88fe9a82dfc54cadbbb3f9d325" - integrity sha512-IgUReNrycIFxkGgq8YT9HsosCkhutakWD9Q411PR0aJfxpEa/VKJeaLRtoz6DvJpztWStwhIHnAbBoOVR72a6g== +"@walletconnect/crypto@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@walletconnect/crypto/-/crypto-1.0.2.tgz#3fcc2b2cde6f529a19eadd883dc555cd0e861992" + integrity sha512-+OlNtwieUqVcOpFTvLBvH+9J9pntEqH5evpINHfVxff1XIgwV55PpbdvkHu6r9Ib4WQDOFiD8OeeXs1vHw7xKQ== dependencies: - "@walletconnect/encoding" "^1.0.0" + "@walletconnect/encoding" "^1.0.1" "@walletconnect/environment" "^1.0.0" - "@walletconnect/randombytes" "^1.0.1" + "@walletconnect/randombytes" "^1.0.2" aes-js "^3.1.2" hash.js "^1.1.7" -"@walletconnect/ecies-25519@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@walletconnect/ecies-25519/-/ecies-25519-1.0.1.tgz#33d548d259aa2cd60f251167eba239ee0c0658ea" - integrity sha512-IK3bYxmYbnFicO69qehPuacwfa3dU1Lw20YdvfLg3IH/WCCmo5EKZu5puaQCXep42uReYE4CQ5gcVSC4PCOLcw== +"@walletconnect/ecies-25519@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@walletconnect/ecies-25519/-/ecies-25519-1.0.2.tgz#c248e2e1423328edb4a4a668c5bef19350533b7c" + integrity sha512-H5elgLjBPhsKXozo7M87Gg/FLTh/YdhCGYPuuodEreLZ0Lvow3fkiNRucqHmmllU3vJhIjUxMcbtvzseky1hSA== dependencies: - "@stablelib/x25519" "^1.0.1" - "@walletconnect/crypto" "^1.0.1" - "@walletconnect/encoding" "^1.0.0" + "@stablelib/x25519" "^1.0.2" + "@walletconnect/crypto" "^1.0.2" + "@walletconnect/encoding" "^1.0.1" -"@walletconnect/encoding@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/encoding/-/encoding-1.0.0.tgz#e24190cb5e803526f9dfd7191fb0e4dc53c6d864" - integrity sha512-4nkJFnS0QF5JdieG/3VPD1/iEWkLSZ14EBInLZ00RWxmC6EMZrzAeHNAWIgm+xP3NK0lqz+7lEsmWGtcl5gYnQ== +"@walletconnect/encoding@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/encoding/-/encoding-1.0.1.tgz#93c18ce9478c3d5283dbb88c41eb2864b575269a" + integrity sha512-8opL2rs6N6E3tJfsqwS82aZQDL3gmupWUgmvuZ3CGU7z/InZs3R9jkzH8wmYtpbq0sFK3WkJkQRZFFk4BkrmFA== dependencies: is-typedarray "1.0.0" typedarray-to-buffer "3.1.5" @@ -2652,6 +2655,21 @@ resolved "https://registry.yarnpkg.com/@walletconnect/environment/-/environment-1.0.0.tgz#c4545869fa9c389ec88c364e1a5f8178e8ab5034" integrity sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ== +"@walletconnect/events@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@walletconnect/events/-/events-1.0.0.tgz#000033a52a618345713d5bd43e8780d120c5accc" + integrity sha512-LLf8krnHo+PsObwMZbGhVaG24SvGTJM0MEtPNhrlQmp27CRV+LwYpHLh7fhABcnUon4aeo7dojCJMmx5jBNWuQ== + dependencies: + keyvaluestorage-interface "^1.0.0" + +"@walletconnect/heartbeat@^1.0.0": + version "1.0.0" + resolved "https://registry.yarnpkg.com/@walletconnect/heartbeat/-/heartbeat-1.0.0.tgz#d77d10aab467aafc45a09e25547d2158da630198" + integrity sha512-WMWbUNHVkVd7FS38P0DMDlvR38P/kSZcda94t54h8XtC1CfI2M/Cn9TGS6mC6MNuDkZZm+cOdkekibQc+9sNdQ== + dependencies: + "@walletconnect/events" "^1.0.0" + "@walletconnect/time" "^1.0.1" + "@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" @@ -2661,10 +2679,10 @@ "@walletconnect/safe-json" "^1.0.0" cross-fetch "^3.1.4" -"@walletconnect/jsonrpc-provider@^1.0.0": - version "1.0.0" - resolved "https://registry.yarnpkg.com/@walletconnect/jsonrpc-provider/-/jsonrpc-provider-1.0.0.tgz#066ee5a8a8554c55ea68f9ebf6fe8f96cdb66e7e" - integrity sha512-ZVe23tYT0LdykZ/denBdkKCjBC13fnpj8MiKFuvUl0idBv1PiYKYJR3LVJHy8+7zk0lBbDH3hBNrbMt/K4kjcw== +"@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== dependencies: "@walletconnect/jsonrpc-utils" "^1.0.0" "@walletconnect/safe-json" "^1.0.0" @@ -2717,12 +2735,12 @@ preact "10.4.1" qrcode "1.4.4" -"@walletconnect/randombytes@^1.0.1": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@walletconnect/randombytes/-/randombytes-1.0.1.tgz#87f0f02d9206704ce1c9e23f07d3b28898c48385" - integrity sha512-YJTyq69i0PtxVg7osEpKfvjTaWuAsR49QEcqGKZRKVQWMbGXBZ65fovemK/SRgtiFRv0V8PwsrlKSheqzfPNcg== +"@walletconnect/randombytes@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@walletconnect/randombytes/-/randombytes-1.0.2.tgz#95c644251a15e6675f58fbffc9513a01486da49c" + integrity sha512-ivgOtAyqQnN0rLQmOFPemsgYGysd/ooLfaDA/ACQ3cyqlca56t3rZc7pXfqJOIETx/wSyoF5XbwL+BqYodw27A== dependencies: - "@walletconnect/encoding" "^1.0.0" + "@walletconnect/encoding" "^1.0.1" "@walletconnect/environment" "^1.0.0" randombytes "^2.1.0" @@ -2738,22 +2756,29 @@ 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@^2.0.0-beta.23": - version "2.0.0-beta.23" - resolved "https://registry.yarnpkg.com/@walletconnect/signer-connection/-/signer-connection-2.0.0-beta.23.tgz#ed00081aa31843f8a9d57cf2f166e00ccaf627a7" - integrity sha512-rQBs91rGKJFndYCJbb8cq7Splv58MJALjBdQBymaylhnlWjyDlnwQdAwaDabeE4vTn+FuEkYLcb4RQXMCpgMpg== +"@walletconnect/signer-connection@^2.0.0-beta.26": + version "2.0.0-beta.26" + resolved "https://registry.yarnpkg.com/@walletconnect/signer-connection/-/signer-connection-2.0.0-beta.26.tgz#487b00509a69056d003b2d8fab306e33da06606f" + integrity sha512-Viswih5kz5zZ4P1wJ+tG3OsuRQXt+/A+GDF+8Smx+vuBZhMLbt4nqGCgGnp4oWL9dnJU/23RhV1TxmnchbHH2g== dependencies: - "@walletconnect/client" "^2.0.0-beta.23" + "@walletconnect/client" "^2.0.0-beta.26" "@walletconnect/jsonrpc-types" "^1.0.0" "@walletconnect/jsonrpc-utils" "^1.0.0" - "@walletconnect/types" "^2.0.0-beta.23" - "@walletconnect/utils" "^2.0.0-beta.23" + "@walletconnect/types" "^2.0.0-beta.26" + "@walletconnect/utils" "^2.0.0-beta.26" -"@walletconnect/types@2.0.0-beta.23", "@walletconnect/types@^2.0.0-beta.23": - version "2.0.0-beta.23" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.0.0-beta.23.tgz#3adf5c8329b7807d8c8d4aa1419e470eab72445c" - integrity sha512-zYn26dvp/HsZJMUCFsJoK255yLp+Z9tGIomVO4outiZM1wa0tAUwma2QzoGyKDSgK4EbsYHFcWjSUX2kqh8quQ== +"@walletconnect/time@^1.0.1": + version "1.0.1" + resolved "https://registry.yarnpkg.com/@walletconnect/time/-/time-1.0.1.tgz#645f596887e67c56522edbc2b170d46a97c87ce0" + integrity sha512-LtNtHupTNranehLMh8Z/JN6xVySysSoJNjNCQ0ML+hOUkim5QX/VdvfovSpaX9qA2b95u7bIuTcq0O3UBk7Iyw== + +"@walletconnect/types@2.0.0-beta.26", "@walletconnect/types@^2.0.0-beta.26": + version "2.0.0-beta.26" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.0.0-beta.26.tgz#500599a893303556f48e6f17daf4c3362495495d" + integrity sha512-wVtgEEgBLxrmKhaZ1UqHVQgKuZiYdPF4vo910RqrSOZbbPRNBtrHY37JvhQdZKe2Ake1r1x66tPyOR+WaMp1Zg== dependencies: + "@walletconnect/events" "^1.0.0" + "@walletconnect/heartbeat" "^1.0.0" "@walletconnect/jsonrpc-types" "^1.0.0" keyvaluestorage "^0.7.1" pino "^6.7.0" @@ -2764,18 +2789,19 @@ resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-1.7.1.tgz#86cc3832e02415dc9f518f3dcb5366722afbfc03" integrity sha512-X0NunEUgq46ExDcKo7BnnFpFhuZ89bZ04/1FtohNziBWcP2Mblp2yf+FN7iwmZiuZ3bRTb8J1O4oJH2JGP9I7A== -"@walletconnect/utils@2.0.0-beta.23", "@walletconnect/utils@^2.0.0-beta.23": - version "2.0.0-beta.23" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.0.0-beta.23.tgz#005e4409a7014a66dda30389e4b1f31d186ebd0e" - integrity sha512-AH38tD5P6wWo5+D+pMJYePHdu0008fI6bE8NlFy0/o7qxzCVs7GAGWnyDNSHFUg7zgu+N120jsq2mBg2bNFxLQ== +"@walletconnect/utils@2.0.0-beta.26", "@walletconnect/utils@^2.0.0-beta.26": + version "2.0.0-beta.26" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.0.0-beta.26.tgz#228c1f068ca42630f01bbd3c013dcfc42677cc9a" + integrity sha512-RjADvX6d8K3eqLcxFIiQDFV9ajiI7kQX4+iVV63uf5rlC+HnIX+jwIYJWlD+eR6JPmfIIskoG5/m0RqK/iphjA== dependencies: - "@walletconnect/ecies-25519" "^1.0.1" - "@walletconnect/encoding" "^1.0.0" + "@walletconnect/ecies-25519" "^1.0.2" + "@walletconnect/encoding" "^1.0.1" "@walletconnect/jsonrpc-utils" "^1.0.0" "@walletconnect/logger" "^1.0.0" "@walletconnect/relay-api" "^1.0.2" "@walletconnect/safe-json" "^1.0.0" - "@walletconnect/types" "^2.0.0-beta.23" + "@walletconnect/time" "^1.0.1" + "@walletconnect/types" "^2.0.0-beta.26" "@walletconnect/window-getters" "^1.0.0" "@walletconnect/window-metadata" "^1.0.0" lodash.union "^4.6.0" @@ -4543,10 +4569,10 @@ cosmiconfig@^7.0.0: path-type "^4.0.0" yaml "^1.10.0" -cosmos-wallet@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/cosmos-wallet/-/cosmos-wallet-1.1.0.tgz#ca554d19fda1a1a7a8ee21fef4e0ef8f7fa9ef7b" - integrity sha512-jm5MFRYzvOCA/mhULObpaoE2Na0shBn3lrkv2GDedmRZfuoDvOa63WID4qMoIycteefjRKdxXf+26vDrgd79aQ== +cosmos-wallet@^1.2.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/cosmos-wallet/-/cosmos-wallet-1.2.0.tgz#1243066fe933cf5482de1aec0b96169cebe867c6" + integrity sha512-lMEpNhjN6FHU6c8l/lYi1hWU/74bOlTmo3pz0mwVpCHjNSe5u7sZCO7j0dndd3oV0tM8tj/u3eJa4NgZxG9a0Q== dependencies: "@cosmjs/amino" "^0.25.4" "@cosmjs/proto-signing" "^0.25.4" @@ -8172,16 +8198,16 @@ levn@~0.3.0: type-check "~0.3.2" libsodium-wrappers@^0.7.6: - version "0.7.9" - resolved "https://registry.yarnpkg.com/libsodium-wrappers/-/libsodium-wrappers-0.7.9.tgz#4ffc2b69b8f7c7c7c5594a93a4803f80f6d0f346" - integrity sha512-9HaAeBGk1nKTRFRHkt7nzxqCvnkWTjn1pdjKgcUnZxj0FyOP4CnhgFhMdrFfgNsukijBGyBLpP2m2uKT1vuWhQ== + version "0.7.10" + resolved "https://registry.yarnpkg.com/libsodium-wrappers/-/libsodium-wrappers-0.7.10.tgz#13ced44cacb0fc44d6ac9ce67d725956089ce733" + integrity sha512-pO3F1Q9NPLB/MWIhehim42b/Fwb30JNScCNh8TcQ/kIc+qGLQch8ag8wb0keK3EP5kbGakk1H8Wwo7v+36rNQg== dependencies: libsodium "^0.7.0" libsodium@^0.7.0: - version "0.7.9" - resolved "https://registry.yarnpkg.com/libsodium/-/libsodium-0.7.9.tgz#4bb7bcbf662ddd920d8795c227ae25bbbfa3821b" - integrity sha512-gfeADtR4D/CM0oRUviKBViMGXZDgnFdMKMzHsvBdqLBHd9ySi6EtYnmuhHVDDYgYpAO8eU8hEY+F8vIUAPh08A== + version "0.7.10" + resolved "https://registry.yarnpkg.com/libsodium/-/libsodium-0.7.10.tgz#c2429a7e4c0836f879d701fec2c8a208af024159" + integrity sha512-eY+z7hDrDKxkAK+QKZVNv92A5KYkxfvIshtBJkmg5TSiCnYqZP3i9OO9whE79Pwgm4jGaoHgkM4ao/b9Cyu4zQ== lines-and-columns@^1.1.6: version "1.2.4"