/** * Standalone Cap.js entry point. * * Use this for custom integrations where you manage the automation client * yourself via `@mochabug/adapt-core`. * * ```ts * import { Cap } from "@mochabug/adapt-web/cap"; * import { createConnectClient } from "@mochabug/adapt-core/connect"; * * const widget = new Cap({ * container: "cap-container", * automationId: "my-automation", * client: createConnectClient({ id: "my-automation" }), * onSolve: (token, expires) => console.log("Solved:", token), * }); * ``` */ import "./AdaptCapElement.js"; export { AdaptCapWidget as Cap } from "./AdaptCapWidget.js"; export type { AdaptCapWidgetOptions } from "./AdaptCapWidget.js"; export { createChallenge, redeemChallenge } from "./cap-adapter.js"; export type { ChallengeInfo, RedeemChallengeOptions, RedeemedChallenge, CapWidgetI18n, CapWidgetOptions, } from "./types.js"; export { AdaptCapElement } from "./AdaptCapElement.js"; export { createConnectClient } from "@mochabug/adapt-core/connect";