tendermint-rpc: Replace @iov/stream with @cosmjs/stream

This commit is contained in:
willclarktech 2020-06-24 18:05:40 +02:00
parent 67a53476b7
commit bd78ed02d7
No known key found for this signature in database
GPG Key ID: 551A86E2E398ADF7
4 changed files with 4 additions and 3 deletions

View File

@ -49,6 +49,7 @@
"@cosmjs/json-rpc": "^0.20.0",
"@cosmjs/math": "^0.20.0",
"@cosmjs/socket": "^0.20.0",
"@cosmjs/stream": "^0.20.0",
"axios": "^0.19.0",
"readonly-date": "^1.0.0",
"type-tagger": "^1.0.0",

View File

@ -1,6 +1,6 @@
import { toAscii } from "@cosmjs/encoding";
import { firstEvent, toListPromise } from "@cosmjs/stream";
import { sleep } from "@cosmjs/utils";
import { firstEvent, toListPromise } from "@iov/stream";
import { ReadonlyDate } from "readonly-date";
import { Stream } from "xstream";

View File

@ -1,4 +1,4 @@
import { toListPromise } from "@iov/stream";
import { toListPromise } from "@cosmjs/stream";
import { Stream } from "xstream";
import { defaultInstance } from "../config.spec";

View File

@ -7,7 +7,7 @@ import {
parseJsonRpcResponse,
} from "@cosmjs/json-rpc";
import { ConnectionStatus, ReconnectingSocket, SocketWrapperMessageEvent } from "@cosmjs/socket";
import { firstEvent } from "@iov/stream";
import { firstEvent } from "@cosmjs/stream";
import { Listener, Producer, Stream, Subscription } from "xstream";
import { hasProtocol, RpcStreamingClient, SubscriptionEvent } from "./rpcclient";