2022-12-04 10:39:59 +00:00
|
|
|
import RpcNetwork from "../network.js";
|
2023-03-23 16:48:48 +00:00
|
|
|
import { RPCRequest } from "@lumeweb/interface-relay";
|
2022-12-04 10:39:59 +00:00
|
|
|
import { RpcQueryOptions } from "../types.js";
|
|
|
|
import SimpleRpcQuery from "./simple.js";
|
|
|
|
export default class ClearCacheRpcQuery extends SimpleRpcQuery {
|
|
|
|
protected _relays: string[];
|
2023-03-18 16:11:41 +00:00
|
|
|
constructor({
|
|
|
|
network,
|
|
|
|
relays,
|
|
|
|
query,
|
|
|
|
options,
|
|
|
|
}: {
|
|
|
|
network: RpcNetwork;
|
|
|
|
relays: string[];
|
|
|
|
query: RPCRequest;
|
|
|
|
options: RpcQueryOptions;
|
|
|
|
});
|
2022-12-04 10:39:59 +00:00
|
|
|
protected _run(): Promise<void>;
|
|
|
|
protected queryRelay(): Promise<any>;
|
|
|
|
}
|
|
|
|
//# sourceMappingURL=clearCache.d.ts.map
|