mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-13 13:37:31 -07:00
Update hcaptcha.d.ts
This commit is contained in:
parent
ea4bd60e24
commit
79f617d12e
1 changed files with 2 additions and 2 deletions
4
src/@types/hcaptcha.d.ts
vendored
4
src/@types/hcaptcha.d.ts
vendored
|
@ -1,11 +1,11 @@
|
||||||
declare module 'hcaptcha' {
|
declare module 'hcaptcha' {
|
||||||
interface IVerifyResponse {
|
interface IVerifyResponse {
|
||||||
success: boolean;
|
success: boolean;
|
||||||
challenge_ts: string;
|
challenge_ts: string;
|
||||||
hostname: string;
|
hostname: string;
|
||||||
credit?: boolean;
|
credit?: boolean;
|
||||||
'error-codes'?: unknown[];
|
'error-codes'?: unknown[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export function verify(secret: string, token: string): Promise<IVerifyResponse>;
|
export function verify(secret: string, token: string): Promise<IVerifyResponse>;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue