Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

bestcaptchasolver

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bestcaptchasolver - npm Package Compare versions

Comparing version 1.0.9 to 1.1.0

examples/funcaptcha.js

19

lib/bestcaptchasolver.js

@@ -135,2 +135,19 @@ const fs = require('fs');

/**
* Submit FunCaptcha
* @param data
* @returns {Promise<any>}
*/
exports.submit_funcaptcha = function (data) {
var deferred = Q.defer();
data.access_token = _access_token;
var url = BASE_URL + '/captcha/funcaptcha';
R.post(url, data).then(function (resp) {
return deferred.resolve(resp.getBody().id);
}).catch(function (err) {
return deferred.reject(new Error(err.getBody().error));
});
return deferred.promise;
};
/**
* Retrieve captcha text or gresponse by ID

@@ -178,2 +195,2 @@ * @param id

return deferred.promise;
};
};

2

package.json
{
"name": "bestcaptchasolver",
"version": "1.0.9",
"version": "1.1.0",
"description": "bestcaptchasolve-nodejs is a super easy to use bypass captcha nodeJS API wrapper for bestcaptchasolver.com captcha service ",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -117,2 +117,17 @@ bestcaptchasolver - Bestcaptchasolver nodeJS client API library

**FunCaptcha (Arkose Labs)**
- page_url
- s_url
- site_key
```javascript
bestcaptchasolver.submit_hcaptcha({
page_url: 'https://abc.com',
s_url: 'https://api.arkoselabs.com',
site_key: '11111111-1111-1111-1111-111111111111',
// data: '{"x":"y"}', // optional
// affiliate_id: 'ID of affiliate' // optional
}).then(function (id)) { /* use id to retrieve solution */ };
```
**Retrieve**

@@ -119,0 +134,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc