diff --git a/deploy-web/package-lock.json b/deploy-web/package-lock.json index 763ada296..d3333d473 100644 --- a/deploy-web/package-lock.json +++ b/deploy-web/package-lock.json @@ -14,6 +14,7 @@ "@auth0/nextjs-auth0": "^3.5.0", "@cosmjs/encoding": "^0.29.5", "@cosmjs/stargate": "^0.29.5", + "@cosmos-kit/cosmos-extension-metamask": "^0.8.0", "@cosmos-kit/cosmostation-extension": "^2.6.4", "@cosmos-kit/keplr": "^2.5.4", "@cosmos-kit/leap-extension": "^2.6.4", @@ -1939,6 +1940,22 @@ "node": ">=6.9.0" } }, + "node_modules/@chain-registry/client": { + "version": "1.46.6", + "resolved": "https://registry.npmjs.org/@chain-registry/client/-/client-1.46.6.tgz", + "integrity": "sha512-0S6I9m2M7Jxrl6ZBQE/Zdy3a83Q3QMetwSR4HK4s+WcKxyAHuK54Suz1OCWyKPkVOonm/9moYcx8HCk1McjMeg==", + "dependencies": { + "@chain-registry/types": "^0.43.6", + "@chain-registry/utils": "^1.44.6", + "bfs-path": "^1.0.2", + "cross-fetch": "^3.1.5" + } + }, + "node_modules/@chain-registry/client/node_modules/@chain-registry/types": { + "version": "0.43.6", + "resolved": "https://registry.npmjs.org/@chain-registry/types/-/types-0.43.6.tgz", + "integrity": "sha512-3te6JCM4P6eS8dNpaw8Ao2Y8naSbZH9kcwmolOVtU11zaFNxSLkJX4zIoD3SKRuZUShP8veF0MrSj42s72XCjQ==" + }, "node_modules/@chain-registry/cosmostation": { "version": "1.28.0", "resolved": "https://registry.npmjs.org/@chain-registry/cosmostation/-/cosmostation-1.28.0.tgz", @@ -1979,22 +1996,26 @@ } }, "node_modules/@chain-registry/utils": { - "version": "1.17.0", - "resolved": "https://registry.npmjs.org/@chain-registry/utils/-/utils-1.17.0.tgz", - "integrity": "sha512-MNIfpFM8rF1Gex+LhmuHgUElLbjz2vgmjI9qpRl9MMuQUSndu/NVhCDWcgvGNVKCD6woR6ohD9UIs9n0/Q91AA==", + "version": "1.44.6", + "resolved": "https://registry.npmjs.org/@chain-registry/utils/-/utils-1.44.6.tgz", + "integrity": "sha512-GGglv3d+KLUanGa8On9K+YqUL7fQ4iOeg5HngmxXkMiMuudxDDRXcvtISzLirmoz9XvyUtoDAWW696hBPLDK9g==", "dependencies": { - "@babel/runtime": "^7.21.0", - "@chain-registry/types": "^0.17.1", - "bignumber.js": "9.1.1", + "@chain-registry/types": "^0.43.6", + "bignumber.js": "9.1.2", "sha.js": "^2.4.11" } }, "node_modules/@chain-registry/utils/node_modules/@chain-registry/types": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/@chain-registry/types/-/types-0.17.1.tgz", - "integrity": "sha512-O0CgrtJgIlqXvZm1CqDZe/7jZz068O/uuCIoyDXCegFHK03rdHacKcDGwEIUuI0MNUf8YV3jdE4xHQMSAX+79w==", - "dependencies": { - "@babel/runtime": "^7.21.0" + "version": "0.43.6", + "resolved": "https://registry.npmjs.org/@chain-registry/types/-/types-0.43.6.tgz", + "integrity": "sha512-3te6JCM4P6eS8dNpaw8Ao2Y8naSbZH9kcwmolOVtU11zaFNxSLkJX4zIoD3SKRuZUShP8veF0MrSj42s72XCjQ==" + }, + "node_modules/@chain-registry/utils/node_modules/bignumber.js": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.1.2.tgz", + "integrity": "sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug==", + "engines": { + "node": "*" } }, "node_modules/@coinbase/wallet-sdk": { @@ -2081,26 +2102,24 @@ } }, "node_modules/@cosmjs/amino": { - "version": "0.32.1", - "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.32.1.tgz", - "integrity": "sha512-5l2xQ2XuAhV/B3kTIMPBcVZ/OQ+9Yyddzw/lIVs4qE5e/oBI0PVNWXw1oyR0wgfGHrMUxgKjsoOOqE2IbXVyCw==", - "peer": true, + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.32.3.tgz", + "integrity": "sha512-G4zXl+dJbqrz1sSJ56H/25l5NJEk/pAPIr8piAHgbXYw88OdAOlpA26PQvk2IbSN/rRgVbvlLTNgX2tzz1dyUA==", "dependencies": { - "@cosmjs/crypto": "^0.32.1", - "@cosmjs/encoding": "^0.32.1", - "@cosmjs/math": "^0.32.1", - "@cosmjs/utils": "^0.32.1" + "@cosmjs/crypto": "^0.32.3", + "@cosmjs/encoding": "^0.32.3", + "@cosmjs/math": "^0.32.3", + "@cosmjs/utils": "^0.32.3" } }, "node_modules/@cosmjs/amino/node_modules/@cosmjs/crypto": { - "version": "0.32.1", - "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.32.1.tgz", - "integrity": "sha512-AsKucEg5o8evU0wXF/lDwX+ZSwCKF4bbc57nFzraHywlp3sNu4dfPPURoMrT0r7kT7wQZAy4Pdnvmm9nnCCm/Q==", - "peer": true, + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.32.3.tgz", + "integrity": "sha512-niQOWJHUtlJm2GG4F00yGT7sGPKxfUwz+2qQ30uO/E3p58gOusTcH2qjiJNVxb8vScYJhFYFqpm/OA/mVqoUGQ==", "dependencies": { - "@cosmjs/encoding": "^0.32.1", - "@cosmjs/math": "^0.32.1", - "@cosmjs/utils": "^0.32.1", + "@cosmjs/encoding": "^0.32.3", + "@cosmjs/math": "^0.32.3", + "@cosmjs/utils": "^0.32.3", "@noble/hashes": "^1", "bn.js": "^5.2.0", "elliptic": "^6.5.4", @@ -2108,10 +2127,9 @@ } }, "node_modules/@cosmjs/amino/node_modules/@cosmjs/encoding": { - "version": "0.32.1", - "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.32.1.tgz", - "integrity": "sha512-x60Lfds+Eq42rVV29NaoIAson3kBhATBI3zPp7X3GJTryBc5HFHQ6L/976tE1WB2DrvkfUdWS3ayCMVOY/qm1g==", - "peer": true, + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.32.3.tgz", + "integrity": "sha512-p4KF7hhv8jBQX3MkB3Defuhz/W0l3PwWVYU2vkVuBJ13bJcXyhU9nJjiMkaIv+XP+W2QgRceqNNgFUC5chNR7w==", "dependencies": { "base64-js": "^1.3.0", "bech32": "^1.1.4", @@ -2119,19 +2137,17 @@ } }, "node_modules/@cosmjs/amino/node_modules/@cosmjs/math": { - "version": "0.32.1", - "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.1.tgz", - "integrity": "sha512-sqJgDjPh49rxe06apzwKYLxAw4LLFKmEd4yQtHqH16BxVVUrvK5UH9TEBpUrRErdjqENowekecDCDBZspGXHNA==", - "peer": true, + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.3.tgz", + "integrity": "sha512-amumUtZs8hCCnV+lSBaJIiZkGabQm22QGg/IotYrhcmoOEOjt82n7hMNlNXRs7V6WLMidGrGYcswB5zcmp0Meg==", "dependencies": { "bn.js": "^5.2.0" } }, "node_modules/@cosmjs/amino/node_modules/@cosmjs/utils": { - "version": "0.32.1", - "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.1.tgz", - "integrity": "sha512-PV9pa0cVPFCNgfQKEOc6RcNFHr5wMQLcDqWoo/ekIoj1AfzAaqnojdnL80u1C9Qf+vOfRGIXubqiU7Tl7QZuig==", - "peer": true + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.3.tgz", + "integrity": "sha512-WCZK4yksj2hBDz4w7xFZQTRZQ/RJhBX26uFHmmQFIcNUUVAihrLO+RerqJgk0dZqC42wstM9pEUQGtPmLcIYvg==" }, "node_modules/@cosmjs/cli": { "version": "0.28.13", @@ -2770,71 +2786,59 @@ } }, "node_modules/@cosmjs/proto-signing": { - "version": "0.29.5", - "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.5.tgz", - "integrity": "sha512-QRrS7CiKaoETdgIqvi/7JC2qCwCR7lnWaUsTzh/XfRy3McLkEd+cXbKAW3cygykv7IN0VAEIhZd2lyIfT8KwNA==", - "dependencies": { - "@cosmjs/amino": "^0.29.5", - "@cosmjs/crypto": "^0.29.5", - "@cosmjs/encoding": "^0.29.5", - "@cosmjs/math": "^0.29.5", - "@cosmjs/utils": "^0.29.5", - "cosmjs-types": "^0.5.2", - "long": "^4.0.0" - } - }, - "node_modules/@cosmjs/proto-signing/node_modules/@cosmjs/amino": { - "version": "0.29.5", - "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.29.5.tgz", - "integrity": "sha512-Qo8jpC0BiziTSUqpkNatBcwtKNhCovUnFul9SlT/74JUCdLYaeG5hxr3q1cssQt++l4LvlcpF+OUXL48XjNjLw==", + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.32.3.tgz", + "integrity": "sha512-kSZ0ZUY0DwcRT0NcIn2HkadH4NKlwjfZgbLj1ABwh/4l0RgeT84QCscZCu63tJYq3K6auwqTiZSZERwlO4/nbg==", "dependencies": { - "@cosmjs/crypto": "^0.29.5", - "@cosmjs/encoding": "^0.29.5", - "@cosmjs/math": "^0.29.5", - "@cosmjs/utils": "^0.29.5" + "@cosmjs/amino": "^0.32.3", + "@cosmjs/crypto": "^0.32.3", + "@cosmjs/encoding": "^0.32.3", + "@cosmjs/math": "^0.32.3", + "@cosmjs/utils": "^0.32.3", + "cosmjs-types": "^0.9.0" } }, "node_modules/@cosmjs/proto-signing/node_modules/@cosmjs/crypto": { - "version": "0.29.5", - "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.29.5.tgz", - "integrity": "sha512-2bKkaLGictaNL0UipQCL6C1afaisv6k8Wr/GCLx9FqiyFkh9ZgRHDyetD64ZsjnWV/N/D44s/esI+k6oPREaiQ==", + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.32.3.tgz", + "integrity": "sha512-niQOWJHUtlJm2GG4F00yGT7sGPKxfUwz+2qQ30uO/E3p58gOusTcH2qjiJNVxb8vScYJhFYFqpm/OA/mVqoUGQ==", "dependencies": { - "@cosmjs/encoding": "^0.29.5", - "@cosmjs/math": "^0.29.5", - "@cosmjs/utils": "^0.29.5", + "@cosmjs/encoding": "^0.32.3", + "@cosmjs/math": "^0.32.3", + "@cosmjs/utils": "^0.32.3", "@noble/hashes": "^1", "bn.js": "^5.2.0", "elliptic": "^6.5.4", - "libsodium-wrappers": "^0.7.6" + "libsodium-wrappers-sumo": "^0.7.11" + } + }, + "node_modules/@cosmjs/proto-signing/node_modules/@cosmjs/encoding": { + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.32.3.tgz", + "integrity": "sha512-p4KF7hhv8jBQX3MkB3Defuhz/W0l3PwWVYU2vkVuBJ13bJcXyhU9nJjiMkaIv+XP+W2QgRceqNNgFUC5chNR7w==", + "dependencies": { + "base64-js": "^1.3.0", + "bech32": "^1.1.4", + "readonly-date": "^1.0.0" } }, "node_modules/@cosmjs/proto-signing/node_modules/@cosmjs/math": { - "version": "0.29.5", - "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.29.5.tgz", - "integrity": "sha512-2GjKcv+A9f86MAWYLUkjhw1/WpRl2R1BTb3m9qPG7lzMA7ioYff9jY5SPCfafKdxM4TIQGxXQlYGewQL16O68Q==", + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.3.tgz", + "integrity": "sha512-amumUtZs8hCCnV+lSBaJIiZkGabQm22QGg/IotYrhcmoOEOjt82n7hMNlNXRs7V6WLMidGrGYcswB5zcmp0Meg==", "dependencies": { "bn.js": "^5.2.0" } }, "node_modules/@cosmjs/proto-signing/node_modules/@cosmjs/utils": { - "version": "0.29.5", - "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.5.tgz", - "integrity": "sha512-m7h+RXDUxOzEOGt4P+3OVPX7PuakZT3GBmaM/Y2u+abN3xZkziykD/NvedYFvvCCdQo714XcGl33bwifS9FZPQ==" + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.3.tgz", + "integrity": "sha512-WCZK4yksj2hBDz4w7xFZQTRZQ/RJhBX26uFHmmQFIcNUUVAihrLO+RerqJgk0dZqC42wstM9pEUQGtPmLcIYvg==" }, "node_modules/@cosmjs/proto-signing/node_modules/cosmjs-types": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.5.2.tgz", - "integrity": "sha512-zxCtIJj8v3Di7s39uN4LNcN3HIE1z0B9Z0SPE8ZNQR0oSzsuSe1ACgxoFkvhkS7WBasCAFcglS11G2hyfd5tPg==", - "license": "Apache-2.0", - "dependencies": { - "long": "^4.0.0", - "protobufjs": "~6.11.2" - } - }, - "node_modules/@cosmjs/proto-signing/node_modules/long": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", - "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.9.0.tgz", + "integrity": "sha512-MN/yUe6mkJwHnCFfsNPeCfXVhyxHYW6c/xDUzrSbBycYzw++XvWDMJArXp2pLdgD6FQ8DW79vkPjeNKVrXaHeQ==" }, "node_modules/@cosmjs/socket": { "version": "0.29.5", @@ -2899,6 +2903,20 @@ "bn.js": "^5.2.0" } }, + "node_modules/@cosmjs/stargate/node_modules/@cosmjs/proto-signing": { + "version": "0.29.5", + "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.29.5.tgz", + "integrity": "sha512-QRrS7CiKaoETdgIqvi/7JC2qCwCR7lnWaUsTzh/XfRy3McLkEd+cXbKAW3cygykv7IN0VAEIhZd2lyIfT8KwNA==", + "dependencies": { + "@cosmjs/amino": "^0.29.5", + "@cosmjs/crypto": "^0.29.5", + "@cosmjs/encoding": "^0.29.5", + "@cosmjs/math": "^0.29.5", + "@cosmjs/utils": "^0.29.5", + "cosmjs-types": "^0.5.2", + "long": "^4.0.0" + } + }, "node_modules/@cosmjs/stargate/node_modules/@cosmjs/utils": { "version": "0.29.5", "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.29.5.tgz", @@ -2985,37 +3003,183 @@ "integrity": "sha512-VG7QPDiMUzVPxRdJahDV8PXxVdnuAHiIuG56hldV4yPnOz/si/DLNd7VAUUA5923b6jS1Hhev0Hr6AhEkcxBMg==" }, "node_modules/@cosmos-kit/core": { - "version": "2.7.14", - "resolved": "https://registry.npmjs.org/@cosmos-kit/core/-/core-2.7.14.tgz", - "integrity": "sha512-MFM4P8y3sENmwpnYqrPiZQTmpIn9m1HP86qYZXTP6ZrD4Lfttpg5o7o8jPU7YDGCPT+3oPgJxHJbSoj/6mKBeQ==", - "dependencies": { - "@chain-registry/types": "0.17.0", - "@walletconnect/types": "2.10.4", + "version": "2.12.0", + "resolved": "https://registry.npmjs.org/@cosmos-kit/core/-/core-2.12.0.tgz", + "integrity": "sha512-zgTu9COvyJ43RDwQlTwaW2W6/pzCNZLMPEAaNv3Z6kMQx4z/EcudpfDBme0939nKlZQDeX0OF4isWVkcz5NWog==", + "dependencies": { + "@chain-registry/client": "^1.44.3", + "@chain-registry/keplr": "^1.64.2", + "@chain-registry/types": "^0.41.3", + "@cosmjs/amino": "^0.32.3", + "@cosmjs/cosmwasm-stargate": "^0.32.3", + "@cosmjs/proto-signing": "^0.32.3", + "@cosmjs/stargate": "^0.32.3", + "@dao-dao/cosmiframe": "^0.1.0", + "@walletconnect/types": "2.11.0", "bowser": "2.11.0", + "cosmjs-types": "^0.9.0", "events": "3.3.0", + "nock": "13.5.4", "uuid": "^9.0.1" - }, - "peerDependencies": { - "@cosmjs/amino": ">= 0.28", - "@cosmjs/cosmwasm-stargate": ">= 0.28", - "@cosmjs/proto-signing": ">= 0.28", - "@cosmjs/stargate": ">= 0.28", - "cosmjs-types": ">= 0.5" } }, - "node_modules/@cosmos-kit/core/node_modules/@walletconnect/types": { - "version": "2.10.4", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-2.10.4.tgz", - "integrity": "sha512-eQpOElyiwJp3tepuOS3TS9dXTl9jVVlrC3iVA8bytnbLagkAUxmiv/s7PyDFx+ndXwQVh8PFBkWg1oxGwgCSBA==", + "node_modules/@cosmos-kit/core/node_modules/@chain-registry/keplr": { + "version": "1.66.6", + "resolved": "https://registry.npmjs.org/@chain-registry/keplr/-/keplr-1.66.6.tgz", + "integrity": "sha512-WBjbVYmDtuwP+HTPOiwoxf7SnoAkh8iKlQU0cER0oPbtE4HOGA17akD0ZVv0zsNtGZI95uarCZOIyIH5hv7zdw==", "dependencies": { - "@walletconnect/events": "^1.0.1", - "@walletconnect/heartbeat": "1.2.1", - "@walletconnect/jsonrpc-types": "1.0.3", - "@walletconnect/keyvaluestorage": "^1.0.2", - "@walletconnect/logger": "^2.0.1", - "events": "^3.3.0" + "@chain-registry/types": "^0.43.6", + "@keplr-wallet/cosmos": "0.12.28", + "@keplr-wallet/crypto": "0.12.28", + "semver": "^7.5.0" + } + }, + "node_modules/@cosmos-kit/core/node_modules/@chain-registry/keplr/node_modules/@chain-registry/types": { + "version": "0.43.6", + "resolved": "https://registry.npmjs.org/@chain-registry/types/-/types-0.43.6.tgz", + "integrity": "sha512-3te6JCM4P6eS8dNpaw8Ao2Y8naSbZH9kcwmolOVtU11zaFNxSLkJX4zIoD3SKRuZUShP8veF0MrSj42s72XCjQ==" + }, + "node_modules/@cosmos-kit/core/node_modules/@chain-registry/types": { + "version": "0.41.4", + "resolved": "https://registry.npmjs.org/@chain-registry/types/-/types-0.41.4.tgz", + "integrity": "sha512-LeW2nXd0dmnI+TC4L2xC3RNooUthUfou1yFcdsinSW6EP9qEwo2BwwnWWAcMG+dsPvXfM4AfmisVBrxbX2OKqw==" + }, + "node_modules/@cosmos-kit/core/node_modules/@cosmjs/cosmwasm-stargate": { + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.32.3.tgz", + "integrity": "sha512-pqkt+QsLIPNMTRh9m+igJgIpzXXgn1BxmxfAb9zlC23kvsuzY/12un9M7iAdim1NwKXDFeYw46xC2YkprwQp+g==", + "dependencies": { + "@cosmjs/amino": "^0.32.3", + "@cosmjs/crypto": "^0.32.3", + "@cosmjs/encoding": "^0.32.3", + "@cosmjs/math": "^0.32.3", + "@cosmjs/proto-signing": "^0.32.3", + "@cosmjs/stargate": "^0.32.3", + "@cosmjs/tendermint-rpc": "^0.32.3", + "@cosmjs/utils": "^0.32.3", + "cosmjs-types": "^0.9.0", + "pako": "^2.0.2" + } + }, + "node_modules/@cosmos-kit/core/node_modules/@cosmjs/crypto": { + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.32.3.tgz", + "integrity": "sha512-niQOWJHUtlJm2GG4F00yGT7sGPKxfUwz+2qQ30uO/E3p58gOusTcH2qjiJNVxb8vScYJhFYFqpm/OA/mVqoUGQ==", + "dependencies": { + "@cosmjs/encoding": "^0.32.3", + "@cosmjs/math": "^0.32.3", + "@cosmjs/utils": "^0.32.3", + "@noble/hashes": "^1", + "bn.js": "^5.2.0", + "elliptic": "^6.5.4", + "libsodium-wrappers-sumo": "^0.7.11" + } + }, + "node_modules/@cosmos-kit/core/node_modules/@cosmjs/encoding": { + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.32.3.tgz", + "integrity": "sha512-p4KF7hhv8jBQX3MkB3Defuhz/W0l3PwWVYU2vkVuBJ13bJcXyhU9nJjiMkaIv+XP+W2QgRceqNNgFUC5chNR7w==", + "dependencies": { + "base64-js": "^1.3.0", + "bech32": "^1.1.4", + "readonly-date": "^1.0.0" + } + }, + "node_modules/@cosmos-kit/core/node_modules/@cosmjs/json-rpc": { + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.32.3.tgz", + "integrity": "sha512-JwFRWZa+Y95KrAG8CuEbPVOSnXO2uMSEBcaAB/FBU3Mo4jQnDoUjXvt3vwtFWxfAytrWCn1I4YDFaOAinnEG/Q==", + "dependencies": { + "@cosmjs/stream": "^0.32.3", + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmos-kit/core/node_modules/@cosmjs/math": { + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.32.3.tgz", + "integrity": "sha512-amumUtZs8hCCnV+lSBaJIiZkGabQm22QGg/IotYrhcmoOEOjt82n7hMNlNXRs7V6WLMidGrGYcswB5zcmp0Meg==", + "dependencies": { + "bn.js": "^5.2.0" + } + }, + "node_modules/@cosmos-kit/core/node_modules/@cosmjs/socket": { + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.32.3.tgz", + "integrity": "sha512-F2WwNmaUPdZ4SsH6Uyreq3wQk7jpaEkb3wfOP951f5Jt6HCW/PxbxhKzHkAAf6+Sqks6SPhkbWoE8XaZpjL2KA==", + "dependencies": { + "@cosmjs/stream": "^0.32.3", + "isomorphic-ws": "^4.0.1", + "ws": "^7", + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmos-kit/core/node_modules/@cosmjs/stargate": { + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.32.3.tgz", + "integrity": "sha512-OQWzO9YWKerUinPIxrO1MARbe84XkeXJAW0lyMIjXIEikajuXZ+PwftiKA5yA+8OyditVmHVLtPud6Pjna2s5w==", + "dependencies": { + "@confio/ics23": "^0.6.8", + "@cosmjs/amino": "^0.32.3", + "@cosmjs/encoding": "^0.32.3", + "@cosmjs/math": "^0.32.3", + "@cosmjs/proto-signing": "^0.32.3", + "@cosmjs/stream": "^0.32.3", + "@cosmjs/tendermint-rpc": "^0.32.3", + "@cosmjs/utils": "^0.32.3", + "cosmjs-types": "^0.9.0", + "xstream": "^11.14.0" } }, + "node_modules/@cosmos-kit/core/node_modules/@cosmjs/stream": { + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.32.3.tgz", + "integrity": "sha512-J2zVWDojkynYifAUcRmVczzmp6STEpyiAARq0rSsviqjreGIfspfuws/8rmkPa6qQBZvpQOBQCm2HyZZwYplIw==", + "dependencies": { + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmos-kit/core/node_modules/@cosmjs/tendermint-rpc": { + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.32.3.tgz", + "integrity": "sha512-xeprW+VR9xKGstqZg0H/KBZoUp8/FfFyS9ljIUTLM/UINjP2MhiwncANPS2KScfJVepGufUKk0/phHUeIBSEkw==", + "dependencies": { + "@cosmjs/crypto": "^0.32.3", + "@cosmjs/encoding": "^0.32.3", + "@cosmjs/json-rpc": "^0.32.3", + "@cosmjs/math": "^0.32.3", + "@cosmjs/socket": "^0.32.3", + "@cosmjs/stream": "^0.32.3", + "@cosmjs/utils": "^0.32.3", + "axios": "^1.6.0", + "readonly-date": "^1.0.0", + "xstream": "^11.14.0" + } + }, + "node_modules/@cosmos-kit/core/node_modules/@cosmjs/utils": { + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.32.3.tgz", + "integrity": "sha512-WCZK4yksj2hBDz4w7xFZQTRZQ/RJhBX26uFHmmQFIcNUUVAihrLO+RerqJgk0dZqC42wstM9pEUQGtPmLcIYvg==" + }, + "node_modules/@cosmos-kit/core/node_modules/axios": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.7.2.tgz", + "integrity": "sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==", + "dependencies": { + "follow-redirects": "^1.15.6", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/@cosmos-kit/core/node_modules/cosmjs-types": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.9.0.tgz", + "integrity": "sha512-MN/yUe6mkJwHnCFfsNPeCfXVhyxHYW6c/xDUzrSbBycYzw++XvWDMJArXp2pLdgD6FQ8DW79vkPjeNKVrXaHeQ==" + }, + "node_modules/@cosmos-kit/core/node_modules/pako": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/pako/-/pako-2.1.0.tgz", + "integrity": "sha512-w+eufiZ1WuJYgPXbV/PO3NCMEc3xqylkKHzp8bxp1uW4qaSNQUkwmLLEc3kKsfz8lpV1F8Ht3U1Cm+9Srog2ug==" + }, "node_modules/@cosmos-kit/core/node_modules/uuid": { "version": "9.0.1", "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", @@ -3028,6 +3192,42 @@ "uuid": "dist/bin/uuid" } }, + "node_modules/@cosmos-kit/cosmos-extension-metamask": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/@cosmos-kit/cosmos-extension-metamask/-/cosmos-extension-metamask-0.8.0.tgz", + "integrity": "sha512-wKF7BUpLZJcUrS7hNyFUKf9Un4UlaSPhvPMByCliQBMrKLebEiEvlUUnRqD7qyYATRvDLtEWY+e/RGCAC+yljw==", + "dependencies": { + "@chain-registry/keplr": "1.64.4", + "@cosmos-kit/core": "^2.12.0", + "@cosmsnap/snapper": "^0.1.23", + "cosmjs-types": ">=0.9.0" + }, + "peerDependencies": { + "@cosmjs/amino": ">=0.32.3", + "@cosmjs/proto-signing": ">=0.32.3" + } + }, + "node_modules/@cosmos-kit/cosmos-extension-metamask/node_modules/@chain-registry/keplr": { + "version": "1.64.4", + "resolved": "https://registry.npmjs.org/@chain-registry/keplr/-/keplr-1.64.4.tgz", + "integrity": "sha512-8/5FhWhH36Zo2oBkFtzauNfwWFbeIAp0PuiXztqqJluRkyFUUh4E4OcgHzqeT9C4hmAhoU4c7B0Bgc0QCYr82A==", + "dependencies": { + "@chain-registry/types": "^0.41.3", + "@keplr-wallet/cosmos": "0.12.28", + "@keplr-wallet/crypto": "0.12.28", + "semver": "^7.5.0" + } + }, + "node_modules/@cosmos-kit/cosmos-extension-metamask/node_modules/@chain-registry/types": { + "version": "0.41.4", + "resolved": "https://registry.npmjs.org/@chain-registry/types/-/types-0.41.4.tgz", + "integrity": "sha512-LeW2nXd0dmnI+TC4L2xC3RNooUthUfou1yFcdsinSW6EP9qEwo2BwwnWWAcMG+dsPvXfM4AfmisVBrxbX2OKqw==" + }, + "node_modules/@cosmos-kit/cosmos-extension-metamask/node_modules/cosmjs-types": { + "version": "0.9.0", + "resolved": "https://registry.npmjs.org/cosmjs-types/-/cosmjs-types-0.9.0.tgz", + "integrity": "sha512-MN/yUe6mkJwHnCFfsNPeCfXVhyxHYW6c/xDUzrSbBycYzw++XvWDMJArXp2pLdgD6FQ8DW79vkPjeNKVrXaHeQ==" + }, "node_modules/@cosmos-kit/cosmostation-extension": { "version": "2.6.4", "resolved": "https://registry.npmjs.org/@cosmos-kit/cosmostation-extension/-/cosmostation-extension-2.6.4.tgz", @@ -3153,6 +3353,41 @@ "resolved": "https://registry.npmjs.org/@cosmostation/extension-client/-/extension-client-0.1.15.tgz", "integrity": "sha512-HlXYJjFrNpjiV/GUKhri1UL8/bhlOIFFLpRF78YDSqq16x0+plIqx5CAvEusFcKTDpVfpeD5sfUHiKvP7euNFg==" }, + "node_modules/@cosmsnap/snapper": { + "version": "0.1.29", + "resolved": "https://registry.npmjs.org/@cosmsnap/snapper/-/snapper-0.1.29.tgz", + "integrity": "sha512-pnCdpIJzezKSeRMZzIA9A/LZxpwvXjN8XZK3J8rlX5xrVPrYvETL0hC7KeAxnRle9LcwKqv+AwebrHrHQwpvEQ==", + "dependencies": { + "@keplr-wallet/proto-types": "0.12.12", + "@keplr-wallet/types": "0.12.12", + "ses": "^0.18.4" + }, + "engines": { + "node": ">=16.0.0" + } + }, + "node_modules/@cosmsnap/snapper/node_modules/@keplr-wallet/proto-types": { + "version": "0.12.12", + "resolved": "https://registry.npmjs.org/@keplr-wallet/proto-types/-/proto-types-0.12.12.tgz", + "integrity": "sha512-iAqqNlJpxu/8j+SwOXEH2ymM4W0anfxn+eNeWuqz2c/0JxGTWeLURioxQmCtewtllfHdDHHcoQ7/S+NmXiaEgQ==", + "dependencies": { + "long": "^4.0.0", + "protobufjs": "^6.11.2" + } + }, + "node_modules/@cosmsnap/snapper/node_modules/@keplr-wallet/types": { + "version": "0.12.12", + "resolved": "https://registry.npmjs.org/@keplr-wallet/types/-/types-0.12.12.tgz", + "integrity": "sha512-fo6b8j9EXnJukGvZorifJWEm1BPIrvaTLuu5PqaU5k1ANDasm/FL1NaUuaTBVvhRjINtvVXqYpW/rVUinA9MBA==", + "dependencies": { + "long": "^4.0.0" + } + }, + "node_modules/@cosmsnap/snapper/node_modules/long": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", + "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" + }, "node_modules/@csstools/selector-specificity": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/@csstools/selector-specificity/-/selector-specificity-3.0.1.tgz", @@ -3175,6 +3410,30 @@ "postcss-selector-parser": "^6.0.13" } }, + "node_modules/@dao-dao/cosmiframe": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/@dao-dao/cosmiframe/-/cosmiframe-0.1.0.tgz", + "integrity": "sha512-NW4pGt1ctqDfhn/A6RU2vwnFEu3O4aBNnBMrGnw31n+L35drYNEsA9ZB7KZsHmRRlkNx+jSuJSv2Fv0BFBDDJQ==", + "dependencies": { + "uuid": "^9.0.1" + }, + "peerDependencies": { + "@cosmjs/amino": ">= ^0.32", + "@cosmjs/proto-signing": ">= ^0.32" + } + }, + "node_modules/@dao-dao/cosmiframe/node_modules/uuid": { + "version": "9.0.1", + "resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz", + "integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==", + "funding": [ + "https://github.com/sponsors/broofa", + "https://github.com/sponsors/ctavan" + ], + "bin": { + "uuid": "dist/bin/uuid" + } + }, "node_modules/@emotion/babel-plugin": { "version": "11.11.0", "resolved": "https://registry.npmjs.org/@emotion/babel-plugin/-/babel-plugin-11.11.0.tgz", @@ -14715,6 +14974,11 @@ "resolved": "https://registry.npmjs.org/bech32/-/bech32-1.1.4.tgz", "integrity": "sha512-s0IrSOzLlbvX7yp4WBfPITzpAU8sqQcpsmwXDiKwrG4r491vwCO/XpejasRNl0piBMe/DvP4Tz0mIS/X1DPJBQ==" }, + "node_modules/bfs-path": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/bfs-path/-/bfs-path-1.0.2.tgz", + "integrity": "sha512-KTKx2JJtAAAT7C/rJYDXXWA2VLPycAS4kwFktKsxUo0hj4UTtw/Gm5PJuY7Uf3xSlIQNo7HRCSWei2ivncVwbQ==" + }, "node_modules/big-integer": { "version": "1.6.51", "resolved": "https://registry.npmjs.org/big-integer/-/big-integer-1.6.51.tgz", @@ -17772,9 +18036,9 @@ } }, "node_modules/follow-redirects": { - "version": "1.15.1", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.1.tgz", - "integrity": "sha512-yLAMQs+k0b2m7cVxpS1VKJVvoz7SS9Td1zss3XRwXj+ZDH00RJgnuLx7E44wx02kQLrdM3aOOy+FpzS7+8OizA==", + "version": "1.15.6", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz", + "integrity": "sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==", "funding": [ { "type": "individual", @@ -21236,6 +21500,19 @@ "react": ">=17.0.0" } }, + "node_modules/nock": { + "version": "13.5.4", + "resolved": "https://registry.npmjs.org/nock/-/nock-13.5.4.tgz", + "integrity": "sha512-yAyTfdeNJGGBFxWdzSKCBYxs5FxLbCg5X5Q4ets974hcQzG1+qCxvIyOo4j2Ry6MUlhWVMX4OoYDefAIIwupjw==", + "dependencies": { + "debug": "^4.1.0", + "json-stringify-safe": "^5.0.1", + "propagate": "^2.0.0" + }, + "engines": { + "node": ">= 10.13" + } + }, "node_modules/node-abi": { "version": "3.8.0", "resolved": "https://registry.npmjs.org/node-abi/-/node-abi-3.8.0.tgz", @@ -22374,6 +22651,14 @@ "react-is": "^16.13.1" } }, + "node_modules/propagate": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/propagate/-/propagate-2.0.1.tgz", + "integrity": "sha512-vGrhOavPSTz4QVNuBNdcNXePNdNMaO1xj9yBeH1ScQPjk/rhg9sSlCXPhMkFuaNNW/syTvYqsnbIJxMBfRbbag==", + "engines": { + "node": ">= 8" + } + }, "node_modules/property-information": { "version": "6.1.1", "resolved": "https://registry.npmjs.org/property-information/-/property-information-6.1.1.tgz", @@ -23709,6 +23994,11 @@ "randombytes": "^2.1.0" } }, + "node_modules/ses": { + "version": "0.18.4", + "resolved": "https://registry.npmjs.org/ses/-/ses-0.18.4.tgz", + "integrity": "sha512-Ph0PC38Q7uutHmMM9XPqA7rp/2taiRwW6pIZJwTr4gz90DtrBvy/x7AmNPH2uqNPhKriZpYKvPi1xKWjM9xJuQ==" + }, "node_modules/set-blocking": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", diff --git a/deploy-web/package.json b/deploy-web/package.json index b4c183ccd..f05df79eb 100644 --- a/deploy-web/package.json +++ b/deploy-web/package.json @@ -22,6 +22,7 @@ "@cosmos-kit/cosmostation-extension": "^2.6.4", "@cosmos-kit/keplr": "^2.5.4", "@cosmos-kit/leap-extension": "^2.6.4", + "@cosmos-kit/cosmos-extension-metamask": "^0.8.0", "@cosmos-kit/react": "^2.9.20", "@emotion/cache": "^11.7.1", "@emotion/css": "^11.7.1", diff --git a/deploy-web/src/context/CustomChainProvider/CustomChainProvider.tsx b/deploy-web/src/context/CustomChainProvider/CustomChainProvider.tsx index 37a727ad3..9d9ead222 100644 --- a/deploy-web/src/context/CustomChainProvider/CustomChainProvider.tsx +++ b/deploy-web/src/context/CustomChainProvider/CustomChainProvider.tsx @@ -3,6 +3,7 @@ import { ChainProvider, useManager } from "@cosmos-kit/react"; import { wallets as keplr } from "@cosmos-kit/keplr"; import { wallets as leap } from "@cosmos-kit/leap-extension"; import { wallets as cosmostation } from "@cosmos-kit/cosmostation-extension"; +import { wallets as metamask } from "@cosmos-kit/cosmos-extension-metamask"; import { customRegistry } from "@src/utils/customRegistry"; import { GasPrice } from "@cosmjs/stargate"; import { akash, akashAssetList, akashSandbox, akashSandboxAssetList, akashTestnet, akashTestnetAssetList } from "@src/chains"; @@ -20,7 +21,7 @@ export function CustomChainProvider({ children }: Props) { {