feat(tasks): add proxy support
This commit is contained in:
		@ -1,6 +1,6 @@
 | 
			
		||||
{
 | 
			
		||||
	"name": "sati",
 | 
			
		||||
	"version": "0.1.1",
 | 
			
		||||
	"version": "0.2.0",
 | 
			
		||||
	"description": "next generation anti-captcha",
 | 
			
		||||
	"license": "MIT",
 | 
			
		||||
	"repository": {
 | 
			
		||||
 | 
			
		||||
@ -4,7 +4,8 @@ export type tasks = {
 | 
			
		||||
			siteKey: string,
 | 
			
		||||
			pageUrl: string,
 | 
			
		||||
			action?: string,
 | 
			
		||||
			cData?: string
 | 
			
		||||
			cData?: string,
 | 
			
		||||
			proxy?: string
 | 
			
		||||
		},
 | 
			
		||||
		result: {
 | 
			
		||||
			token: string
 | 
			
		||||
@ -13,7 +14,8 @@ export type tasks = {
 | 
			
		||||
	ReCaptcha2: {
 | 
			
		||||
		params: {
 | 
			
		||||
			siteKey: string,
 | 
			
		||||
			pageUrl: string
 | 
			
		||||
			pageUrl: string,
 | 
			
		||||
			proxy?: string
 | 
			
		||||
		},
 | 
			
		||||
		result: {
 | 
			
		||||
			token: string
 | 
			
		||||
@ -24,7 +26,8 @@ export type tasks = {
 | 
			
		||||
			siteKey: string,
 | 
			
		||||
			pageUrl: string,
 | 
			
		||||
			data: Record<string, string>
 | 
			
		||||
			serviceUrl?: string
 | 
			
		||||
			serviceUrl?: string,
 | 
			
		||||
			proxy?: string
 | 
			
		||||
		},
 | 
			
		||||
		result: {
 | 
			
		||||
			token: string
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user