mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
Update hcaptcha.d.ts
This commit is contained in:
parent
ea4bd60e24
commit
79f617d12e
4
src/@types/hcaptcha.d.ts
vendored
4
src/@types/hcaptcha.d.ts
vendored
@ -1,11 +1,11 @@
|
||||
declare module 'hcaptcha' {
|
||||
interface IVerifyResponse {
|
||||
interface IVerifyResponse {
|
||||
success: boolean;
|
||||
challenge_ts: string;
|
||||
hostname: string;
|
||||
credit?: boolean;
|
||||
'error-codes'?: unknown[];
|
||||
}
|
||||
}
|
||||
|
||||
export function verify(secret: string, token: string): Promise<IVerifyResponse>;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user