2022-12-04 10:39:59 +00:00
|
|
|
import RpcNetwork from "../network.js";
|
|
|
|
import { RPCRequest } from "@lumeweb/relay-types";
|
|
|
|
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
|