Something went wrong. Try again.
TypeScript client for accessing TLE Community.
Something went wrong. Try again.
12345678910111213141516171819202122232425import Lacuna from '../lacuna';import Endpoint from '../core/endpoint';import * as C from '../types/captcha';
class Captcha extends Endpoint { lacuna: Lacuna; module: string;
constructor(lacuna: Lacuna, module: string) { super(); this.lacuna = lacuna; this.module = module; }
fetch(params: C.FetchParams = {}) { return this.callWithSession<C.FetchResponse>('fetch', params); }
solve(params: C.SolveParams) { return this.callWithSession<C.SolveResponse>('solve', params); }}
export default Captcha;