rpc-client/dist/query/index.d.ts

31 lines
793 B
TypeScript
Raw Normal View History

2022-12-04 11:37:24 +00:00
import { ClientRPCRequest, RPCRequest } from "@lumeweb/relay-types";
import { RpcQueryOptions } from "../types.js";
import SimpleRpcQuery from "./simple.js";
import ClearCacheRpcQuery from "./clearCache.js";
import RpcNetwork from "../network.js";
import RpcQueryBase from "./base.js";
export default class RpcNetworkQueryFactory {
private _network;
constructor(network: RpcNetwork);
simple({
relay,
query,
options,
}: {
relay: string;
query: ClientRPCRequest;
options?: RpcQueryOptions;
}): SimpleRpcQuery;
clearCache({
relays,
query,
options,
}: {
relays: string[];
query: RPCRequest;
options?: RpcQueryOptions;
}): ClearCacheRpcQuery;
}
2023-03-18 16:11:41 +00:00
export { RpcNetwork, RpcQueryBase, SimpleRpcQuery };
2022-12-04 11:37:24 +00:00
//# sourceMappingURL=index.d.ts.map