rpc-client/dist/util.d.ts

15 lines
477 B
TypeScript
Raw Normal View History

2022-12-04 07:42:04 +00:00
/// <reference types="node" />
import type { RPCResponse } from "@lumeweb/relay-types";
2022-08-27 19:13:00 +00:00
export declare function isPromise(obj: Promise<any>): boolean;
2022-12-04 07:42:04 +00:00
export declare function flatten(target: any, opts?: any): any[];
export declare function validateResponse(
relay: Buffer,
response: RPCResponse,
timestamped?: boolean
): boolean;
export declare function validateTimestampedResponse(
relay: Buffer,
response: RPCResponse
): boolean;
2022-08-18 23:20:23 +00:00
//# sourceMappingURL=util.d.ts.map