*Add bypassCache to simpleQuery

This commit is contained in:
Derrick Hammer 2022-08-30 22:48:46 -04:00
parent 70a6092079
commit a4f0f10a85
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 2 additions and 0 deletions

View File

@ -131,6 +131,7 @@ export default class RpcNetwork {
method: string,
module: string,
data: object | any[] = {},
bypassCache: boolean = false,
options: RpcQueryOptions = {}
): SimpleRpcQuery {
return new SimpleRpcQuery(
@ -140,6 +141,7 @@ export default class RpcNetwork {
method,
module,
data,
bypassCache: bypassCache || this._bypassCache,
},
options
).run();