@hcaptcha/loader
Version:
This is a JavaScript library to easily configure the loading of the hCaptcha JS client SDK with built-in error handling.
6 lines (5 loc) • 383 B
TypeScript
import type { ILoaderParams, SentryHub } from './types';
export declare const hCaptchaScripts: any[];
export declare function hCaptchaApi(params: ILoaderParams, sentry: SentryHub): Promise<any>;
export declare function loadScript(params: ILoaderParams, sentry: SentryHub, retries?: number): Promise<any>;
export declare function hCaptchaLoader(params?: ILoaderParams): Promise<any>;