twitch-account
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -33,4 +33,4 @@ "use strict"; | ||
} | ||
: undefined; | ||
const taskId = yield this.client.createTask(Object.assign({ type: proxy ? anticaptcha_1.TaskTypes.FUN_CAPTCHA : 'FunCaptchaTaskProxyless', websiteURL: options.url, websitePublicKey: options.key, userAgent: this.userAgent }, proxy)); | ||
: {}; | ||
const taskId = yield this.client.createTask(Object.assign({ type: this.proxy ? anticaptcha_1.TaskTypes.FUN_CAPTCHA : 'FunCaptchaTaskProxyless', websiteURL: options.url, websitePublicKey: options.key, userAgent: this.userAgent }, proxy)); | ||
const { solution: { token }, } = yield this.client.getTaskResult(taskId, options.retry || 20, options.retryInterval || 2000); | ||
@@ -37,0 +37,0 @@ return token; |
{ | ||
"name": "twitch-account", | ||
"description": "Create a twitch account", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
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
27452