mirror of
https://github.com/cosmos/cosmjs.git
synced 2025-03-11 14:09:15 +00:00
tendermint-rpc: Replace @iov/stream with @cosmjs/stream
This commit is contained in:
parent
67a53476b7
commit
bd78ed02d7
@ -49,6 +49,7 @@
|
|||||||
"@cosmjs/json-rpc": "^0.20.0",
|
"@cosmjs/json-rpc": "^0.20.0",
|
||||||
"@cosmjs/math": "^0.20.0",
|
"@cosmjs/math": "^0.20.0",
|
||||||
"@cosmjs/socket": "^0.20.0",
|
"@cosmjs/socket": "^0.20.0",
|
||||||
|
"@cosmjs/stream": "^0.20.0",
|
||||||
"axios": "^0.19.0",
|
"axios": "^0.19.0",
|
||||||
"readonly-date": "^1.0.0",
|
"readonly-date": "^1.0.0",
|
||||||
"type-tagger": "^1.0.0",
|
"type-tagger": "^1.0.0",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import { toAscii } from "@cosmjs/encoding";
|
import { toAscii } from "@cosmjs/encoding";
|
||||||
|
import { firstEvent, toListPromise } from "@cosmjs/stream";
|
||||||
import { sleep } from "@cosmjs/utils";
|
import { sleep } from "@cosmjs/utils";
|
||||||
import { firstEvent, toListPromise } from "@iov/stream";
|
|
||||||
import { ReadonlyDate } from "readonly-date";
|
import { ReadonlyDate } from "readonly-date";
|
||||||
import { Stream } from "xstream";
|
import { Stream } from "xstream";
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
import { toListPromise } from "@iov/stream";
|
import { toListPromise } from "@cosmjs/stream";
|
||||||
import { Stream } from "xstream";
|
import { Stream } from "xstream";
|
||||||
|
|
||||||
import { defaultInstance } from "../config.spec";
|
import { defaultInstance } from "../config.spec";
|
||||||
|
@ -7,7 +7,7 @@ import {
|
|||||||
parseJsonRpcResponse,
|
parseJsonRpcResponse,
|
||||||
} from "@cosmjs/json-rpc";
|
} from "@cosmjs/json-rpc";
|
||||||
import { ConnectionStatus, ReconnectingSocket, SocketWrapperMessageEvent } from "@cosmjs/socket";
|
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 { Listener, Producer, Stream, Subscription } from "xstream";
|
||||||
|
|
||||||
import { hasProtocol, RpcStreamingClient, SubscriptionEvent } from "./rpcclient";
|
import { hasProtocol, RpcStreamingClient, SubscriptionEvent } from "./rpcclient";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user