UNPKG

@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) 358 B
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: any, sentry: any, retries?: number): any; export declare function hCaptchaLoader(params?: ILoaderParams): Promise<any>;