UNPKG

recaptcha-v3-enterprise

Version:

A simple and easy to use reCAPTCHA Enterprise (v3 only) library for the browser.

13 lines (12 loc) 434 B
import { IReCaptchaInstance } from './grecaptcha/grecaptcha'; export declare class ReCaptchaInstance { private readonly siteKey; private readonly recaptchaID; private readonly recaptcha; private styleContainer; constructor(siteKey: string, recaptchaID: string, recaptcha: IReCaptchaInstance); execute(action?: string): Promise<string>; getSiteKey(): string; hideBadge(): void; showBadge(): void; }