@capbypass/sdk 1.0.6 → 1.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -145,6 +145,8 @@ function parseError(errorCode, errorDescription) {
145
145
  case "ERROR_INVALID_TASK_DATA":
146
146
  case "ERROR_INVALID_DEVELOPER_KEY":
147
147
  case "ERROR_PROXY_NOT_DEFINED":
148
+ case "ERROR_PROXY_CONNECTION_FAILED":
149
+ case "ERROR_PROXY_BANNED":
148
150
  case "ERROR_WRONG_TASK_TYPE":
149
151
  case "ERROR_TASK_TYPE_COMING_SOON":
150
152
  case "ERROR_TASK_TYPE_INACTIVE":
package/dist/index.mjs CHANGED
@@ -95,6 +95,8 @@ function parseError(errorCode, errorDescription) {
95
95
  case "ERROR_INVALID_TASK_DATA":
96
96
  case "ERROR_INVALID_DEVELOPER_KEY":
97
97
  case "ERROR_PROXY_NOT_DEFINED":
98
+ case "ERROR_PROXY_CONNECTION_FAILED":
99
+ case "ERROR_PROXY_BANNED":
98
100
  case "ERROR_WRONG_TASK_TYPE":
99
101
  case "ERROR_TASK_TYPE_COMING_SOON":
100
102
  case "ERROR_TASK_TYPE_INACTIVE":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@capbypass/sdk",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "Official TypeScript/JavaScript SDK for CapBypass CAPTCHA solving service",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",