@slide-computer/signer-web
Version:
JavaScript and TypeScript library to communicate with web signers on the Internet Computer
16 lines (15 loc) • 390 B
TypeScript
interface HeartbeatOptions {
signerWindow: Window;
onReadyResponse: (origin: string) => void;
readyTimeout: number;
onReadyTimeout: () => void;
pollingRate: number;
window?: Window;
crypto?: Pick<Crypto, "randomUUID">;
}
export declare class Heartbeat {
#private;
constructor(options: HeartbeatOptions);
set readyTimeout(value: number);
}
export {};