add custom app support for otherchains

This commit is contained in:
liangping 2022-05-03 11:11:43 +08:00
parent 455f69bbc9
commit 9c52ddb1b5
5 changed files with 209 additions and 133 deletions

4
package-lock.json generated
View File

@ -3,10 +3,12 @@
"version": "0.1.0",
"lockfileVersion": 2,
"requires": true,
"license": "GPL-2.0",
"packages": {
"": {
"name": "ping-wallet",
"version": "0.1.0",
"license": "GPL-2.0",
"dependencies": {
"@casl/ability": "4.1.6",
"@casl/vue": "1.1.1",
@ -33,7 +35,7 @@
"bootstrap-vue": "2.21.1",
"chart.js": "2.9.4",
"compare-versions": "^3.6.0",
"core-js": "3.8.1",
"core-js": "^3.8.1",
"cosmjs-types": "^0.2.0",
"dayjs": "^1.10.6",
"echarts": "5.3.0",

View File

@ -1,7 +1,10 @@
{
"name": "ping-wallet",
"license": "GPL-2.0",
"version": "0.1.0",
"private": true,
"author": {
"name": "ping.pub"
},
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
@ -11,14 +14,14 @@
"dependencies": {
"@casl/ability": "4.1.6",
"@casl/vue": "1.1.1",
"@cosmjs/amino": "^0.26.5",
"@cosmjs/crypto": "^0.26.5",
"@cosmjs/encoding": "^0.26.5",
"@cosmjs/launchpad": "^0.26.5",
"@cosmjs/ledger-amino": "^0.26.5",
"@cosmjs/math": "^0.26.5",
"@cosmjs/proto-signing": "^0.26.5",
"@cosmjs/stargate": "0.26.5",
"@cosmjs/amino": "^0.28.4",
"@cosmjs/crypto": "^0.28.4",
"@cosmjs/encoding": "^0.28.4",
"@cosmjs/launchpad": "^0.28.4",
"@cosmjs/ledger-amino": "^0.28.4",
"@cosmjs/math": "^0.28.4",
"@cosmjs/proto-signing": "^0.28.4",
"@cosmjs/stargate": "0.28.4",
"@intlify/vue-i18n-loader": "^2.1.2",
"@ledgerhq/hw-app-cosmos": "^6.3.0",
"@ledgerhq/hw-transport-web-ble": "^6.3.0",
@ -34,7 +37,7 @@
"bootstrap-vue": "2.21.1",
"chart.js": "2.9.4",
"compare-versions": "^3.6.0",
"core-js": "3.8.1",
"core-js": "^3.8.1",
"cosmjs-types": "^0.2.0",
"dayjs": "^1.10.6",
"echarts": "5.3.0",

View File

@ -193,23 +193,34 @@ function getHdPath(address) {
return stringToPath(hdPath)
}
function getLedgerAppName(coinType) {
switch (coinType) {
case 60:
return 'Ethereum'
case 523:
return 'Secret'
case 852:
return 'Desmos'
case 118:
default:
return 'Cosmos'
}
}
export async function sign(device, chainId, signerAddress, messages, fee, memo, signerData) {
let transport
let signer
const hdpath = getHdPath(signerAddress)
const coinType = Number(hdpath[1])
const ledgerName = getLedgerAppName(coinType)
switch (device) {
case 'ledgerBle':
transport = await TransportWebBLE.create()
signer = new LedgerSigner(transport, { hdPaths: [getHdPath(signerAddress)] })
signer = new LedgerSigner(transport, { hdPaths: [hdpath], ledgerAppName: ledgerName })
break
case 'ledgerUSB':
transport = await TransportWebUSB.create()
signer = new LedgerSigner(transport, { hdPaths: [getHdPath(signerAddress)] })
break
case 'pingKMS':
if (!window.PingSigner) {
throw new Error('Please install Ping KMS extension')
}
signer = window.PingSigner
signer = new LedgerSigner(transport, { hdPaths: [hdpath], ledgerAppName: ledgerName })
break
case 'keplr':
default:
@ -235,7 +246,7 @@ export async function getLedgerAddress(transport = 'blu', hdPath = "m/44'/118/0'
// extract Cointype from from HDPath
const coinType = Number(stringToPath(hdPath)[1])
// Check if Cointype is 529 for Secret Ledger App and use Cosmos Ledger App instead
const ledgerName = (coinType === 529) ? 'Secret' : 'Cosmos'
const ledgerName = getLedgerAppName(coinType)
const signer = new LedgerSigner(trans, { hdPaths: [stringToPath(hdPath)], ledgerAppName: ledgerName })
return signer.getAccounts()

View File

@ -378,7 +378,7 @@ router.beforeEach((to, from, next) => {
const c = to.params.chain
if (c) {
store.commit('select', { chain_name: c })
store.dispatch('chains/getAllIBCDenoms', Vue.prototype)
// store.dispatch('chains/getAllIBCDenoms', Vue.prototype)
}
const config = JSON.parse(localStorage.getItem('chains'))

284
yarn.lock
View File

@ -915,158 +915,203 @@
resolved "https://registry.npmjs.org/@casl/vue/-/vue-1.1.1.tgz"
integrity sha512-lJnPGJ2sdid22IGNPegWsMH0136WSMKZqqZb2YjLWL/vsRvw+wuLZE+yaR7enEfETmH5KZE55WAfXpyZgy99hQ==
"@confio/ics23@^0.6.3":
version "0.6.5"
resolved "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.5.tgz"
integrity sha512-1GdPMsaP/l8JSF4P4HWFLBhdcxHcJT8lS0nknBYNSZ1XrJOsJKUy6EkOwd9Pa1qJkXzY2gyNv7MdHR+AIwSTAg==
"@confio/ics23@^0.6.8":
version "0.6.8"
resolved "https://registry.yarnpkg.com/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d"
integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w==
dependencies:
js-sha512 "^0.8.0"
"@noble/hashes" "^1.0.0"
protobufjs "^6.8.8"
ripemd160 "^2.0.2"
sha.js "^2.4.11"
"@cosmjs/amino@0.26.5", "@cosmjs/amino@^0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.26.5.tgz"
integrity sha512-RFf9P1eb7O60JEWaZ5jbQA0wVbwU4SiBJINEjZkhkB1vUrAxCkfSHBZdJrVg8+IIRSWxPUUVr8PMuIyWlORV3A==
"@cosmjs/amino@0.27.1":
version "0.27.1"
resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.27.1.tgz#0910256b5aecd794420bb5f7319d98fc63252fa1"
integrity sha512-w56ar/nK9+qlvWDpBPRmD0Blk2wfkkLqRi1COs1x7Ll1LF0AtkIBUjbRKplENLbNovK0T3h+w8bHiFm+GBGQOA==
dependencies:
"@cosmjs/crypto" "0.26.5"
"@cosmjs/encoding" "0.26.5"
"@cosmjs/math" "0.26.5"
"@cosmjs/utils" "0.26.5"
"@cosmjs/crypto" "0.27.1"
"@cosmjs/encoding" "0.27.1"
"@cosmjs/math" "0.27.1"
"@cosmjs/utils" "0.27.1"
"@cosmjs/crypto@0.26.5", "@cosmjs/crypto@^0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.26.5.tgz"
integrity sha512-ab7+qR/gdRi/DIdOLrjyimRdyD/2K/JdpRaFY1bl6Drr3ktVjDQrGsv53THvHONy33yCwD+YS+328ayQRv/pQA==
"@cosmjs/amino@0.28.4", "@cosmjs/amino@^0.28.4":
version "0.28.4"
resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.28.4.tgz#9315f6876dba80148cf715ced44d1dc7a9b68b94"
integrity sha512-b8y5gFC0eGrH0IoYSNtDmTdsTgeQ1KFZ5YVOeIiKmzF91MeiciYO/MNqc027kctacZ+UbnVWGEUGyRBPi9ta/g==
dependencies:
"@cosmjs/encoding" "0.26.5"
"@cosmjs/math" "0.26.5"
"@cosmjs/utils" "0.26.5"
"@cosmjs/crypto" "0.28.4"
"@cosmjs/encoding" "0.28.4"
"@cosmjs/math" "0.28.4"
"@cosmjs/utils" "0.28.4"
"@cosmjs/crypto@0.27.1":
version "0.27.1"
resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.27.1.tgz#271c853089a3baf3acd6cf0b2122fd49f8815743"
integrity sha512-vbcxwSt99tIYJg8Spp00wc3zx72qx+pY3ozGuBN8gAvySnagK9dQ/jHwtWQWdammmdD6oW+75WfIHZ+gNa+Ybg==
dependencies:
"@cosmjs/encoding" "0.27.1"
"@cosmjs/math" "0.27.1"
"@cosmjs/utils" "0.27.1"
bip39 "^3.0.2"
bn.js "^4.11.8"
bn.js "^5.2.0"
elliptic "^6.5.3"
js-sha3 "^0.8.0"
libsodium-wrappers "^0.7.6"
ripemd160 "^2.0.2"
sha.js "^2.4.11"
"@cosmjs/encoding@0.26.5", "@cosmjs/encoding@^0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.26.5.tgz"
integrity sha512-lkw2mLvDZJqVCOZCBqdMzoGUtC4CN7c4+WMCGKDej3TpC0khsv7KZ1eFcsnN6EuZwHyGH67uyyjrs5x0ah9rYg==
"@cosmjs/crypto@0.28.4", "@cosmjs/crypto@^0.28.4":
version "0.28.4"
resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.28.4.tgz#b2f1ccb9edee7d357ed1dcd92bdb61f6a1ca06d3"
integrity sha512-JRxNLlED3DDh9d04A0RcRw3mYkoobN7q7wafUFy3vI1TjoyWx33v0gqqaYE6/hoo9ghUrJSVOfzVihl8fZajJA==
dependencies:
"@cosmjs/encoding" "0.28.4"
"@cosmjs/math" "0.28.4"
"@cosmjs/utils" "0.28.4"
"@noble/hashes" "^1"
bn.js "^5.2.0"
elliptic "^6.5.3"
libsodium-wrappers "^0.7.6"
"@cosmjs/encoding@0.27.1":
version "0.27.1"
resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.27.1.tgz#3cd5bc0af743485eb2578cdb08cfa84c86d610e1"
integrity sha512-rayLsA0ojHeniaRfWWcqSsrE/T1rl1gl0OXVNtXlPwLJifKBeLEefGbOUiAQaT0wgJ8VNGBazVtAZBpJidfDhw==
dependencies:
base64-js "^1.3.0"
bech32 "^1.1.4"
readonly-date "^1.0.0"
"@cosmjs/json-rpc@0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.26.5.tgz"
integrity sha512-SFGm5MlY54v3I26hXThwVteh91U+/DKS+KGqFL5lPLHZ2EHxggASqhKMiTJBMJVUDWvnmv1ikjFndkWNhpTPNw==
"@cosmjs/encoding@0.28.4", "@cosmjs/encoding@^0.28.4":
version "0.28.4"
resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.28.4.tgz#ea39eb4c27ebf7b35e62e9898adae189b86d0da7"
integrity sha512-N6Qnjs4dd8KwjW5m9t3L+rWYYGW2wyS+iLtJJ9DD8DiTTxpW9h7/AmUVO/dsRe5H2tV8/DzH/B9pFfpsgro22A==
dependencies:
"@cosmjs/stream" "0.26.5"
base64-js "^1.3.0"
bech32 "^1.1.4"
readonly-date "^1.0.0"
"@cosmjs/json-rpc@0.28.4":
version "0.28.4"
resolved "https://registry.yarnpkg.com/@cosmjs/json-rpc/-/json-rpc-0.28.4.tgz#19bc38b895bbb74122832a22aea5b25087143636"
integrity sha512-An8ZQi9OKbnS8ew/MyHhF90zQpXBF8RTj2wdvIH+Hr8yA6QjynY8hxRpUwYUt3Skc5NeUnTZNuWCzlluHnoxVg==
dependencies:
"@cosmjs/stream" "0.28.4"
xstream "^11.14.0"
"@cosmjs/launchpad@^0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.26.5.tgz"
integrity sha512-V+9bLlvlybm9TeqXAoD10KxFHK5exoUYHIoKdj03g78E2oOn82bLRMNs9ti5UtWWOzIe9suyv5/OvunTSlvA7Q==
"@cosmjs/launchpad@^0.28.4":
version "0.27.1"
resolved "https://registry.yarnpkg.com/@cosmjs/launchpad/-/launchpad-0.27.1.tgz#b6f1995748be96560f5f01e84d3ff907477dda77"
integrity sha512-DcFwGD/z5PK8CzO2sojDxa+Be9EIEtRZb2YawgVnw2Ht/p5FlNv+OVo8qlishpBdalXEN7FvQ1dVeDFEe9TuJw==
dependencies:
"@cosmjs/amino" "0.26.5"
"@cosmjs/crypto" "0.26.5"
"@cosmjs/encoding" "0.26.5"
"@cosmjs/math" "0.26.5"
"@cosmjs/utils" "0.26.5"
"@cosmjs/amino" "0.27.1"
"@cosmjs/crypto" "0.27.1"
"@cosmjs/encoding" "0.27.1"
"@cosmjs/math" "0.27.1"
"@cosmjs/utils" "0.27.1"
axios "^0.21.2"
fast-deep-equal "^3.1.3"
"@cosmjs/ledger-amino@^0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/ledger-amino/-/ledger-amino-0.26.5.tgz"
integrity sha512-UY3OsohGamLXp1P3M7hIW/Wk7Jj04xfFipyw+n4JQ0KSFrniju5idM89kqLELTimXptdI15TaivfHb4MJqfh7g==
"@cosmjs/ledger-amino@^0.28.4":
version "0.28.4"
resolved "https://registry.yarnpkg.com/@cosmjs/ledger-amino/-/ledger-amino-0.28.4.tgz#1762cdf2572731d529aad7ac20472b7ddbf0d93a"
integrity sha512-SdKGk3jElpF5lbBJ8f/xvgk1GkItezpaZosAeOIgyzeGfDJL/nPFl0K0vs9L2PLCzLPEScA+9EocMC7F90UA4w==
dependencies:
"@cosmjs/amino" "0.26.5"
"@cosmjs/crypto" "0.26.5"
"@cosmjs/encoding" "0.26.5"
"@cosmjs/math" "0.26.5"
"@cosmjs/utils" "0.26.5"
"@cosmjs/amino" "0.28.4"
"@cosmjs/crypto" "0.28.4"
"@cosmjs/encoding" "0.28.4"
"@cosmjs/math" "0.28.4"
"@cosmjs/utils" "0.28.4"
ledger-cosmos-js "^2.1.8"
semver "^7.3.2"
"@cosmjs/math@0.26.5", "@cosmjs/math@^0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.26.5.tgz"
integrity sha512-1G7NgLJ35g4jUupvyu7Igtgu/fj2NmgpOofpNk1JqIwMXrm3Tx7lOWbxJq8Wrjj2EoH7FNytSO1dXNGeK15UJw==
"@cosmjs/math@0.27.1":
version "0.27.1"
resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.27.1.tgz#be78857b008ffc6b1ed6fecaa1c4cd5bc38c07d7"
integrity sha512-cHWVjmfIjtRc7f80n7x+J5k8pe+vTVTQ0lA82tIxUgqUvgS6rogPP/TmGtTiZ4+NxWxd11DUISY6gVpr18/VNQ==
dependencies:
bn.js "^4.11.8"
bn.js "^5.2.0"
"@cosmjs/proto-signing@0.26.5", "@cosmjs/proto-signing@^0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.26.5.tgz"
integrity sha512-F94Uh+PX9nF5zGzUHMdEGgys+YCOudaWQehiHBfOjbHUIv0khufcRXs3l9/5dKzizz9ouQ5DHQAiWq/nYKZKqA==
"@cosmjs/math@0.28.4", "@cosmjs/math@^0.28.4":
version "0.28.4"
resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.28.4.tgz#ddc35b69fa1ffeaf5928f70d4c2faf9284627d84"
integrity sha512-wsWjbxFXvk46Dsx8jQ5vsBZOIQuiUIyaaZbUvxsgIhAMpuuBnV5O/drK87+B+4cL+umTelFqTbWnkqueVCIFxQ==
dependencies:
"@cosmjs/amino" "0.26.5"
"@cosmjs/crypto" "0.26.5"
"@cosmjs/math" "0.26.5"
cosmjs-types "^0.2.0"
bn.js "^5.2.0"
"@cosmjs/proto-signing@0.28.4", "@cosmjs/proto-signing@^0.28.4":
version "0.28.4"
resolved "https://registry.yarnpkg.com/@cosmjs/proto-signing/-/proto-signing-0.28.4.tgz#7007651042bd05b3eee7e1c8562417bbed630198"
integrity sha512-4vgCLK9gOsdWzD78V5XbAsupSSyntPEzokWYhgRQNwgVTcKX1kg0eKZqUvF5ua5iL9x6MevfH/sgwPyiYleMBw==
dependencies:
"@cosmjs/amino" "0.28.4"
"@cosmjs/crypto" "0.28.4"
"@cosmjs/encoding" "0.28.4"
"@cosmjs/math" "0.28.4"
"@cosmjs/utils" "0.28.4"
cosmjs-types "^0.4.0"
long "^4.0.0"
protobufjs "~6.10.2"
"@cosmjs/socket@0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.26.5.tgz"
integrity sha512-kBpXw9wuNHkO1AGuKgDA4/DOA+jZ6Lt0GVJVJIJ6bfjGbsewsNVocktAiH+1dGb47xXg2oH7OwGJL+B/PB3qPQ==
"@cosmjs/socket@0.28.4":
version "0.28.4"
resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.28.4.tgz#f2c337bee18c631739ba6c2357fe564dbf17df45"
integrity sha512-jAEL3Ri+s8XuBM3mqgO4yvmeQu+R+704V37lGROC1B6kAbGxWRyOWrMdOOiFJzCZ35sSMB7L+xKjpE8ug0vJjg==
dependencies:
"@cosmjs/stream" "0.26.5"
"@cosmjs/stream" "0.28.4"
isomorphic-ws "^4.0.1"
ws "^7"
xstream "^11.14.0"
"@cosmjs/stargate@0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.26.5.tgz"
integrity sha512-rnRptbn01zXAa29272XZgxvH6zemPAvlE9/qGouRXpUm3ilHU+PscAq2k1pD17qtOKWRBLY2+x4feXYHwJg9VA==
"@cosmjs/stargate@0.28.4":
version "0.28.4"
resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.28.4.tgz#a5acbaa3451f7c853739064f799dec21097a06df"
integrity sha512-tdwudilP5iLNwDm4TOMBjWuL5YehLPqGlC5/7hjJM/kVHyzLFo4Lzt0dVEwr5YegH+RsRXH/VtFLQz+NYlCobw==
dependencies:
"@confio/ics23" "^0.6.3"
"@cosmjs/amino" "0.26.5"
"@cosmjs/encoding" "0.26.5"
"@cosmjs/math" "0.26.5"
"@cosmjs/proto-signing" "0.26.5"
"@cosmjs/stream" "0.26.5"
"@cosmjs/tendermint-rpc" "0.26.5"
"@cosmjs/utils" "0.26.5"
cosmjs-types "^0.2.0"
"@confio/ics23" "^0.6.8"
"@cosmjs/amino" "0.28.4"
"@cosmjs/encoding" "0.28.4"
"@cosmjs/math" "0.28.4"
"@cosmjs/proto-signing" "0.28.4"
"@cosmjs/stream" "0.28.4"
"@cosmjs/tendermint-rpc" "0.28.4"
"@cosmjs/utils" "0.28.4"
cosmjs-types "^0.4.0"
long "^4.0.0"
protobufjs "~6.10.2"
xstream "^11.14.0"
"@cosmjs/stream@0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.26.5.tgz"
integrity sha512-CIr/8bkRlLl36LAtbapsKxA7cMVhmPPWTihAcXgBXik1FM/0XCVNETPTQ64HX47eNQuP5AhWwaMoO553Sf9T2w==
"@cosmjs/stream@0.28.4":
version "0.28.4"
resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.28.4.tgz#88a294c2404107327f8e293b952db047ab182179"
integrity sha512-BDwDdFOrOgRx/Wm5nknb9YCV9HHIUcsOxykTDZqdArCUsn4QJBq79QIjp919G05Z8UemkoHwiUCUNB2BfoKmFw==
dependencies:
xstream "^11.14.0"
"@cosmjs/tendermint-rpc@0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.26.5.tgz"
integrity sha512-bBcFgpTHEP15m8n/bG3cx/LO110sScpEvYvurZDewfy7MW8WETF6sYZaPCGfVDGWde1EPjFLwKKxQ1Da/XoK0A==
"@cosmjs/tendermint-rpc@0.28.4":
version "0.28.4"
resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.28.4.tgz#78835fdc8126baa3122c8b2b396c1d7d290c7167"
integrity sha512-iz6p4UW2QUZNh55WeJy9wHbMdqM8COo0AJdrGU4Ikb/xU0/H6b0dFPoEK+i6ngR0cSizh+hpTMzh3AA7ySUKlA==
dependencies:
"@cosmjs/crypto" "0.26.5"
"@cosmjs/encoding" "0.26.5"
"@cosmjs/json-rpc" "0.26.5"
"@cosmjs/math" "0.26.5"
"@cosmjs/socket" "0.26.5"
"@cosmjs/stream" "0.26.5"
"@cosmjs/crypto" "0.28.4"
"@cosmjs/encoding" "0.28.4"
"@cosmjs/json-rpc" "0.28.4"
"@cosmjs/math" "0.28.4"
"@cosmjs/socket" "0.28.4"
"@cosmjs/stream" "0.28.4"
"@cosmjs/utils" "0.28.4"
axios "^0.21.2"
readonly-date "^1.0.0"
xstream "^11.14.0"
"@cosmjs/utils@0.26.5":
version "0.26.5"
resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.26.5.tgz"
integrity sha512-VB4Z7lEIXA36q0RON15KexzEosToUtdDyMv7UXSBHSl4mLG/fIZgBIpBEYsaPZ1kh43xyINeKQJiGCp2z5rI+g==
"@cosmjs/utils@0.27.1":
version "0.27.1"
resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.27.1.tgz#1c8efde17256346ef142a3bd15158ee4055470e2"
integrity sha512-VG7QPDiMUzVPxRdJahDV8PXxVdnuAHiIuG56hldV4yPnOz/si/DLNd7VAUUA5923b6jS1Hhev0Hr6AhEkcxBMg==
"@cosmjs/utils@0.28.4":
version "0.28.4"
resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.28.4.tgz#ecbc72458cdaffa6eeef572bc691502b3151330f"
integrity sha512-lb3TU6833arPoPZF8HTeG9V418CpurvqH5Aa/ls0I0wYdPDEMO6622+PQNQhQ8Vw8Az2MXoSyc8jsqrgawT84Q==
"@gar/promisify@^1.0.1":
version "1.1.3"
@ -1294,6 +1339,11 @@
call-me-maybe "^1.0.1"
glob-to-regexp "^0.3.0"
"@noble/hashes@^1", "@noble/hashes@^1.0.0":
version "1.0.0"
resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.0.0.tgz#d5e38bfbdaba174805a4e649f13be9a9ed3351ae"
integrity sha512-DZVbtY62kc3kkBtMHqwCOfXrT/hnoORy5BJ4+HU1IR59X0KWAOqsfzQPcUl/lQLlG7qXbe/fZ3r/emxtAl+sqg==
"@nodelib/fs.stat@^1.1.2":
version "1.1.3"
resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz"
@ -2415,6 +2465,13 @@ axios@0.21.2:
dependencies:
follow-redirects "^1.14.0"
axios@^0.21.2:
version "0.21.4"
resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575"
integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==
dependencies:
follow-redirects "^1.14.0"
babel-eslint@^10.0.3:
version "10.1.0"
resolved "https://registry.npmjs.org/babel-eslint/-/babel-eslint-10.1.0.tgz"
@ -2578,14 +2635,14 @@ bluebird@^3.1.1, bluebird@^3.5.5, bluebird@^3.7.2:
resolved "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz"
integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==
bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.8, bn.js@^4.11.9:
bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9:
version "4.12.0"
resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz"
integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==
bn.js@^5.0.0, bn.js@^5.1.1:
bn.js@^5.0.0, bn.js@^5.1.1, bn.js@^5.2.0:
version "5.2.0"
resolved "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz"
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.0.tgz#358860674396c6997771a9d051fcc1b57d4ae002"
integrity sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==
body-parser@1.19.0:
@ -3442,11 +3499,6 @@ core-js-compat@^3.14.0, core-js-compat@^3.15.0, core-js-compat@^3.6.5:
browserslist "^4.16.6"
semver "7.0.0"
core-js@3.8.1:
version "3.8.1"
resolved "https://registry.npmjs.org/core-js/-/core-js-3.8.1.tgz"
integrity sha512-9Id2xHY1W7m8hCl8NkhQn5CufmF/WuR30BTRewvCXc1aZd3kMECwNZ69ndLbekKfakw9Rf2Xyc+QR6E7Gg+obg==
core-js@^2.4.0:
version "2.6.12"
resolved "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz"
@ -3457,6 +3509,11 @@ core-js@^3.6.5:
resolved "https://registry.npmjs.org/core-js/-/core-js-3.15.2.tgz"
integrity sha512-tKs41J7NJVuaya8DxIOCnl8QuPHx5/ZVbFo1oKgVl1qHFBBrDctzQGtuLjPpRdNTWmKPH6oEvgN/MUID+l485Q==
core-js@^3.8.1:
version "3.8.1"
resolved "https://registry.npmjs.org/core-js/-/core-js-3.8.1.tgz"
integrity sha512-9Id2xHY1W7m8hCl8NkhQn5CufmF/WuR30BTRewvCXc1aZd3kMECwNZ69ndLbekKfakw9Rf2Xyc+QR6E7Gg+obg==
core-util-is@1.0.2, core-util-is@~1.0.0:
version "1.0.2"
resolved "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz"
@ -3480,6 +3537,14 @@ cosmjs-types@^0.2.0:
long "^4.0.0"
protobufjs "~6.11.2"
cosmjs-types@^0.4.0:
version "0.4.1"
resolved "https://registry.yarnpkg.com/cosmjs-types/-/cosmjs-types-0.4.1.tgz#3b2a53ba60d33159dd075596ce8267cfa7027063"
integrity sha512-I7E/cHkIgoJzMNQdFF0YVqPlaTqrqKHrskuSTIqlEyxfB5Lf3WKCajSXVK2yHOfOFfSux/RxEdpMzw/eO4DIog==
dependencies:
long "^4.0.0"
protobufjs "~6.11.2"
create-ecdh@^4.0.0:
version "4.0.4"
resolved "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz"
@ -5965,11 +6030,6 @@ js-sha3@^0.8.0:
resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz"
integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==
js-sha512@^0.8.0:
version "0.8.0"
resolved "https://registry.npmjs.org/js-sha512/-/js-sha512-0.8.0.tgz"
integrity sha512-PWsmefG6Jkodqt+ePTvBZCSMFgN7Clckjd0O7su3I0+BW2QWUTJNzjktHsztGLhncP2h8mcF9V9Y2Ha59pAViQ==
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
version "4.0.0"
resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz"