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

This commit is contained in:
willclarktech
2020-06-25 16:03:55 +02:00
parent 67a53476b7
commit bd78ed02d7
4 changed files with 4 additions and 3 deletions
+1
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",
+1 -1
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";
@@ -1,4 +1,4 @@
import { toListPromise } from "@iov/stream";
import { toListPromise } from "@cosmjs/stream";
import { Stream } from "xstream";
import { defaultInstance } from "../config.spec";
@@ -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";