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.

3 lines (2 loc) 245 B
import type { IScriptParams } from './types'; export declare function fetchScript({ scriptLocation, query, loadAsync, crossOrigin, apihost, cleanup, secureApi, scriptSource }?: IScriptParams, onError?: (message: any) => void): Promise<unknown>;