You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was checking the AntiCaptcha class, the method createTask has three params in the method signature, according to this:
/** * Dispatch a task creation to the service. This will return a taskId. * * @param {string} task - Task to perform * @param {string} websiteKey - The value of the "data-site-key" attribute. <- this param is missing * @param {string} languagePool - The language pool. Default to English if not provided. * * @memberof AntiCaptcha */publicasynccreateTask<T>(task: T,languagePool: LanguagePoolTypes=LanguagePoolTypes.ENGLISH){constresponse=(awaitthis.api.post("createTask",{
languagePool,
task
}))asApiResponse<ICreateTaskResponse>;if(response.ok&&response.data.errorId===0){returnresponse.data.taskId;}thrownewAntiCaptchaError(response.data.errorCode,response.data.errorDescription);}
Is the websiteKey not longer required?
The text was updated successfully, but these errors were encountered:
I do, in fact createTaskRecaptchaV2Proxyless, createTaskRecaptchaV3Proxyless and createTask both uses the same endpoint, but only in the createTask method the declaration is wrong.
I was checking the AntiCaptcha class, the method
createTask
has three params in the method signature, according to this:Is the websiteKey not longer required?
The text was updated successfully, but these errors were encountered: