*Update dist

This commit is contained in:
Derrick Hammer 2023-03-24 15:58:40 -04:00
parent 8684fcde3c
commit bf68b28680
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 1 deletions

3
dist/index.js vendored
View File

@ -24,7 +24,7 @@ export class RpcNetwork extends Client {
}); });
} }
simpleQuery({ relay, query, options = {}, }) { simpleQuery({ relay, query, options = {}, }) {
return new SimpleRpcQuery({ return createSimpleRpcQuery({
network: this, network: this,
relay, relay,
query, query,
@ -80,3 +80,4 @@ export class SimpleRpcQuery extends RpcQueryBase {
} }
} }
export const createClient = factory(RpcNetwork, RPC_MODULE); export const createClient = factory(RpcNetwork, RPC_MODULE);
const createSimpleRpcQuery = factory(SimpleRpcQuery, RPC_MODULE);