tendermint-rpc: Replace @iov/encoding dependency

This commit is contained in:
willclarktech 2020-06-15 16:29:44 +01:00
parent 8204aa9f8c
commit b7d8e940f0
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7
9 changed files with 11 additions and 9 deletions

View File

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

View File

@ -1,5 +1,5 @@
// tslint:disable:readonly-array
import { toAscii } from "@iov/encoding";
import { toAscii } from "@cosmjs/encoding";
import { firstEvent, toListPromise } from "@iov/stream";
import { sleep } from "@iov/utils";
import { ReadonlyDate } from "readonly-date";

View File

@ -1,4 +1,5 @@
import { fromBase64, fromHex, fromRfc3339, Int53, toBase64, toHex, toUtf8 } from "@iov/encoding";
import { fromBase64, fromHex, fromRfc3339, toBase64, toHex, toUtf8 } from "@cosmjs/encoding";
import { Int53 } from "@cosmjs/math";
import { As } from "type-tagger";
import { BlockId, ReadonlyDateWithNanoseconds, Version } from "./responses";

View File

@ -1,4 +1,4 @@
import { fromBase64, fromHex } from "@iov/encoding";
import { fromBase64, fromHex } from "@cosmjs/encoding";
import { ReadonlyDate } from "readonly-date";
import { ReadonlyDateWithNanoseconds } from "../responses";

View File

@ -1,4 +1,4 @@
import { toHex } from "@iov/encoding";
import { toHex } from "@cosmjs/encoding";
import { JsonRpcRequest } from "@iov/jsonrpc";
import { assertNotEmpty, Base64, Base64String, HexString, Integer, IntegerString, may } from "../encodings";

View File

@ -1,4 +1,4 @@
import { fromHex } from "@iov/encoding";
import { fromHex } from "@cosmjs/encoding";
import { JsonRpcSuccessResponse } from "@iov/jsonrpc";
import {

View File

@ -1,4 +1,4 @@
import { fromBase64, fromHex } from "@iov/encoding";
import { fromBase64, fromHex } from "@cosmjs/encoding";
import { ReadonlyDate } from "readonly-date";
import { ReadonlyDateWithNanoseconds } from "../responses";

View File

@ -1,4 +1,4 @@
import { toHex } from "@iov/encoding";
import { toHex } from "@cosmjs/encoding";
import { JsonRpcRequest } from "@iov/jsonrpc";
import { assertNotEmpty, Base64, Base64String, HexString, Integer, IntegerString, may } from "../encodings";

View File

@ -1,4 +1,4 @@
import { fromHex } from "@iov/encoding";
import { fromHex } from "@cosmjs/encoding";
import { JsonRpcSuccessResponse } from "@iov/jsonrpc";
import {