diff --git a/packages/tendermint-rpc/package.json b/packages/tendermint-rpc/package.json index 9d215aba..4cc3d8a8 100644 --- a/packages/tendermint-rpc/package.json +++ b/packages/tendermint-rpc/package.json @@ -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", diff --git a/packages/tendermint-rpc/src/v0-31/hasher.ts b/packages/tendermint-rpc/src/v0-31/hasher.ts index ac8b36d0..eba23929 100644 --- a/packages/tendermint-rpc/src/v0-31/hasher.ts +++ b/packages/tendermint-rpc/src/v0-31/hasher.ts @@ -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"; diff --git a/packages/tendermint-rpc/src/v0-32/hasher.ts b/packages/tendermint-rpc/src/v0-32/hasher.ts index ac8b36d0..eba23929 100644 --- a/packages/tendermint-rpc/src/v0-32/hasher.ts +++ b/packages/tendermint-rpc/src/v0-32/hasher.ts @@ -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"; diff --git a/yarn.lock b/yarn.lock index 4ce4a3cc..22e4979d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"