Open
Description
As seen in the 2Captcha documentation for Amazon WAF CAPTCHAs, challengeScript
and captchaScript
are missing in the type definition paramsAmazonWAF
entirely:
2captcha-javascript/src/structs/2captcha.ts
Lines 142 to 152 in 40bc217
Also the response typing is incorrect. For Amazon WAF it's actually structured like this:
interface CaptchaAnswerAmazonWAF {
data: {
captcha_voucher: string,
existing_token: string
},
id: string
};
But it's implemented like this (data is NOT a string!!!):
2captcha-javascript/src/structs/2captcha.ts
Lines 232 to 237 in 40bc217
I suspect many more typings will be incorrect as well.
Metadata
Metadata
Assignees
Labels
No labels