Closed divine closed 2 years ago
Hello,
I can't pass optional parameters as it's not allowed in typed properties.
Please see: https://2captcha.com/2captcha-api#solving_recaptchav3
version | String | Yes | v3 — defines that you're sending a reCAPTCHA V3 -- | -- | -- | -- enterprise | StringDefault: 0 | No | 1 - defines that you're sending reCAPTCHA Enterpise V3 action | StringDefault: verify | No | Value of action parameter you found on page min_score | IntegerDefault: 0.4 | No | The score needed for resolution. Currently it's almost impossible to get token with score higher than 0.3Thanks!
Merged, I'll push an update to NPM tonight.
Action is specified within this libraries function calls, and not by the user for the sake of convenience, so I don't think it should be included in the parameters a user can pass in, unless there's an actual use case of having it optional?