v2.0.0 Add support Coordinates captcha and Capy Puzzle captcha
dzmitry-duboyski
released this
09 Mar 04:04
·
50 commits
to master
since this release
Features:
- Add support Coordinates captcha
- Add support Capy Puzzle captcha
Changes:
- IMPORTANT "breaking change" for method imageCaptcha, (now you need send all captcha params as an object. It is necessary for uniformity.)
What changed:
-
The method of passing parameters for image captcha has changed. Now all parameters for Image captcha are passed as an one object.
If you have old code using the
imageCaptcha
method, then you need to rewrite it, as it will stop working and return an error.Please correct your code according to this example:
solver.imageCaptcha({ body: imageBase64 })
Previously it was like this (now this code will throw an error):
solver.imageCaptcha(imageBase64)