@antiadmin/anticaptchaofficial
Advanced tools
Comparing version 1.0.23 to 1.0.24
55
index.js
@@ -29,2 +29,4 @@ | ||
softId: 0 | ||
}, | ||
@@ -37,2 +39,7 @@ setAPIKey(key) { | ||
}, | ||
//Specify softId to earn 10% commission with your app. | ||
//Get your softId here: https://anti-captcha.com/clients/tools/devcenter | ||
setSoftId(softId) { | ||
this.settings.softId = softId; | ||
}, | ||
getBalance() { | ||
@@ -62,3 +69,4 @@ return new Promise((resolve, reject) => { | ||
}, | ||
'languagePool' : this.settings.languagePool | ||
'languagePool' : this.settings.languagePool, | ||
'softId' : this.settings.softId | ||
}) | ||
@@ -98,3 +106,4 @@ .then(res => { | ||
'clientKey' : this.settings.clientKey, | ||
'task' : task | ||
'task' : task, | ||
'softId' : this.settings.softId | ||
}) | ||
@@ -145,3 +154,4 @@ .then(res => { | ||
'clientKey' : this.settings.clientKey, | ||
'task' : task | ||
'task' : task, | ||
'softId' : this.settings.softId | ||
}) | ||
@@ -173,3 +183,4 @@ .then(res => { | ||
pageAction: pageAction | ||
} | ||
}, | ||
'softId' : this.settings.softId | ||
}) | ||
@@ -201,3 +212,4 @@ .then(res => { | ||
'clientKey' : this.settings.clientKey, | ||
'task' : taskObject | ||
'task' : taskObject, | ||
'softId' : this.settings.softId | ||
}) | ||
@@ -244,3 +256,4 @@ .then(res => { | ||
'clientKey' : this.settings.clientKey, | ||
'task' : taskObject | ||
'task' : taskObject, | ||
'softId' : this.settings.softId | ||
}) | ||
@@ -269,3 +282,4 @@ .then(res => { | ||
isEnterprise: true | ||
} | ||
}, | ||
'softId' : this.settings.softId | ||
}) | ||
@@ -321,3 +335,4 @@ .then(res => { | ||
'clientKey' : this.settings.clientKey, | ||
'task' : taskPayLoad | ||
'task' : taskPayLoad, | ||
'softId' : this.settings.softId | ||
}) | ||
@@ -366,3 +381,4 @@ .then(res => { | ||
'clientKey' : this.settings.clientKey, | ||
'task' : taskPayLoad | ||
'task' : taskPayLoad, | ||
'softId' : this.settings.softId | ||
}) | ||
@@ -409,3 +425,4 @@ .then(res => { | ||
}) : '' | ||
} | ||
}, | ||
'softId' : this.settings.softId | ||
@@ -449,3 +466,4 @@ }) | ||
cookies: cookies | ||
} | ||
}, | ||
'softId' : this.settings.softId | ||
}) | ||
@@ -483,3 +501,4 @@ .then(res => { | ||
geetestGetLib: getLib, | ||
} | ||
}, | ||
'softId' : this.settings.softId | ||
}) | ||
@@ -512,3 +531,4 @@ .then(res => { | ||
initParameters: initParameters, | ||
} | ||
}, | ||
'softId' : this.settings.softId | ||
}) | ||
@@ -556,3 +576,4 @@ .then(res => { | ||
cookies: cookies | ||
} | ||
}, | ||
'softId' : this.settings.softId | ||
}) | ||
@@ -601,3 +622,4 @@ .then(res => { | ||
cookies: cookies | ||
} | ||
}, | ||
'softId' : this.settings.softId | ||
}) | ||
@@ -648,3 +670,4 @@ .then(res => { | ||
domainsOfInterest: domainsOfInterest | ||
} | ||
}, | ||
'softId' : this.settings.softId | ||
}) | ||
@@ -651,0 +674,0 @@ .then(res => { |
{ | ||
"name": "@antiadmin/anticaptchaofficial", | ||
"version": "1.0.23", | ||
"version": "1.0.24", | ||
"description": "Official Anti-Captcha.com npm library", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -30,2 +30,8 @@ ## Official Anti-Captcha.com npm module ## | ||
``` | ||
Specify softId to earn __10% commission__ from all captcha spendings with your app. | ||
Get your softId in [Developers Center](https://anti-captcha.com/clients/tools/devcenter). | ||
```javascript | ||
ac.setSoftId(SOFT_ID_NUMBER); | ||
``` | ||
| ||
@@ -32,0 +38,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
43634
722
255