Add support for hCaptcha
This commit is contained in:
9
src/@types/hcaptcha.d.ts
vendored
Normal file
9
src/@types/hcaptcha.d.ts
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
declare module 'hcaptcha' {
|
||||
export function verify(secret: string, token: string): Promise<{
|
||||
success: boolean;
|
||||
challenge_ts: string;
|
||||
hostname: string;
|
||||
credit?: boolean;
|
||||
'error-codes'?: unknown[];
|
||||
}>;
|
||||
}
|
Reference in New Issue
Block a user