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

@antiadmin/anticaptchaofficial

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@antiadmin/anticaptchaofficial - npm Package Compare versions

Comparing version 1.0.44 to 1.0.45

11

index.js

@@ -304,3 +304,3 @@

async solveHCaptchaProxyless(websiteURL, websiteKey, userAgent, enterprisePayload, isInvisible) {
async solveHCaptchaProxyless(websiteURL, websiteKey, userAgent, enterprisePayload, isInvisible, isEnterprise) {
if (typeof userAgent === "undefined") userAgent = '';

@@ -317,2 +317,5 @@ const taskPayLoad = {

}
if (typeof isEnterprise === "boolean") {
if (isEnterprise === true) taskPayLoad['isEnterprise'] = true;
}
const taskCreateResult = await

@@ -346,3 +349,4 @@ this.JSONRequest('createTask', {

enterprisePayload,
isInvisible) {
isInvisible,
isEnterprise) {
const taskPayLoad = {

@@ -364,2 +368,5 @@ type: 'HCaptchaTask',

}
if (typeof isEnterprise === "boolean") {
if (isEnterprise === true) taskPayLoad['isEnterprise'] = true;
}
const taskCreateResult = await

@@ -366,0 +373,0 @@ this.JSONRequest('createTask', {

2

package.json
{
"name": "@antiadmin/anticaptchaofficial",
"version": "1.0.44",
"version": "1.0.45",
"description": "Official Anti-Captcha.com npm library",

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

@@ -201,5 +201,7 @@ ## Official Anti-Captcha.com npm module ##

'sentry': true,
// set here parameters like rqdata, sentry, apiEndpoint, endpoint, reportapi, assethost, imghost
// set here optional parameters like rqdata, sentry, apiEndpoint, endpoint, reportapi, assethost, imghost
// for more info go to https://anti-captcha.com/apidoc/task-types/HCaptchaTaskProxyless
});
},
false, //set isInvisible = false
true); //set isEnterprise = true
const userAgent = ac.getHcaptchaUserAgent();

@@ -227,5 +229,7 @@ // use this userAgent for posting the form with token!

'sentry': true,
// set here parameters like rqdata, sentry, apiEndpoint, endpoint, reportapi, assethost, imghost
// set here optional parameters like rqdata, sentry, apiEndpoint, endpoint, reportapi, assethost, imghost
// for more info go to https://anti-captcha.com/apidoc/task-types/HCaptchaTaskProxyless
});
},
false, //set isInvisible = false
true); //set isEnterprise = true
const userAgent = ac.getHcaptchaUserAgent();

@@ -232,0 +236,0 @@ // use this userAgent for posting the form with token!

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