Skip to content

Add FengkongCloud, ARCaptcha, HeyTap and Proton Captcha request types - #49

Merged
kir58 merged 1 commit into
mainfrom
sdk-bot/263e5835-add-fengkongcloud-arcaptcha-heytap-and-p-bbbe
Dec 1, 2026
Merged

kir58 merged 1 commit into
mainfrom
sdk-bot/263e5835-add-fengkongcloud-arcaptcha-heytap-and-p-bbbe

Conversation

@capmonster-sdk-bot

Copy link
Copy Markdown

Context

New solvers documented at:

Field evidence (from the articles' request-parameter lists):

  • FengkongCloud: **class** (string, required): **fengkongcloud**, **websiteKey** (string, required), **apiJsUrl (inside metadata)** (string, optional), **userAgent** (string, optional); solution solution.data.token.
  • ARCaptcha: **type** (string, required): **ArCaptchaTask**, **websiteKey** (string, required), **isInvisible** (boolean, optional), **userAgent** (string, optional); solution solution.token.
  • HeyTap: **class** (string, required): **heytap**, **websiteKey** (string, required), **apiServer (inside metadata)** (string, optional), **userAgent** (string, optional); solution solution.data.token.
  • Proton Captcha: **class** (string, required): **proton**, **HumanVerificationToken (inside metadata)** (string, required), **pageAction (inside metadata)** (string, required): Action on the site: login or signup, **proxyType/proxyAddress/proxyPort/proxyLogin/proxyPassword** (required); no websiteKey; solution solution.data.tokens.

Changes

  • src/Requests/FengkongCloudRequest/, HeyTapRequest/, ProtonRequest/: new CustomTask request classes (Base + Request + index). Proxy is optional for FengkongCloud and HeyTap, required for Proton.
  • src/Requests/ArCaptchaRequest/: new standard ArCaptchaTask request (modelled on MTCaptchaRequest).
  • src/TaskType.ts: add ArCaptchaTask; src/GetResultTimeouts.ts: ArCaptchaTaskTimeouts and a case in detectResultTimeouts (CustomTask types reuse CustomTaskTimeouts).
  • src/Responses/: FengkongCloudResponse, HeyTapResponse, ProtonResponse, ArCaptchaResponse (+ Base types).
  • src/Requests/Task.ts, src/GetTaskResult.ts, src/CapMonsterCloudClient.ts (4 Solve overloads), src/index.ts (both export lists).
  • README.md: classes added to the task family table.
  • tools/self-verify/docs-catalog.json: 4 entries.
  • package.json: version 2.9.7 -> 2.10.0 (new request types).

Testing

  • New serialization cases in src/Requests/RequestsSerialization.u.spec.ts for every new type (plain, with proxy; Proton with login and signup).
  • npx tsc --noEmit and npm run test-unit pass.

Open questions

None. Additive change only, no breaking changes.


Prepared automatically by the SDK update bot. Please review before merging.

@kir58
kir58 merged commit 2e7e4a4 into main Dec 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant