*allow a buffer to be passed

This commit is contained in:
Derrick Hammer 2023-03-18 12:23:49 -04:00
parent ee5c1ea692
commit cce09d1e95
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ export default class RpcNetworkQueryFactory {
query,
options = {},
}: {
relay: string;
relay: string | Buffer;
query: ClientRPCRequest;
options?: RpcQueryOptions;
}): SimpleRpcQuery {

View File

@ -19,7 +19,7 @@ export default class SimpleRpcQuery extends RpcQueryBase {
options,
}: {
network: RpcNetwork;
relay?: string | any;
relay?: string | Buffer | any;
query: ClientRPCRequest;
options: RpcQueryOptions;
}) {