Configuration Object
You can optionally pass a configuration object when initializing the Solver to customize your implementation:
import { Solver, createConfig } from "cash-captcha";
const config = createConfig({
  apiUrl: "https://your-custom-api-url.com",
  logLevel: "info",
  maxRetries: 5,
  retryDelay: 3000,
  performanceThreshold: 2,
});
const solver = new Solver(apiKey, config);Last updated