-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
index.d.ts type discrepancy #24
Comments
Jij |
Thursday's breaking news News Type : Initial Jobless Claims News Type : PPI (MoM) (May) News Type : Core PPI m/m PAKISTAN Time Zone Subscribe to https://t.me/+KcCkfhl7PipmN2M0 |
1 similar comment
Thursday's breaking news News Type : Initial Jobless Claims News Type : PPI (MoM) (May) News Type : Core PPI m/m PAKISTAN Time Zone Subscribe to https://t.me/+KcCkfhl7PipmN2M0 |
https://docs.hcaptcha.com/
According to hcaptcha's developer guide, there are fields score and score_reason, which aren't taken into account in the types declaration.
{
"success": true|false, // is the passcode valid, and does it meet security criteria you specified, e.g. sitekey?
"challenge_ts": timestamp, // timestamp of the challenge (ISO format yyyy-MM-dd'T'HH:mm:ssZZ)
"hostname": string, // the hostname of the site where the challenge was solved
"credit": true|false, // optional: deprecated field
"error-codes": [...] // optional: any error codes
"score": float, // ENTERPRISE feature: a score denoting malicious activity.
"score_reason": [...] // ENTERPRISE feature: reason(s) for score.
}
The text was updated successfully, but these errors were encountered: