feat(tasks): add proxy support

This commit is contained in:
sati.ac 2023-07-25 13:33:49 +03:00
parent 2601a80a47
commit 581178f0a9
2 changed files with 7 additions and 4 deletions

@ -1,6 +1,6 @@
{ {
"name": "sati", "name": "sati",
"version": "0.1.1", "version": "0.2.0",
"description": "next generation anti-captcha", "description": "next generation anti-captcha",
"license": "MIT", "license": "MIT",
"repository": { "repository": {

@ -4,7 +4,8 @@ export type tasks = {
siteKey: string, siteKey: string,
pageUrl: string, pageUrl: string,
action?: string, action?: string,
cData?: string cData?: string,
proxy?: string
}, },
result: { result: {
token: string token: string
@ -13,7 +14,8 @@ export type tasks = {
ReCaptcha2: { ReCaptcha2: {
params: { params: {
siteKey: string, siteKey: string,
pageUrl: string pageUrl: string,
proxy?: string
}, },
result: { result: {
token: string token: string
@ -24,7 +26,8 @@ export type tasks = {
siteKey: string, siteKey: string,
pageUrl: string, pageUrl: string,
data: Record<string, string> data: Record<string, string>
serviceUrl?: string serviceUrl?: string,
proxy?: string
}, },
result: { result: {
token: string token: string