tendermint-rpc: Replace @iov/crypto dependency

This commit is contained in:
willclarktech 2020-06-15 16:32:48 +01:00
parent b7d8e940f0
commit 248bf39dcc
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7
4 changed files with 3 additions and 20 deletions

View File

@ -38,9 +38,9 @@
"pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js"
},
"dependencies": {
"@cosmjs/crypto": "^0.20.0",
"@cosmjs/encoding": "^0.20.0",
"@cosmjs/math": "^0.20.0",
"@iov/crypto": "^2.3.2",
"@iov/jsonrpc": "^2.3.2",
"@iov/socket": "^2.3.2",
"axios": "^0.19.0",

View File

@ -1,4 +1,4 @@
import { Sha256 } from "@iov/crypto";
import { Sha256 } from "@cosmjs/crypto";
import { encodeBlockId, encodeBytes, encodeInt, encodeString, encodeTime, encodeVersion } from "../encodings";
import { Header } from "../responses";

View File

@ -1,4 +1,4 @@
import { Sha256 } from "@iov/crypto";
import { Sha256 } from "@cosmjs/crypto";
import { encodeBlockId, encodeBytes, encodeInt, encodeString, encodeTime, encodeVersion } from "../encodings";
import { Header } from "../responses";

View File

@ -92,23 +92,6 @@
unique-filename "^1.1.1"
which "^1.3.1"
"@iov/crypto@^2.3.2":
version "2.3.2"
resolved "https://registry.yarnpkg.com/@iov/crypto/-/crypto-2.3.2.tgz#0f65623d29d1df7e35620bbbeede70f1d0797ff9"
integrity sha512-inHHZa9kr+4K88ZhqOQC/LVlZBcZlE0Kkj97ynWGzaR4CCdCFa0KOkx2vef2CH0J6wbfC13e6b93/MuQyGiUAw==
dependencies:
"@iov/encoding" "^2.3.2"
bip39 "^3.0.2"
bn.js "^4.11.8"
elliptic "^6.4.0"
js-sha3 "^0.8.0"
libsodium-wrappers "^0.7.6"
pbkdf2 "^3.0.16"
ripemd160 "^2.0.2"
sha.js "^2.4.11"
type-tagger "^1.0.0"
unorm "^1.5.0"
"@iov/encoding@^2.3.2":
version "2.3.2"
resolved "https://registry.yarnpkg.com/@iov/encoding/-/encoding-2.3.2.tgz#4b37966af0345a6bc904bb58189dc1ea9d14ad9b"