From c42cf65b8c4ea2ad52791f8fe807cf0bf771870b Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 24 Mar 2023 13:28:54 -0400 Subject: [PATCH] *Options needs to be optional --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index bc7e145..af046f3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -46,7 +46,7 @@ export class RpcNetwork extends Client { relay?: Buffer | string; query: ClientRPCRequest; data: object | any[]; - options: RpcQueryOptions; + options?: RpcQueryOptions; }): SimpleRpcQuery { return new SimpleRpcQuery({ network: this, @@ -109,7 +109,7 @@ export class SimpleRpcQuery extends RpcQueryBase { network: RpcNetwork; relay?: string | Buffer; query: RPCRequest; - options: RpcQueryOptions; + options?: RpcQueryOptions; }) { super(network, query, options, "simpleQuery"); this._relay = relay;