From 1427970733f3442883c697aff1278b5b86903776 Mon Sep 17 00:00:00 2001 From: thal0x Date: Thu, 11 Apr 2024 03:51:44 -0500 Subject: [PATCH 1/3] bump cosmjs versions --- chain-registry | 2 +- package-lock.json | 261 ++++++++++++++++++++-------------------- package.json | 34 +++--- src/config/endpoints.js | 1 + src/utils/api.ts | 3 + 5 files changed, 155 insertions(+), 146 deletions(-) diff --git a/chain-registry b/chain-registry index f9ecad2f..45a57c3c 160000 --- a/chain-registry +++ b/chain-registry @@ -1 +1 @@ -Subproject commit f9ecad2f08be347a861573b1f09312a46b739004 +Subproject commit 45a57c3cd4e45f327e0750934960b9f30e69d7b0 diff --git a/package-lock.json b/package-lock.json index 14de2d90..163d3d08 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,14 +9,14 @@ "version": "0.1.0", "hasInstallScript": true, "dependencies": { - "@cosmjs/amino": "0.31.x", - "@cosmjs/cosmwasm-stargate": "0.31.x", - "@cosmjs/encoding": "0.31.x", - "@cosmjs/ledger-amino": "0.31.x", - "@cosmjs/math": "0.31.x", - "@cosmjs/proto-signing": "0.31.x", - "@cosmjs/stargate": "0.31.x", - "@cosmjs/tendermint-rpc": "0.31.x", + "@cosmjs/amino": "0.32.x", + "@cosmjs/cosmwasm-stargate": "0.32.x", + "@cosmjs/encoding": "0.32.x", + "@cosmjs/ledger-amino": "0.32.x", + "@cosmjs/math": "0.32.x", + "@cosmjs/proto-signing": "0.32.x", + "@cosmjs/stargate": "0.32.x", + "@cosmjs/tendermint-rpc": "0.32.x", "@cosmos-kit/core": "2.8.x", "@cosmos-kit/cosmostation": "2.6.x", "@cosmos-kit/cosmostation-extension": "^2.7.10", @@ -43,7 +43,7 @@ "@radix-ui/react-switch": "^1.0.3", "@radix-ui/react-tooltip": "^1.0.7", "@sentry/nextjs": "^7.99.0", - "@skip-router/core": "2.0.1", + "@skip-router/core": "2.1.0", "@solana/spl-token": "^0.4.1", "@solana/wallet-adapter-react": "^0.15.35", "@solana/wallet-adapter-wallets": "^0.19.31", @@ -2615,42 +2615,41 @@ } }, "node_modules/@cosmjs/amino": { - "version": "0.31.3", - "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.31.3.tgz", - "integrity": "sha512-36emtUq895sPRX8PTSOnG+lhJDCVyIcE0Tr5ct59sUbgQiI14y43vj/4WAlJ/utSOxy+Zhj9wxcs4AZfu0BHsw==", + "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.31.3", - "@cosmjs/encoding": "^0.31.3", - "@cosmjs/math": "^0.31.3", - "@cosmjs/utils": "^0.31.3" + "@cosmjs/crypto": "^0.32.3", + "@cosmjs/encoding": "^0.32.3", + "@cosmjs/math": "^0.32.3", + "@cosmjs/utils": "^0.32.3" } }, "node_modules/@cosmjs/cosmwasm-stargate": { - "version": "0.31.3", - "resolved": "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.31.3.tgz", - "integrity": "sha512-Uv9TmCn3650gdFeZm7SEfUZF3uX3lfJfFhXOk6I2ZLr/FrKximnlb+vwAfZaZnWYvlA7qrKtHIjeRNHvT23zcw==", - "dependencies": { - "@cosmjs/amino": "^0.31.3", - "@cosmjs/crypto": "^0.31.3", - "@cosmjs/encoding": "^0.31.3", - "@cosmjs/math": "^0.31.3", - "@cosmjs/proto-signing": "^0.31.3", - "@cosmjs/stargate": "^0.31.3", - "@cosmjs/tendermint-rpc": "^0.31.3", - "@cosmjs/utils": "^0.31.3", - "cosmjs-types": "^0.8.0", - "long": "^4.0.0", + "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/@cosmjs/crypto": { - "version": "0.31.3", - "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.31.3.tgz", - "integrity": "sha512-vRbvM9ZKR2017TO73dtJ50KxoGcFzKtKI7C8iO302BQ5p+DuB+AirUg1952UpSoLfv5ki9O416MFANNg8UN/EQ==", + "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.31.3", - "@cosmjs/math": "^0.31.3", - "@cosmjs/utils": "^0.31.3", + "@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", @@ -2658,9 +2657,9 @@ } }, "node_modules/@cosmjs/encoding": { - "version": "0.31.3", - "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.31.3.tgz", - "integrity": "sha512-6IRtG0fiVYwyP7n+8e54uTx2pLYijO48V3t9TLiROERm5aUAIzIlz6Wp0NYaI5he9nh1lcEGJ1lkquVKFw3sUg==", + "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", @@ -2668,11 +2667,11 @@ } }, "node_modules/@cosmjs/json-rpc": { - "version": "0.31.3", - "resolved": "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.31.3.tgz", - "integrity": "sha512-7LVYerXjnm69qqYR3uA6LGCrBW2EO5/F7lfJxAmY+iII2C7xO3a0vAjMSt5zBBh29PXrJVS6c2qRP22W1Le2Wg==", + "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.31.3", + "@cosmjs/stream": "^0.32.3", "xstream": "^11.14.0" } }, @@ -2721,108 +2720,97 @@ } }, "node_modules/@cosmjs/ledger-amino": { - "version": "0.31.3", - "resolved": "https://registry.npmjs.org/@cosmjs/ledger-amino/-/ledger-amino-0.31.3.tgz", - "integrity": "sha512-vJ9Pi23Ygx9eiFWULo4HYyig/8OASs8PpwtOo0PcOojLEIRS2XqKhvVPXKDXj2/FIugV46znjyrnD4QbiTCnkA==", - "dependencies": { - "@cosmjs/amino": "^0.31.3", - "@cosmjs/crypto": "^0.31.3", - "@cosmjs/encoding": "^0.31.3", - "@cosmjs/math": "^0.31.3", - "@cosmjs/utils": "^0.31.3", + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@cosmjs/ledger-amino/-/ledger-amino-0.32.3.tgz", + "integrity": "sha512-qmbfv+y1NmZYEgVO33vKNctgGUGUrB5toeUidsRaHKLu4jvBd2w9wRKw3W7hSmyIR+Oi5VMQBx1J/YCcqXHcaQ==", + "dependencies": { + "@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", "ledger-cosmos-js": "^2.1.8", "semver": "^7.5.2" } }, "node_modules/@cosmjs/math": { - "version": "0.31.3", - "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.31.3.tgz", - "integrity": "sha512-kZ2C6glA5HDb9hLz1WrftAjqdTBb3fWQsRR+Us2HsjAYdeE6M3VdXMsYCP5M3yiihal1WDwAY2U7HmfJw7Uh4A==", + "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": { - "version": "0.31.3", - "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.31.3.tgz", - "integrity": "sha512-24+10/cGl6lLS4VCrGTCJeDRPQTn1K5JfknzXzDIHOx8THR31JxA7/HV5eWGHqWgAbudA7ccdSvEK08lEHHtLA==", - "dependencies": { - "@cosmjs/amino": "^0.31.3", - "@cosmjs/crypto": "^0.31.3", - "@cosmjs/encoding": "^0.31.3", - "@cosmjs/math": "^0.31.3", - "@cosmjs/utils": "^0.31.3", - "cosmjs-types": "^0.8.0", - "long": "^4.0.0" + "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/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/socket": { - "version": "0.31.3", - "resolved": "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.31.3.tgz", - "integrity": "sha512-aqrDGGi7os/hsz5p++avI4L0ZushJ+ItnzbqA7C6hamFSCJwgOkXaOUs+K9hXZdX4rhY7rXO4PH9IH8q09JkTw==", + "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.31.3", + "@cosmjs/stream": "^0.32.3", "isomorphic-ws": "^4.0.1", "ws": "^7", "xstream": "^11.14.0" } }, "node_modules/@cosmjs/stargate": { - "version": "0.31.3", - "resolved": "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.31.3.tgz", - "integrity": "sha512-53NxnzmB9FfXpG4KjOUAYAvWLYKdEmZKsutcat/u2BrDXNZ7BN8jim/ENcpwXfs9/Og0K24lEIdvA4gsq3JDQw==", + "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.31.3", - "@cosmjs/encoding": "^0.31.3", - "@cosmjs/math": "^0.31.3", - "@cosmjs/proto-signing": "^0.31.3", - "@cosmjs/stream": "^0.31.3", - "@cosmjs/tendermint-rpc": "^0.31.3", - "@cosmjs/utils": "^0.31.3", - "cosmjs-types": "^0.8.0", - "long": "^4.0.0", - "protobufjs": "~6.11.3", + "@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/@cosmjs/stream": { - "version": "0.31.3", - "resolved": "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.31.3.tgz", - "integrity": "sha512-8keYyI7X0RjsLyVcZuBeNjSv5FA4IHwbFKx7H60NHFXszN8/MvXL6aZbNIvxtcIHHsW7K9QSQos26eoEWlAd+w==", + "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/@cosmjs/tendermint-rpc": { - "version": "0.31.3", - "resolved": "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.31.3.tgz", - "integrity": "sha512-s3TiWkPCW4QceTQjpYqn4xttUJH36mTPqplMl+qyocdqk5+X5mergzExU/pHZRWQ4pbby8bnR7kMvG4OC1aZ8g==", - "dependencies": { - "@cosmjs/crypto": "^0.31.3", - "@cosmjs/encoding": "^0.31.3", - "@cosmjs/json-rpc": "^0.31.3", - "@cosmjs/math": "^0.31.3", - "@cosmjs/socket": "^0.31.3", - "@cosmjs/stream": "^0.31.3", - "@cosmjs/utils": "^0.31.3", - "axios": "^0.21.2", + "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/@cosmjs/tendermint-rpc/node_modules/axios": { - "version": "0.21.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", - "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", - "dependencies": { - "follow-redirects": "^1.14.0" - } - }, "node_modules/@cosmjs/utils": { - "version": "0.31.3", - "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.31.3.tgz", - "integrity": "sha512-VBhAgzrrYdIe0O5IbKRqwszbQa7ZyQLx9nEQuHQ3HUplQW7P44COG/ye2n6AzCudtqxmwdX7nyX8ta1J07GoqA==" + "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": { "version": "2.8.9", @@ -6735,6 +6723,22 @@ "google-protobuf": "^3.14.0" } }, + "node_modules/@initia/initia-registry": { + "version": "0.1.2", + "resolved": "https://registry.npmjs.org/@initia/initia-registry/-/initia-registry-0.1.2.tgz", + "integrity": "sha512-aDll9BlpSsmyLTmIOirQi7PHJ1DR90gYkB2sfg/1VufKMoqHsnqErSK1/5JF5j7pEcqZ4mlHMWX0PlnGchV7YA==", + "dependencies": { + "@initia/initia-registry-types": "^0.0.12" + } + }, + "node_modules/@initia/initia-registry-types": { + "version": "0.0.12", + "resolved": "https://registry.npmjs.org/@initia/initia-registry-types/-/initia-registry-types-0.0.12.tgz", + "integrity": "sha512-7ay1q0vgAkMamAkNRIO6CTjwGfUg/Z3MSh6PehynSn11eJ3X+UMJVNs9mewWqjijz1ofMQkiUpt/7gVtzSPtLw==", + "dependencies": { + "zod": "^3.22.4" + } + }, "node_modules/@injectivelabs/core-proto-ts": { "version": "0.0.21", "resolved": "https://registry.npmjs.org/@injectivelabs/core-proto-ts/-/core-proto-ts-0.0.21.tgz", @@ -13438,17 +13442,18 @@ } }, "node_modules/@skip-router/core": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/@skip-router/core/-/core-2.0.1.tgz", - "integrity": "sha512-ssZsnkT0oGNHu4Mg+rbZDoUf+r03k7YDgvbRzqcG70Pq/PsNO5RrD1Tw52uDaOKd4uadC8Q4C6rIk3WaSUwImQ==", - "dependencies": { - "@cosmjs/amino": "0.31.x", - "@cosmjs/cosmwasm-stargate": "0.31.x", - "@cosmjs/encoding": "0.31.x", - "@cosmjs/math": "0.31.x", - "@cosmjs/proto-signing": "0.31.x", - "@cosmjs/stargate": "0.31.x", - "@cosmjs/tendermint-rpc": "0.31.x", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@skip-router/core/-/core-2.1.0.tgz", + "integrity": "sha512-1g/8OfBOKigQmfMme3uKqoF71fTAVtczXLIIVpjmB1LVWZapNIj6FoWfRSfCVbUZ5cagQ1W4B8gG0rwu1dZpTA==", + "dependencies": { + "@cosmjs/amino": "0.32.3", + "@cosmjs/cosmwasm-stargate": "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", + "@initia/initia-registry": "^0.1.1", "@injectivelabs/core-proto-ts": "0.0.x", "@injectivelabs/sdk-ts": "1.x", "@keplr-wallet/unit": "^0.12.67", @@ -13461,7 +13466,7 @@ "viem": "2.x" }, "peerDependencies": { - "chain-registry": "^1.28.0" + "chain-registry": "^1.33.11" } }, "node_modules/@skip-router/core/node_modules/@keplr-wallet/unit": { @@ -19552,18 +19557,18 @@ "integrity": "sha512-GWlXN4wiz0vdWWXBU71Dvc1q3aBo0HytqwAZnXF1wOwjqNnDWA1vZ1gDMFLlqohak31VQzmhiYfiCX5QSSfagA==" }, "node_modules/chain-registry": { - "version": "1.30.0", - "resolved": "https://registry.npmjs.org/chain-registry/-/chain-registry-1.30.0.tgz", - "integrity": "sha512-F1CzsWARx+B066JOLmEi58BorOIAmxm3pF/RqyRM21qUNVfeHPZjCh1JBjUyk8GgoK21e9aUxmcPlf7gZM0prA==", + "version": "1.33.25", + "resolved": "https://registry.npmjs.org/chain-registry/-/chain-registry-1.33.25.tgz", + "integrity": "sha512-tPfeBZAFgYQgroTR5TpfS0GDUsUm0ShNKRvDzrHpiUokSK4BfPxq7lFsCxvobj1TbzyaZyv5Jtelc0FqpLfh9g==", "dependencies": { "@babel/runtime": "^7.21.0", - "@chain-registry/types": "^0.18.1" + "@chain-registry/types": "^0.18.18" } }, "node_modules/chain-registry/node_modules/@chain-registry/types": { - "version": "0.18.1", - "resolved": "https://registry.npmjs.org/@chain-registry/types/-/types-0.18.1.tgz", - "integrity": "sha512-H/UnOyd7WdcWHa2FGKxy4MclDDFrbE2rFwaUh9oubNJOey7UBI4dNF10oZIWM/1by15LUgDz45fVbh6uA6W5Tg==", + "version": "0.18.18", + "resolved": "https://registry.npmjs.org/@chain-registry/types/-/types-0.18.18.tgz", + "integrity": "sha512-Hobj33zg/OhJGUd5PxSYj0cJHV3qoY8Ev60BeRnCsaBEbbQIUhT+rog/65rURFtKOWU3hGTCLP1hfm0XmcvbgQ==", "dependencies": { "@babel/runtime": "^7.21.0" } diff --git a/package.json b/package.json index e0727b84..020329b7 100644 --- a/package.json +++ b/package.json @@ -19,25 +19,25 @@ "visdeps": "bash ./src/scripts/visdeps.sh" }, "overrides": { - "@cosmjs/amino": "0.31.x", - "@cosmjs/cosmwasm-stargate": "0.31.x", - "@cosmjs/encoding": "0.31.x", - "@cosmjs/ledger-amino": "0.31.x", - "@cosmjs/math": "0.31.x", - "@cosmjs/proto-signing": "0.31.x", - "@cosmjs/stargate": "0.31.x", - "@cosmjs/tendermint-rpc": "0.31.x", + "@cosmjs/amino": "0.32.x", + "@cosmjs/cosmwasm-stargate": "0.32.x", + "@cosmjs/encoding": "0.32.x", + "@cosmjs/ledger-amino": "0.32.x", + "@cosmjs/math": "0.32.x", + "@cosmjs/proto-signing": "0.32.x", + "@cosmjs/stargate": "0.32.x", + "@cosmjs/tendermint-rpc": "0.32.x", "cosmjs-types": "0.8.x" }, "dependencies": { - "@cosmjs/amino": "0.31.x", - "@cosmjs/cosmwasm-stargate": "0.31.x", - "@cosmjs/encoding": "0.31.x", - "@cosmjs/ledger-amino": "0.31.x", - "@cosmjs/math": "0.31.x", - "@cosmjs/proto-signing": "0.31.x", - "@cosmjs/stargate": "0.31.x", - "@cosmjs/tendermint-rpc": "0.31.x", + "@cosmjs/amino": "0.32.x", + "@cosmjs/cosmwasm-stargate": "0.32.x", + "@cosmjs/encoding": "0.32.x", + "@cosmjs/ledger-amino": "0.32.x", + "@cosmjs/math": "0.32.x", + "@cosmjs/proto-signing": "0.32.x", + "@cosmjs/stargate": "0.32.x", + "@cosmjs/tendermint-rpc": "0.32.x", "@cosmos-kit/core": "2.8.x", "@cosmos-kit/cosmostation": "2.6.x", "@cosmos-kit/cosmostation-extension": "^2.7.10", @@ -64,7 +64,7 @@ "@radix-ui/react-switch": "^1.0.3", "@radix-ui/react-tooltip": "^1.0.7", "@sentry/nextjs": "^7.99.0", - "@skip-router/core": "2.0.1", + "@skip-router/core": "2.1.0", "@solana/spl-token": "^0.4.1", "@solana/wallet-adapter-react": "^0.15.35", "@solana/wallet-adapter-wallets": "^0.19.31", diff --git a/src/config/endpoints.js b/src/config/endpoints.js index 79e1e67c..00e76f28 100644 --- a/src/config/endpoints.js +++ b/src/config/endpoints.js @@ -149,6 +149,7 @@ exports.WHITELABEL_CHAIN_IDS = { "umee-1": true, "ununifi-beta-v1": true, "dimension_37-1": true, + "ssc-1": true, }; /** diff --git a/src/utils/api.ts b/src/utils/api.ts index 96806619..e63fb1e2 100644 --- a/src/utils/api.ts +++ b/src/utils/api.ts @@ -14,6 +14,9 @@ export function createProxyHandler(type: "api" | "rpc", fallbackFn?: FallbackEnd const [chainID, ...args] = req.url.split(splitter).pop()!.split("/"); let data = getWhitelabelEndpoint(chainID, type); + + console.log(chainID, data); + fallbackFn && (data ??= await fallbackFn(chainID)); if (!data) { From 9f52ba4aa657ed84adf3b2f5e01ce5db4a93129d Mon Sep 17 00:00:00 2001 From: thal0x Date: Thu, 11 Apr 2024 03:55:03 -0500 Subject: [PATCH 2/3] bump cosmjs versions --- package-lock.json | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/package-lock.json b/package-lock.json index ed17a63a..d4a3818f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19616,7 +19616,6 @@ "integrity": "sha512-GWlXN4wiz0vdWWXBU71Dvc1q3aBo0HytqwAZnXF1wOwjqNnDWA1vZ1gDMFLlqohak31VQzmhiYfiCX5QSSfagA==" }, "node_modules/chain-registry": { -<<<<<<< HEAD "version": "1.33.25", "resolved": "https://registry.npmjs.org/chain-registry/-/chain-registry-1.33.25.tgz", "integrity": "sha512-tPfeBZAFgYQgroTR5TpfS0GDUsUm0ShNKRvDzrHpiUokSK4BfPxq7lFsCxvobj1TbzyaZyv5Jtelc0FqpLfh9g==", @@ -19629,20 +19628,6 @@ "version": "0.18.18", "resolved": "https://registry.npmjs.org/@chain-registry/types/-/types-0.18.18.tgz", "integrity": "sha512-Hobj33zg/OhJGUd5PxSYj0cJHV3qoY8Ev60BeRnCsaBEbbQIUhT+rog/65rURFtKOWU3hGTCLP1hfm0XmcvbgQ==", -======= - "version": "1.33.18", - "resolved": "https://registry.npmjs.org/chain-registry/-/chain-registry-1.33.18.tgz", - "integrity": "sha512-6UOntjjmHRDk/+BdvT7Lq3x65p3Av5MHBCOLccXtoO9Pocj+wmkU/qhSTZ5Sg37/jdOK5WVZ5/pkk21yl623Gw==", - "dependencies": { - "@babel/runtime": "^7.21.0", - "@chain-registry/types": "^0.18.13" - } - }, - "node_modules/chain-registry/node_modules/@chain-registry/types": { - "version": "0.18.13", - "resolved": "https://registry.npmjs.org/@chain-registry/types/-/types-0.18.13.tgz", - "integrity": "sha512-E76M+9ldLxjzKYl6XOVqTraI8PpSbxJlmELIRfqubGm1hzaZT4RSFmeYdAILVllx2DUmkx8bjLSKB4CB9o6d/A==", ->>>>>>> staging "dependencies": { "@babel/runtime": "^7.21.0" } From f3943d28139a7d27089c743bf44fe99ba540662c Mon Sep 17 00:00:00 2001 From: thal0x Date: Thu, 11 Apr 2024 04:25:20 -0500 Subject: [PATCH 3/3] bump cosmjs versions --- initia-registry | 2 +- package-lock.json | 204 ++++++++++++++++++++++++---------------------- package.json | 32 ++++---- src/utils/api.ts | 2 - 4 files changed, 125 insertions(+), 115 deletions(-) diff --git a/initia-registry b/initia-registry index 7ddb1548..c235f74b 160000 --- a/initia-registry +++ b/initia-registry @@ -1 +1 @@ -Subproject commit 7ddb15484218d2104fd40b9687580b394d602ba7 +Subproject commit c235f74bd484aaee50e31646d1418d969b7191ee diff --git a/package-lock.json b/package-lock.json index d4a3818f..4fb8cac5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,14 +9,14 @@ "version": "0.1.0", "hasInstallScript": true, "dependencies": { - "@cosmjs/amino": "0.32.x", - "@cosmjs/cosmwasm-stargate": "0.32.x", - "@cosmjs/encoding": "0.32.x", - "@cosmjs/ledger-amino": "0.32.x", - "@cosmjs/math": "0.32.x", - "@cosmjs/proto-signing": "0.32.x", - "@cosmjs/stargate": "0.32.x", - "@cosmjs/tendermint-rpc": "0.32.x", + "@cosmjs/amino": "0.31.x", + "@cosmjs/cosmwasm-stargate": "0.31.x", + "@cosmjs/encoding": "0.31.x", + "@cosmjs/ledger-amino": "0.31.x", + "@cosmjs/math": "0.31.x", + "@cosmjs/proto-signing": "0.31.x", + "@cosmjs/stargate": "0.31.x", + "@cosmjs/tendermint-rpc": "0.31.x", "@cosmos-kit/core": "2.8.x", "@cosmos-kit/cosmostation": "2.6.x", "@cosmos-kit/cosmostation-extension": "^2.7.10", @@ -2636,41 +2636,42 @@ } }, "node_modules/@cosmjs/amino": { - "version": "0.32.3", - "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.32.3.tgz", - "integrity": "sha512-G4zXl+dJbqrz1sSJ56H/25l5NJEk/pAPIr8piAHgbXYw88OdAOlpA26PQvk2IbSN/rRgVbvlLTNgX2tzz1dyUA==", + "version": "0.31.3", + "resolved": "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.31.3.tgz", + "integrity": "sha512-36emtUq895sPRX8PTSOnG+lhJDCVyIcE0Tr5ct59sUbgQiI14y43vj/4WAlJ/utSOxy+Zhj9wxcs4AZfu0BHsw==", "dependencies": { - "@cosmjs/crypto": "^0.32.3", - "@cosmjs/encoding": "^0.32.3", - "@cosmjs/math": "^0.32.3", - "@cosmjs/utils": "^0.32.3" + "@cosmjs/crypto": "^0.31.3", + "@cosmjs/encoding": "^0.31.3", + "@cosmjs/math": "^0.31.3", + "@cosmjs/utils": "^0.31.3" } }, "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", + "version": "0.31.3", + "resolved": "https://registry.npmjs.org/@cosmjs/cosmwasm-stargate/-/cosmwasm-stargate-0.31.3.tgz", + "integrity": "sha512-Uv9TmCn3650gdFeZm7SEfUZF3uX3lfJfFhXOk6I2ZLr/FrKximnlb+vwAfZaZnWYvlA7qrKtHIjeRNHvT23zcw==", + "dependencies": { + "@cosmjs/amino": "^0.31.3", + "@cosmjs/crypto": "^0.31.3", + "@cosmjs/encoding": "^0.31.3", + "@cosmjs/math": "^0.31.3", + "@cosmjs/proto-signing": "^0.31.3", + "@cosmjs/stargate": "^0.31.3", + "@cosmjs/tendermint-rpc": "^0.31.3", + "@cosmjs/utils": "^0.31.3", + "cosmjs-types": "^0.8.0", + "long": "^4.0.0", "pako": "^2.0.2" } }, "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==", + "version": "0.31.3", + "resolved": "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.31.3.tgz", + "integrity": "sha512-vRbvM9ZKR2017TO73dtJ50KxoGcFzKtKI7C8iO302BQ5p+DuB+AirUg1952UpSoLfv5ki9O416MFANNg8UN/EQ==", "dependencies": { - "@cosmjs/encoding": "^0.32.3", - "@cosmjs/math": "^0.32.3", - "@cosmjs/utils": "^0.32.3", + "@cosmjs/encoding": "^0.31.3", + "@cosmjs/math": "^0.31.3", + "@cosmjs/utils": "^0.31.3", "@noble/hashes": "^1", "bn.js": "^5.2.0", "elliptic": "^6.5.4", @@ -2678,9 +2679,9 @@ } }, "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==", + "version": "0.31.3", + "resolved": "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.31.3.tgz", + "integrity": "sha512-6IRtG0fiVYwyP7n+8e54uTx2pLYijO48V3t9TLiROERm5aUAIzIlz6Wp0NYaI5he9nh1lcEGJ1lkquVKFw3sUg==", "dependencies": { "base64-js": "^1.3.0", "bech32": "^1.1.4", @@ -2688,11 +2689,11 @@ } }, "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==", + "version": "0.31.3", + "resolved": "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.31.3.tgz", + "integrity": "sha512-7LVYerXjnm69qqYR3uA6LGCrBW2EO5/F7lfJxAmY+iII2C7xO3a0vAjMSt5zBBh29PXrJVS6c2qRP22W1Le2Wg==", "dependencies": { - "@cosmjs/stream": "^0.32.3", + "@cosmjs/stream": "^0.31.3", "xstream": "^11.14.0" } }, @@ -2741,97 +2742,108 @@ } }, "node_modules/@cosmjs/ledger-amino": { - "version": "0.32.3", - "resolved": "https://registry.npmjs.org/@cosmjs/ledger-amino/-/ledger-amino-0.32.3.tgz", - "integrity": "sha512-qmbfv+y1NmZYEgVO33vKNctgGUGUrB5toeUidsRaHKLu4jvBd2w9wRKw3W7hSmyIR+Oi5VMQBx1J/YCcqXHcaQ==", - "dependencies": { - "@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", + "version": "0.31.3", + "resolved": "https://registry.npmjs.org/@cosmjs/ledger-amino/-/ledger-amino-0.31.3.tgz", + "integrity": "sha512-vJ9Pi23Ygx9eiFWULo4HYyig/8OASs8PpwtOo0PcOojLEIRS2XqKhvVPXKDXj2/FIugV46znjyrnD4QbiTCnkA==", + "dependencies": { + "@cosmjs/amino": "^0.31.3", + "@cosmjs/crypto": "^0.31.3", + "@cosmjs/encoding": "^0.31.3", + "@cosmjs/math": "^0.31.3", + "@cosmjs/utils": "^0.31.3", "ledger-cosmos-js": "^2.1.8", "semver": "^7.5.2" } }, "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==", + "version": "0.31.3", + "resolved": "https://registry.npmjs.org/@cosmjs/math/-/math-0.31.3.tgz", + "integrity": "sha512-kZ2C6glA5HDb9hLz1WrftAjqdTBb3fWQsRR+Us2HsjAYdeE6M3VdXMsYCP5M3yiihal1WDwAY2U7HmfJw7Uh4A==", "dependencies": { "bn.js": "^5.2.0" } }, "node_modules/@cosmjs/proto-signing": { - "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/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" + "version": "0.31.3", + "resolved": "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.31.3.tgz", + "integrity": "sha512-24+10/cGl6lLS4VCrGTCJeDRPQTn1K5JfknzXzDIHOx8THR31JxA7/HV5eWGHqWgAbudA7ccdSvEK08lEHHtLA==", + "dependencies": { + "@cosmjs/amino": "^0.31.3", + "@cosmjs/crypto": "^0.31.3", + "@cosmjs/encoding": "^0.31.3", + "@cosmjs/math": "^0.31.3", + "@cosmjs/utils": "^0.31.3", + "cosmjs-types": "^0.8.0", + "long": "^4.0.0" } }, "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==", + "version": "0.31.3", + "resolved": "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.31.3.tgz", + "integrity": "sha512-aqrDGGi7os/hsz5p++avI4L0ZushJ+ItnzbqA7C6hamFSCJwgOkXaOUs+K9hXZdX4rhY7rXO4PH9IH8q09JkTw==", "dependencies": { - "@cosmjs/stream": "^0.32.3", + "@cosmjs/stream": "^0.31.3", "isomorphic-ws": "^4.0.1", "ws": "^7", "xstream": "^11.14.0" } }, "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==", + "version": "0.31.3", + "resolved": "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.31.3.tgz", + "integrity": "sha512-53NxnzmB9FfXpG4KjOUAYAvWLYKdEmZKsutcat/u2BrDXNZ7BN8jim/ENcpwXfs9/Og0K24lEIdvA4gsq3JDQw==", "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", + "@cosmjs/amino": "^0.31.3", + "@cosmjs/encoding": "^0.31.3", + "@cosmjs/math": "^0.31.3", + "@cosmjs/proto-signing": "^0.31.3", + "@cosmjs/stream": "^0.31.3", + "@cosmjs/tendermint-rpc": "^0.31.3", + "@cosmjs/utils": "^0.31.3", + "cosmjs-types": "^0.8.0", + "long": "^4.0.0", + "protobufjs": "~6.11.3", "xstream": "^11.14.0" } }, "node_modules/@cosmjs/stream": { - "version": "0.32.3", - "resolved": "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.32.3.tgz", - "integrity": "sha512-J2zVWDojkynYifAUcRmVczzmp6STEpyiAARq0rSsviqjreGIfspfuws/8rmkPa6qQBZvpQOBQCm2HyZZwYplIw==", + "version": "0.31.3", + "resolved": "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.31.3.tgz", + "integrity": "sha512-8keYyI7X0RjsLyVcZuBeNjSv5FA4IHwbFKx7H60NHFXszN8/MvXL6aZbNIvxtcIHHsW7K9QSQos26eoEWlAd+w==", "dependencies": { "xstream": "^11.14.0" } }, "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", + "version": "0.31.3", + "resolved": "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.31.3.tgz", + "integrity": "sha512-s3TiWkPCW4QceTQjpYqn4xttUJH36mTPqplMl+qyocdqk5+X5mergzExU/pHZRWQ4pbby8bnR7kMvG4OC1aZ8g==", + "dependencies": { + "@cosmjs/crypto": "^0.31.3", + "@cosmjs/encoding": "^0.31.3", + "@cosmjs/json-rpc": "^0.31.3", + "@cosmjs/math": "^0.31.3", + "@cosmjs/socket": "^0.31.3", + "@cosmjs/stream": "^0.31.3", + "@cosmjs/utils": "^0.31.3", + "axios": "^0.21.2", "readonly-date": "^1.0.0", "xstream": "^11.14.0" } }, + "node_modules/@cosmjs/tendermint-rpc/node_modules/axios": { + "version": "0.21.4", + "resolved": "https://registry.npmjs.org/axios/-/axios-0.21.4.tgz", + "integrity": "sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==", + "dependencies": { + "follow-redirects": "^1.14.0" + } + }, "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==" + "version": "0.31.3", + "resolved": "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.31.3.tgz", + "integrity": "sha512-VBhAgzrrYdIe0O5IbKRqwszbQa7ZyQLx9nEQuHQ3HUplQW7P44COG/ye2n6AzCudtqxmwdX7nyX8ta1J07GoqA==" }, "node_modules/@cosmos-kit/core": { "version": "2.8.9", diff --git a/package.json b/package.json index 880e0b90..fa2dc7a0 100644 --- a/package.json +++ b/package.json @@ -19,25 +19,25 @@ "visdeps": "bash ./src/scripts/visdeps.sh" }, "overrides": { - "@cosmjs/amino": "0.32.x", - "@cosmjs/cosmwasm-stargate": "0.32.x", - "@cosmjs/encoding": "0.32.x", - "@cosmjs/ledger-amino": "0.32.x", - "@cosmjs/math": "0.32.x", - "@cosmjs/proto-signing": "0.32.x", - "@cosmjs/stargate": "0.32.x", - "@cosmjs/tendermint-rpc": "0.32.x", + "@cosmjs/amino": "0.31.x", + "@cosmjs/cosmwasm-stargate": "0.31.x", + "@cosmjs/encoding": "0.31.x", + "@cosmjs/ledger-amino": "0.31.x", + "@cosmjs/math": "0.31.x", + "@cosmjs/proto-signing": "0.31.x", + "@cosmjs/stargate": "0.31.x", + "@cosmjs/tendermint-rpc": "0.31.x", "cosmjs-types": "0.8.x" }, "dependencies": { - "@cosmjs/amino": "0.32.x", - "@cosmjs/cosmwasm-stargate": "0.32.x", - "@cosmjs/encoding": "0.32.x", - "@cosmjs/ledger-amino": "0.32.x", - "@cosmjs/math": "0.32.x", - "@cosmjs/proto-signing": "0.32.x", - "@cosmjs/stargate": "0.32.x", - "@cosmjs/tendermint-rpc": "0.32.x", + "@cosmjs/amino": "0.31.x", + "@cosmjs/cosmwasm-stargate": "0.31.x", + "@cosmjs/encoding": "0.31.x", + "@cosmjs/ledger-amino": "0.31.x", + "@cosmjs/math": "0.31.x", + "@cosmjs/proto-signing": "0.31.x", + "@cosmjs/stargate": "0.31.x", + "@cosmjs/tendermint-rpc": "0.31.x", "@cosmos-kit/core": "2.8.x", "@cosmos-kit/cosmostation": "2.6.x", "@cosmos-kit/cosmostation-extension": "^2.7.10", diff --git a/src/utils/api.ts b/src/utils/api.ts index e63fb1e2..a5fdbb7f 100644 --- a/src/utils/api.ts +++ b/src/utils/api.ts @@ -15,8 +15,6 @@ export function createProxyHandler(type: "api" | "rpc", fallbackFn?: FallbackEnd let data = getWhitelabelEndpoint(chainID, type); - console.log(chainID, data); - fallbackFn && (data ??= await fallbackFn(chainID)); if (!data) {