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

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

View File

@ -44,7 +44,7 @@
"pack-web": "yarn build-or-skip && webpack --mode development --config webpack.web.config.js"
},
"dependencies": {
"@iov/stream": "^2.3.2",
"@cosmjs/stream": "^0.20.0",
"xstream": "^11.10.0"
}
}

View File

@ -1,4 +1,4 @@
import { firstEvent } from "@iov/stream";
import { firstEvent } from "@cosmjs/stream";
import { Stream } from "xstream";
import { isJsonRpcErrorResponse, JsonRpcRequest, JsonRpcResponse, JsonRpcSuccessResponse } from "./types";