*allow a buffer to be passed
This commit is contained in:
parent
ee5c1ea692
commit
cce09d1e95
|
@ -17,7 +17,7 @@ export default class RpcNetworkQueryFactory {
|
||||||
query,
|
query,
|
||||||
options = {},
|
options = {},
|
||||||
}: {
|
}: {
|
||||||
relay: string;
|
relay: string | Buffer;
|
||||||
query: ClientRPCRequest;
|
query: ClientRPCRequest;
|
||||||
options?: RpcQueryOptions;
|
options?: RpcQueryOptions;
|
||||||
}): SimpleRpcQuery {
|
}): SimpleRpcQuery {
|
||||||
|
|
|
@ -19,7 +19,7 @@ export default class SimpleRpcQuery extends RpcQueryBase {
|
||||||
options,
|
options,
|
||||||
}: {
|
}: {
|
||||||
network: RpcNetwork;
|
network: RpcNetwork;
|
||||||
relay?: string | any;
|
relay?: string | Buffer | any;
|
||||||
query: ClientRPCRequest;
|
query: ClientRPCRequest;
|
||||||
options: RpcQueryOptions;
|
options: RpcQueryOptions;
|
||||||
}) {
|
}) {
|
||||||
|
|
Loading…
Reference in New Issue