add custom app support for otherchains
This commit is contained in:
parent
455f69bbc9
commit
9c52ddb1b5
4
package-lock.json
generated
4
package-lock.json
generated
@ -3,10 +3,12 @@
|
|||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
|
"license": "GPL-2.0",
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "ping-wallet",
|
"name": "ping-wallet",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
|
"license": "GPL-2.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@casl/ability": "4.1.6",
|
"@casl/ability": "4.1.6",
|
||||||
"@casl/vue": "1.1.1",
|
"@casl/vue": "1.1.1",
|
||||||
@ -33,7 +35,7 @@
|
|||||||
"bootstrap-vue": "2.21.1",
|
"bootstrap-vue": "2.21.1",
|
||||||
"chart.js": "2.9.4",
|
"chart.js": "2.9.4",
|
||||||
"compare-versions": "^3.6.0",
|
"compare-versions": "^3.6.0",
|
||||||
"core-js": "3.8.1",
|
"core-js": "^3.8.1",
|
||||||
"cosmjs-types": "^0.2.0",
|
"cosmjs-types": "^0.2.0",
|
||||||
"dayjs": "^1.10.6",
|
"dayjs": "^1.10.6",
|
||||||
"echarts": "5.3.0",
|
"echarts": "5.3.0",
|
||||||
|
23
package.json
23
package.json
@ -1,7 +1,10 @@
|
|||||||
{
|
{
|
||||||
"name": "ping-wallet",
|
"name": "ping-wallet",
|
||||||
|
"license": "GPL-2.0",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"author": {
|
||||||
|
"name": "ping.pub"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"serve": "vue-cli-service serve",
|
"serve": "vue-cli-service serve",
|
||||||
"build": "vue-cli-service build",
|
"build": "vue-cli-service build",
|
||||||
@ -11,14 +14,14 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@casl/ability": "4.1.6",
|
"@casl/ability": "4.1.6",
|
||||||
"@casl/vue": "1.1.1",
|
"@casl/vue": "1.1.1",
|
||||||
"@cosmjs/amino": "^0.26.5",
|
"@cosmjs/amino": "^0.28.4",
|
||||||
"@cosmjs/crypto": "^0.26.5",
|
"@cosmjs/crypto": "^0.28.4",
|
||||||
"@cosmjs/encoding": "^0.26.5",
|
"@cosmjs/encoding": "^0.28.4",
|
||||||
"@cosmjs/launchpad": "^0.26.5",
|
"@cosmjs/launchpad": "^0.28.4",
|
||||||
"@cosmjs/ledger-amino": "^0.26.5",
|
"@cosmjs/ledger-amino": "^0.28.4",
|
||||||
"@cosmjs/math": "^0.26.5",
|
"@cosmjs/math": "^0.28.4",
|
||||||
"@cosmjs/proto-signing": "^0.26.5",
|
"@cosmjs/proto-signing": "^0.28.4",
|
||||||
"@cosmjs/stargate": "0.26.5",
|
"@cosmjs/stargate": "0.28.4",
|
||||||
"@intlify/vue-i18n-loader": "^2.1.2",
|
"@intlify/vue-i18n-loader": "^2.1.2",
|
||||||
"@ledgerhq/hw-app-cosmos": "^6.3.0",
|
"@ledgerhq/hw-app-cosmos": "^6.3.0",
|
||||||
"@ledgerhq/hw-transport-web-ble": "^6.3.0",
|
"@ledgerhq/hw-transport-web-ble": "^6.3.0",
|
||||||
@ -34,7 +37,7 @@
|
|||||||
"bootstrap-vue": "2.21.1",
|
"bootstrap-vue": "2.21.1",
|
||||||
"chart.js": "2.9.4",
|
"chart.js": "2.9.4",
|
||||||
"compare-versions": "^3.6.0",
|
"compare-versions": "^3.6.0",
|
||||||
"core-js": "3.8.1",
|
"core-js": "^3.8.1",
|
||||||
"cosmjs-types": "^0.2.0",
|
"cosmjs-types": "^0.2.0",
|
||||||
"dayjs": "^1.10.6",
|
"dayjs": "^1.10.6",
|
||||||
"echarts": "5.3.0",
|
"echarts": "5.3.0",
|
||||||
|
@ -193,23 +193,34 @@ function getHdPath(address) {
|
|||||||
return stringToPath(hdPath)
|
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) {
|
export async function sign(device, chainId, signerAddress, messages, fee, memo, signerData) {
|
||||||
let transport
|
let transport
|
||||||
let signer
|
let signer
|
||||||
|
const hdpath = getHdPath(signerAddress)
|
||||||
|
const coinType = Number(hdpath[1])
|
||||||
|
const ledgerName = getLedgerAppName(coinType)
|
||||||
switch (device) {
|
switch (device) {
|
||||||
case 'ledgerBle':
|
case 'ledgerBle':
|
||||||
transport = await TransportWebBLE.create()
|
transport = await TransportWebBLE.create()
|
||||||
signer = new LedgerSigner(transport, { hdPaths: [getHdPath(signerAddress)] })
|
signer = new LedgerSigner(transport, { hdPaths: [hdpath], ledgerAppName: ledgerName })
|
||||||
break
|
break
|
||||||
case 'ledgerUSB':
|
case 'ledgerUSB':
|
||||||
transport = await TransportWebUSB.create()
|
transport = await TransportWebUSB.create()
|
||||||
signer = new LedgerSigner(transport, { hdPaths: [getHdPath(signerAddress)] })
|
signer = new LedgerSigner(transport, { hdPaths: [hdpath], ledgerAppName: ledgerName })
|
||||||
break
|
|
||||||
case 'pingKMS':
|
|
||||||
if (!window.PingSigner) {
|
|
||||||
throw new Error('Please install Ping KMS extension')
|
|
||||||
}
|
|
||||||
signer = window.PingSigner
|
|
||||||
break
|
break
|
||||||
case 'keplr':
|
case 'keplr':
|
||||||
default:
|
default:
|
||||||
@ -235,7 +246,7 @@ export async function getLedgerAddress(transport = 'blu', hdPath = "m/44'/118/0'
|
|||||||
// extract Cointype from from HDPath
|
// extract Cointype from from HDPath
|
||||||
const coinType = Number(stringToPath(hdPath)[1])
|
const coinType = Number(stringToPath(hdPath)[1])
|
||||||
// Check if Cointype is 529 for Secret Ledger App and use Cosmos Ledger App instead
|
// 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 })
|
const signer = new LedgerSigner(trans, { hdPaths: [stringToPath(hdPath)], ledgerAppName: ledgerName })
|
||||||
return signer.getAccounts()
|
return signer.getAccounts()
|
||||||
|
@ -378,7 +378,7 @@ router.beforeEach((to, from, next) => {
|
|||||||
const c = to.params.chain
|
const c = to.params.chain
|
||||||
if (c) {
|
if (c) {
|
||||||
store.commit('select', { chain_name: 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'))
|
const config = JSON.parse(localStorage.getItem('chains'))
|
||||||
|
284
yarn.lock
284
yarn.lock
@ -915,158 +915,203 @@
|
|||||||
resolved "https://registry.npmjs.org/@casl/vue/-/vue-1.1.1.tgz"
|
resolved "https://registry.npmjs.org/@casl/vue/-/vue-1.1.1.tgz"
|
||||||
integrity sha512-lJnPGJ2sdid22IGNPegWsMH0136WSMKZqqZb2YjLWL/vsRvw+wuLZE+yaR7enEfETmH5KZE55WAfXpyZgy99hQ==
|
integrity sha512-lJnPGJ2sdid22IGNPegWsMH0136WSMKZqqZb2YjLWL/vsRvw+wuLZE+yaR7enEfETmH5KZE55WAfXpyZgy99hQ==
|
||||||
|
|
||||||
"@confio/ics23@^0.6.3":
|
"@confio/ics23@^0.6.8":
|
||||||
version "0.6.5"
|
version "0.6.8"
|
||||||
resolved "https://registry.npmjs.org/@confio/ics23/-/ics23-0.6.5.tgz"
|
resolved "https://registry.yarnpkg.com/@confio/ics23/-/ics23-0.6.8.tgz#2a6b4f1f2b7b20a35d9a0745bb5a446e72930b3d"
|
||||||
integrity sha512-1GdPMsaP/l8JSF4P4HWFLBhdcxHcJT8lS0nknBYNSZ1XrJOsJKUy6EkOwd9Pa1qJkXzY2gyNv7MdHR+AIwSTAg==
|
integrity sha512-wB6uo+3A50m0sW/EWcU64xpV/8wShZ6bMTa7pF8eYsTrSkQA7oLUIJcs/wb8g4y2Oyq701BaGiO6n/ak5WXO1w==
|
||||||
dependencies:
|
dependencies:
|
||||||
js-sha512 "^0.8.0"
|
"@noble/hashes" "^1.0.0"
|
||||||
protobufjs "^6.8.8"
|
protobufjs "^6.8.8"
|
||||||
ripemd160 "^2.0.2"
|
|
||||||
sha.js "^2.4.11"
|
|
||||||
|
|
||||||
"@cosmjs/amino@0.26.5", "@cosmjs/amino@^0.26.5":
|
"@cosmjs/amino@0.27.1":
|
||||||
version "0.26.5"
|
version "0.27.1"
|
||||||
resolved "https://registry.npmjs.org/@cosmjs/amino/-/amino-0.26.5.tgz"
|
resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.27.1.tgz#0910256b5aecd794420bb5f7319d98fc63252fa1"
|
||||||
integrity sha512-RFf9P1eb7O60JEWaZ5jbQA0wVbwU4SiBJINEjZkhkB1vUrAxCkfSHBZdJrVg8+IIRSWxPUUVr8PMuIyWlORV3A==
|
integrity sha512-w56ar/nK9+qlvWDpBPRmD0Blk2wfkkLqRi1COs1x7Ll1LF0AtkIBUjbRKplENLbNovK0T3h+w8bHiFm+GBGQOA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@cosmjs/crypto" "0.26.5"
|
"@cosmjs/crypto" "0.27.1"
|
||||||
"@cosmjs/encoding" "0.26.5"
|
"@cosmjs/encoding" "0.27.1"
|
||||||
"@cosmjs/math" "0.26.5"
|
"@cosmjs/math" "0.27.1"
|
||||||
"@cosmjs/utils" "0.26.5"
|
"@cosmjs/utils" "0.27.1"
|
||||||
|
|
||||||
"@cosmjs/crypto@0.26.5", "@cosmjs/crypto@^0.26.5":
|
"@cosmjs/amino@0.28.4", "@cosmjs/amino@^0.28.4":
|
||||||
version "0.26.5"
|
version "0.28.4"
|
||||||
resolved "https://registry.npmjs.org/@cosmjs/crypto/-/crypto-0.26.5.tgz"
|
resolved "https://registry.yarnpkg.com/@cosmjs/amino/-/amino-0.28.4.tgz#9315f6876dba80148cf715ced44d1dc7a9b68b94"
|
||||||
integrity sha512-ab7+qR/gdRi/DIdOLrjyimRdyD/2K/JdpRaFY1bl6Drr3ktVjDQrGsv53THvHONy33yCwD+YS+328ayQRv/pQA==
|
integrity sha512-b8y5gFC0eGrH0IoYSNtDmTdsTgeQ1KFZ5YVOeIiKmzF91MeiciYO/MNqc027kctacZ+UbnVWGEUGyRBPi9ta/g==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@cosmjs/encoding" "0.26.5"
|
"@cosmjs/crypto" "0.28.4"
|
||||||
"@cosmjs/math" "0.26.5"
|
"@cosmjs/encoding" "0.28.4"
|
||||||
"@cosmjs/utils" "0.26.5"
|
"@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"
|
bip39 "^3.0.2"
|
||||||
bn.js "^4.11.8"
|
bn.js "^5.2.0"
|
||||||
elliptic "^6.5.3"
|
elliptic "^6.5.3"
|
||||||
js-sha3 "^0.8.0"
|
js-sha3 "^0.8.0"
|
||||||
libsodium-wrappers "^0.7.6"
|
libsodium-wrappers "^0.7.6"
|
||||||
ripemd160 "^2.0.2"
|
ripemd160 "^2.0.2"
|
||||||
sha.js "^2.4.11"
|
sha.js "^2.4.11"
|
||||||
|
|
||||||
"@cosmjs/encoding@0.26.5", "@cosmjs/encoding@^0.26.5":
|
"@cosmjs/crypto@0.28.4", "@cosmjs/crypto@^0.28.4":
|
||||||
version "0.26.5"
|
version "0.28.4"
|
||||||
resolved "https://registry.npmjs.org/@cosmjs/encoding/-/encoding-0.26.5.tgz"
|
resolved "https://registry.yarnpkg.com/@cosmjs/crypto/-/crypto-0.28.4.tgz#b2f1ccb9edee7d357ed1dcd92bdb61f6a1ca06d3"
|
||||||
integrity sha512-lkw2mLvDZJqVCOZCBqdMzoGUtC4CN7c4+WMCGKDej3TpC0khsv7KZ1eFcsnN6EuZwHyGH67uyyjrs5x0ah9rYg==
|
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:
|
dependencies:
|
||||||
base64-js "^1.3.0"
|
base64-js "^1.3.0"
|
||||||
bech32 "^1.1.4"
|
bech32 "^1.1.4"
|
||||||
readonly-date "^1.0.0"
|
readonly-date "^1.0.0"
|
||||||
|
|
||||||
"@cosmjs/json-rpc@0.26.5":
|
"@cosmjs/encoding@0.28.4", "@cosmjs/encoding@^0.28.4":
|
||||||
version "0.26.5"
|
version "0.28.4"
|
||||||
resolved "https://registry.npmjs.org/@cosmjs/json-rpc/-/json-rpc-0.26.5.tgz"
|
resolved "https://registry.yarnpkg.com/@cosmjs/encoding/-/encoding-0.28.4.tgz#ea39eb4c27ebf7b35e62e9898adae189b86d0da7"
|
||||||
integrity sha512-SFGm5MlY54v3I26hXThwVteh91U+/DKS+KGqFL5lPLHZ2EHxggASqhKMiTJBMJVUDWvnmv1ikjFndkWNhpTPNw==
|
integrity sha512-N6Qnjs4dd8KwjW5m9t3L+rWYYGW2wyS+iLtJJ9DD8DiTTxpW9h7/AmUVO/dsRe5H2tV8/DzH/B9pFfpsgro22A==
|
||||||
dependencies:
|
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"
|
xstream "^11.14.0"
|
||||||
|
|
||||||
"@cosmjs/launchpad@^0.26.5":
|
"@cosmjs/launchpad@^0.28.4":
|
||||||
version "0.26.5"
|
version "0.27.1"
|
||||||
resolved "https://registry.npmjs.org/@cosmjs/launchpad/-/launchpad-0.26.5.tgz"
|
resolved "https://registry.yarnpkg.com/@cosmjs/launchpad/-/launchpad-0.27.1.tgz#b6f1995748be96560f5f01e84d3ff907477dda77"
|
||||||
integrity sha512-V+9bLlvlybm9TeqXAoD10KxFHK5exoUYHIoKdj03g78E2oOn82bLRMNs9ti5UtWWOzIe9suyv5/OvunTSlvA7Q==
|
integrity sha512-DcFwGD/z5PK8CzO2sojDxa+Be9EIEtRZb2YawgVnw2Ht/p5FlNv+OVo8qlishpBdalXEN7FvQ1dVeDFEe9TuJw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@cosmjs/amino" "0.26.5"
|
"@cosmjs/amino" "0.27.1"
|
||||||
"@cosmjs/crypto" "0.26.5"
|
"@cosmjs/crypto" "0.27.1"
|
||||||
"@cosmjs/encoding" "0.26.5"
|
"@cosmjs/encoding" "0.27.1"
|
||||||
"@cosmjs/math" "0.26.5"
|
"@cosmjs/math" "0.27.1"
|
||||||
"@cosmjs/utils" "0.26.5"
|
"@cosmjs/utils" "0.27.1"
|
||||||
axios "^0.21.2"
|
axios "^0.21.2"
|
||||||
fast-deep-equal "^3.1.3"
|
fast-deep-equal "^3.1.3"
|
||||||
|
|
||||||
"@cosmjs/ledger-amino@^0.26.5":
|
"@cosmjs/ledger-amino@^0.28.4":
|
||||||
version "0.26.5"
|
version "0.28.4"
|
||||||
resolved "https://registry.npmjs.org/@cosmjs/ledger-amino/-/ledger-amino-0.26.5.tgz"
|
resolved "https://registry.yarnpkg.com/@cosmjs/ledger-amino/-/ledger-amino-0.28.4.tgz#1762cdf2572731d529aad7ac20472b7ddbf0d93a"
|
||||||
integrity sha512-UY3OsohGamLXp1P3M7hIW/Wk7Jj04xfFipyw+n4JQ0KSFrniju5idM89kqLELTimXptdI15TaivfHb4MJqfh7g==
|
integrity sha512-SdKGk3jElpF5lbBJ8f/xvgk1GkItezpaZosAeOIgyzeGfDJL/nPFl0K0vs9L2PLCzLPEScA+9EocMC7F90UA4w==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@cosmjs/amino" "0.26.5"
|
"@cosmjs/amino" "0.28.4"
|
||||||
"@cosmjs/crypto" "0.26.5"
|
"@cosmjs/crypto" "0.28.4"
|
||||||
"@cosmjs/encoding" "0.26.5"
|
"@cosmjs/encoding" "0.28.4"
|
||||||
"@cosmjs/math" "0.26.5"
|
"@cosmjs/math" "0.28.4"
|
||||||
"@cosmjs/utils" "0.26.5"
|
"@cosmjs/utils" "0.28.4"
|
||||||
ledger-cosmos-js "^2.1.8"
|
ledger-cosmos-js "^2.1.8"
|
||||||
semver "^7.3.2"
|
semver "^7.3.2"
|
||||||
|
|
||||||
"@cosmjs/math@0.26.5", "@cosmjs/math@^0.26.5":
|
"@cosmjs/math@0.27.1":
|
||||||
version "0.26.5"
|
version "0.27.1"
|
||||||
resolved "https://registry.npmjs.org/@cosmjs/math/-/math-0.26.5.tgz"
|
resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.27.1.tgz#be78857b008ffc6b1ed6fecaa1c4cd5bc38c07d7"
|
||||||
integrity sha512-1G7NgLJ35g4jUupvyu7Igtgu/fj2NmgpOofpNk1JqIwMXrm3Tx7lOWbxJq8Wrjj2EoH7FNytSO1dXNGeK15UJw==
|
integrity sha512-cHWVjmfIjtRc7f80n7x+J5k8pe+vTVTQ0lA82tIxUgqUvgS6rogPP/TmGtTiZ4+NxWxd11DUISY6gVpr18/VNQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
bn.js "^4.11.8"
|
bn.js "^5.2.0"
|
||||||
|
|
||||||
"@cosmjs/proto-signing@0.26.5", "@cosmjs/proto-signing@^0.26.5":
|
"@cosmjs/math@0.28.4", "@cosmjs/math@^0.28.4":
|
||||||
version "0.26.5"
|
version "0.28.4"
|
||||||
resolved "https://registry.npmjs.org/@cosmjs/proto-signing/-/proto-signing-0.26.5.tgz"
|
resolved "https://registry.yarnpkg.com/@cosmjs/math/-/math-0.28.4.tgz#ddc35b69fa1ffeaf5928f70d4c2faf9284627d84"
|
||||||
integrity sha512-F94Uh+PX9nF5zGzUHMdEGgys+YCOudaWQehiHBfOjbHUIv0khufcRXs3l9/5dKzizz9ouQ5DHQAiWq/nYKZKqA==
|
integrity sha512-wsWjbxFXvk46Dsx8jQ5vsBZOIQuiUIyaaZbUvxsgIhAMpuuBnV5O/drK87+B+4cL+umTelFqTbWnkqueVCIFxQ==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@cosmjs/amino" "0.26.5"
|
bn.js "^5.2.0"
|
||||||
"@cosmjs/crypto" "0.26.5"
|
|
||||||
"@cosmjs/math" "0.26.5"
|
"@cosmjs/proto-signing@0.28.4", "@cosmjs/proto-signing@^0.28.4":
|
||||||
cosmjs-types "^0.2.0"
|
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"
|
long "^4.0.0"
|
||||||
protobufjs "~6.10.2"
|
protobufjs "~6.10.2"
|
||||||
|
|
||||||
"@cosmjs/socket@0.26.5":
|
"@cosmjs/socket@0.28.4":
|
||||||
version "0.26.5"
|
version "0.28.4"
|
||||||
resolved "https://registry.npmjs.org/@cosmjs/socket/-/socket-0.26.5.tgz"
|
resolved "https://registry.yarnpkg.com/@cosmjs/socket/-/socket-0.28.4.tgz#f2c337bee18c631739ba6c2357fe564dbf17df45"
|
||||||
integrity sha512-kBpXw9wuNHkO1AGuKgDA4/DOA+jZ6Lt0GVJVJIJ6bfjGbsewsNVocktAiH+1dGb47xXg2oH7OwGJL+B/PB3qPQ==
|
integrity sha512-jAEL3Ri+s8XuBM3mqgO4yvmeQu+R+704V37lGROC1B6kAbGxWRyOWrMdOOiFJzCZ35sSMB7L+xKjpE8ug0vJjg==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@cosmjs/stream" "0.26.5"
|
"@cosmjs/stream" "0.28.4"
|
||||||
isomorphic-ws "^4.0.1"
|
isomorphic-ws "^4.0.1"
|
||||||
ws "^7"
|
ws "^7"
|
||||||
xstream "^11.14.0"
|
xstream "^11.14.0"
|
||||||
|
|
||||||
"@cosmjs/stargate@0.26.5":
|
"@cosmjs/stargate@0.28.4":
|
||||||
version "0.26.5"
|
version "0.28.4"
|
||||||
resolved "https://registry.npmjs.org/@cosmjs/stargate/-/stargate-0.26.5.tgz"
|
resolved "https://registry.yarnpkg.com/@cosmjs/stargate/-/stargate-0.28.4.tgz#a5acbaa3451f7c853739064f799dec21097a06df"
|
||||||
integrity sha512-rnRptbn01zXAa29272XZgxvH6zemPAvlE9/qGouRXpUm3ilHU+PscAq2k1pD17qtOKWRBLY2+x4feXYHwJg9VA==
|
integrity sha512-tdwudilP5iLNwDm4TOMBjWuL5YehLPqGlC5/7hjJM/kVHyzLFo4Lzt0dVEwr5YegH+RsRXH/VtFLQz+NYlCobw==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@confio/ics23" "^0.6.3"
|
"@confio/ics23" "^0.6.8"
|
||||||
"@cosmjs/amino" "0.26.5"
|
"@cosmjs/amino" "0.28.4"
|
||||||
"@cosmjs/encoding" "0.26.5"
|
"@cosmjs/encoding" "0.28.4"
|
||||||
"@cosmjs/math" "0.26.5"
|
"@cosmjs/math" "0.28.4"
|
||||||
"@cosmjs/proto-signing" "0.26.5"
|
"@cosmjs/proto-signing" "0.28.4"
|
||||||
"@cosmjs/stream" "0.26.5"
|
"@cosmjs/stream" "0.28.4"
|
||||||
"@cosmjs/tendermint-rpc" "0.26.5"
|
"@cosmjs/tendermint-rpc" "0.28.4"
|
||||||
"@cosmjs/utils" "0.26.5"
|
"@cosmjs/utils" "0.28.4"
|
||||||
cosmjs-types "^0.2.0"
|
cosmjs-types "^0.4.0"
|
||||||
long "^4.0.0"
|
long "^4.0.0"
|
||||||
protobufjs "~6.10.2"
|
protobufjs "~6.10.2"
|
||||||
xstream "^11.14.0"
|
xstream "^11.14.0"
|
||||||
|
|
||||||
"@cosmjs/stream@0.26.5":
|
"@cosmjs/stream@0.28.4":
|
||||||
version "0.26.5"
|
version "0.28.4"
|
||||||
resolved "https://registry.npmjs.org/@cosmjs/stream/-/stream-0.26.5.tgz"
|
resolved "https://registry.yarnpkg.com/@cosmjs/stream/-/stream-0.28.4.tgz#88a294c2404107327f8e293b952db047ab182179"
|
||||||
integrity sha512-CIr/8bkRlLl36LAtbapsKxA7cMVhmPPWTihAcXgBXik1FM/0XCVNETPTQ64HX47eNQuP5AhWwaMoO553Sf9T2w==
|
integrity sha512-BDwDdFOrOgRx/Wm5nknb9YCV9HHIUcsOxykTDZqdArCUsn4QJBq79QIjp919G05Z8UemkoHwiUCUNB2BfoKmFw==
|
||||||
dependencies:
|
dependencies:
|
||||||
xstream "^11.14.0"
|
xstream "^11.14.0"
|
||||||
|
|
||||||
"@cosmjs/tendermint-rpc@0.26.5":
|
"@cosmjs/tendermint-rpc@0.28.4":
|
||||||
version "0.26.5"
|
version "0.28.4"
|
||||||
resolved "https://registry.npmjs.org/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.26.5.tgz"
|
resolved "https://registry.yarnpkg.com/@cosmjs/tendermint-rpc/-/tendermint-rpc-0.28.4.tgz#78835fdc8126baa3122c8b2b396c1d7d290c7167"
|
||||||
integrity sha512-bBcFgpTHEP15m8n/bG3cx/LO110sScpEvYvurZDewfy7MW8WETF6sYZaPCGfVDGWde1EPjFLwKKxQ1Da/XoK0A==
|
integrity sha512-iz6p4UW2QUZNh55WeJy9wHbMdqM8COo0AJdrGU4Ikb/xU0/H6b0dFPoEK+i6ngR0cSizh+hpTMzh3AA7ySUKlA==
|
||||||
dependencies:
|
dependencies:
|
||||||
"@cosmjs/crypto" "0.26.5"
|
"@cosmjs/crypto" "0.28.4"
|
||||||
"@cosmjs/encoding" "0.26.5"
|
"@cosmjs/encoding" "0.28.4"
|
||||||
"@cosmjs/json-rpc" "0.26.5"
|
"@cosmjs/json-rpc" "0.28.4"
|
||||||
"@cosmjs/math" "0.26.5"
|
"@cosmjs/math" "0.28.4"
|
||||||
"@cosmjs/socket" "0.26.5"
|
"@cosmjs/socket" "0.28.4"
|
||||||
"@cosmjs/stream" "0.26.5"
|
"@cosmjs/stream" "0.28.4"
|
||||||
|
"@cosmjs/utils" "0.28.4"
|
||||||
axios "^0.21.2"
|
axios "^0.21.2"
|
||||||
readonly-date "^1.0.0"
|
readonly-date "^1.0.0"
|
||||||
xstream "^11.14.0"
|
xstream "^11.14.0"
|
||||||
|
|
||||||
"@cosmjs/utils@0.26.5":
|
"@cosmjs/utils@0.27.1":
|
||||||
version "0.26.5"
|
version "0.27.1"
|
||||||
resolved "https://registry.npmjs.org/@cosmjs/utils/-/utils-0.26.5.tgz"
|
resolved "https://registry.yarnpkg.com/@cosmjs/utils/-/utils-0.27.1.tgz#1c8efde17256346ef142a3bd15158ee4055470e2"
|
||||||
integrity sha512-VB4Z7lEIXA36q0RON15KexzEosToUtdDyMv7UXSBHSl4mLG/fIZgBIpBEYsaPZ1kh43xyINeKQJiGCp2z5rI+g==
|
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":
|
"@gar/promisify@^1.0.1":
|
||||||
version "1.1.3"
|
version "1.1.3"
|
||||||
@ -1294,6 +1339,11 @@
|
|||||||
call-me-maybe "^1.0.1"
|
call-me-maybe "^1.0.1"
|
||||||
glob-to-regexp "^0.3.0"
|
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":
|
"@nodelib/fs.stat@^1.1.2":
|
||||||
version "1.1.3"
|
version "1.1.3"
|
||||||
resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz"
|
resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz"
|
||||||
@ -2415,6 +2465,13 @@ axios@0.21.2:
|
|||||||
dependencies:
|
dependencies:
|
||||||
follow-redirects "^1.14.0"
|
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:
|
babel-eslint@^10.0.3:
|
||||||
version "10.1.0"
|
version "10.1.0"
|
||||||
resolved "https://registry.npmjs.org/babel-eslint/-/babel-eslint-10.1.0.tgz"
|
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"
|
resolved "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz"
|
||||||
integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==
|
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"
|
version "4.12.0"
|
||||||
resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz"
|
resolved "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz"
|
||||||
integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==
|
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"
|
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==
|
integrity sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==
|
||||||
|
|
||||||
body-parser@1.19.0:
|
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"
|
browserslist "^4.16.6"
|
||||||
semver "7.0.0"
|
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:
|
core-js@^2.4.0:
|
||||||
version "2.6.12"
|
version "2.6.12"
|
||||||
resolved "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz"
|
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"
|
resolved "https://registry.npmjs.org/core-js/-/core-js-3.15.2.tgz"
|
||||||
integrity sha512-tKs41J7NJVuaya8DxIOCnl8QuPHx5/ZVbFo1oKgVl1qHFBBrDctzQGtuLjPpRdNTWmKPH6oEvgN/MUID+l485Q==
|
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:
|
core-util-is@1.0.2, core-util-is@~1.0.0:
|
||||||
version "1.0.2"
|
version "1.0.2"
|
||||||
resolved "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz"
|
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"
|
long "^4.0.0"
|
||||||
protobufjs "~6.11.2"
|
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:
|
create-ecdh@^4.0.0:
|
||||||
version "4.0.4"
|
version "4.0.4"
|
||||||
resolved "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz"
|
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"
|
resolved "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz"
|
||||||
integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==
|
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:
|
"js-tokens@^3.0.0 || ^4.0.0", js-tokens@^4.0.0:
|
||||||
version "4.0.0"
|
version "4.0.0"
|
||||||
resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz"
|
resolved "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz"
|
||||||
|
Loading…
Reference in New Issue
Block a user