From 75442b08f7a7c1f334fb21f529783fd2f6910fd0 Mon Sep 17 00:00:00 2001 From: dzmitry-duboyski Date: Mon, 5 Feb 2024 19:16:02 +0400 Subject: [PATCH] fix typos JSDOC for imginstructions --- src/structs/2captcha.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/structs/2captcha.ts b/src/structs/2captcha.ts index e545c34..6cba7cf 100644 --- a/src/structs/2captcha.ts +++ b/src/structs/2captcha.ts @@ -179,7 +179,7 @@ export interface paramsCoordinates { lang?: string, pingback?: string, textinstructions?: string, - imginstrucation?: string + imginstructions?: string } export interface paramsDataDome { @@ -928,9 +928,9 @@ export class Solver { /** * ### Solves a Coordinates captcha. * - * @param {{ body, imginstrucation, textinstructions, language, lang, pingback }} params parameters Сoordinates Captcha as an object. + * @param {{ body, imginstructions, textinstructions, language, lang, pingback }} params parameters Сoordinates Captcha as an object. * @param {string} params.body Base64-encoded captcha image. - * @param {string} params.imginstrucation Base64-encoded image with instruction for solving captcha. + * @param {string} params.imginstructions Base64-encoded image with instruction for solving captcha. * @param {string} params.textinstructions Text will be shown to worker to help him to solve the captcha correctly. For example: click on all objects in red color. * @param {number} params.language `0` - not specified. `1` - Cyrillic captcha. `2` - Latin captcha * @param {string} params.lang Language code. [See the list of supported languages](https://2captcha.com/2captcha-api#language).