*Update dist
This commit is contained in:
parent
8684fcde3c
commit
bf68b28680
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue