From bf68b28680d4bcf85de58ea33086c0ffd1c773ca Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Fri, 24 Mar 2023 15:58:40 -0400 Subject: [PATCH] *Update dist --- dist/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dist/index.js b/dist/index.js index 09c4543..a4e6522 100644 --- a/dist/index.js +++ b/dist/index.js @@ -24,7 +24,7 @@ export class RpcNetwork extends Client { }); } simpleQuery({ relay, query, options = {}, }) { - return new SimpleRpcQuery({ + return createSimpleRpcQuery({ network: this, relay, query, @@ -80,3 +80,4 @@ export class SimpleRpcQuery extends RpcQueryBase { } } export const createClient = factory(RpcNetwork, RPC_MODULE); +const createSimpleRpcQuery = factory(SimpleRpcQuery, RPC_MODULE);