*Update dist
This commit is contained in:
parent
a4f0f10a85
commit
403297c255
|
@ -46,6 +46,7 @@ export default class RpcNetwork {
|
||||||
method: string,
|
method: string,
|
||||||
module: string,
|
module: string,
|
||||||
data?: object | any[],
|
data?: object | any[],
|
||||||
|
bypassCache?: boolean,
|
||||||
options?: RpcQueryOptions
|
options?: RpcQueryOptions
|
||||||
): SimpleRpcQuery;
|
): SimpleRpcQuery;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
{"version":3,"file":"network.d.ts","sourceRoot":"","sources":["../src/network.ts"],"names":[],"mappings":";AAAA,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAG/C,OAAO,iBAAiB,MAAM,sBAAsB,CAAC;AACrD,OAAO,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACpE,OAAO,cAAc,MAAM,mBAAmB,CAAC;AAE/C,MAAM,CAAC,OAAO,OAAO,UAAU;gBACjB,GAAG,MAAY;IAI3B,OAAO,CAAC,IAAI,CAAa;IAEzB,IAAI,GAAG,QAEN;IAED,OAAO,CAAC,kBAAkB,CAAQ;IAElC,IAAI,iBAAiB,IAAI,MAAM,CAE9B;IAED,IAAI,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAElC;IAED,OAAO,CAAC,aAAa,CAAM;IAE3B,IAAI,YAAY,IAAI,MAAM,CAEzB;IAED,IAAI,YAAY,CAAC,KAAK,EAAE,MAAM,EAE7B;IAED,OAAO,CAAC,aAAa,CAAK;IAE1B,IAAI,YAAY,IAAI,MAAM,CAEzB;IAED,IAAI,YAAY,CAAC,KAAK,EAAE,MAAM,EAE7B;IAED,OAAO,CAAC,OAAO,CAAgB;IAE/B,IAAI,MAAM,IAAI,MAAM,EAAE,CAErB;IAED,OAAO,CAAC,MAAM,CAAC,CAAgB;IAE/B,IAAI,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC,CAKzB;IAED,OAAO,CAAC,YAAY,CAAkB;IAEtC,IAAI,WAAW,IA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{
|
||||||
streamingQuery(relay, method, module, streamHandler, data = {}, options = {}) {
|
streamingQuery(relay, method, module, streamHandler, data = {}, options = {}) {
|
||||||
return new StreamingRpcQuery(this, relay, { method, module, data }, { streamHandler, ...options }).run();
|
return new StreamingRpcQuery(this, relay, { method, module, data }, { streamHandler, ...options }).run();
|
||||||
}
|
}
|
||||||
simpleQuery(relay, method, module, data = {}, options = {}) {
|
simpleQuery(relay, method, module, data = {}, bypassCache = false, options = {}) {
|
||||||
return new SimpleRpcQuery(this, relay, {
|
return new SimpleRpcQuery(this, relay, {
|
||||||
method,
|
method,
|
||||||
module,
|
module,
|
||||||
data,
|
data,
|
||||||
|
bypassCache: bypassCache || this._bypassCache,
|
||||||
}, options).run();
|
}, options).run();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue