@hcaptcha/loader
Version:
This is a JavaScript library to easily configure the loading of the hCaptcha JS client SDK with built-in error handling.
9 lines (8 loc) • 335 B
TypeScript
export declare function generateQuery(params: any): string;
export declare function getFrame(element?: Element): {
document: any;
window: any;
};
export declare function getMountElement(element?: Element): Element;
export declare function setContext(scope: any): void;
export declare function delay(ms: number): Promise<void>;