@skrillex1224/playwright-toolkit 3.0.31 → 3.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +12 -3
- package/dist/index.cjs.map +2 -2
- package/dist/index.js +12 -3
- package/dist/index.js.map +2 -2
- package/index.d.ts +11 -0
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -410,6 +410,16 @@ export interface ProxyConfiguration {
|
|
|
410
410
|
enable_proxy?: boolean;
|
|
411
411
|
}
|
|
412
412
|
|
|
413
|
+
export type ResolvedProxyConfiguration =
|
|
414
|
+
| string
|
|
415
|
+
| {
|
|
416
|
+
server: string;
|
|
417
|
+
username?: string;
|
|
418
|
+
password?: string;
|
|
419
|
+
bypass?: string;
|
|
420
|
+
}
|
|
421
|
+
| null;
|
|
422
|
+
|
|
413
423
|
export interface CrawlerBaseOptions {
|
|
414
424
|
maxConcurrency: number;
|
|
415
425
|
maxRequestRetries: number;
|
|
@@ -478,6 +488,7 @@ export interface CloakPlaywrightCrawlerOptions extends PlaywrightCrawlerOptions
|
|
|
478
488
|
}
|
|
479
489
|
|
|
480
490
|
export interface CloakLaunchModule {
|
|
491
|
+
resolveProxyConfiguration(proxyConfiguration?: ProxyConfiguration): ResolvedProxyConfiguration;
|
|
481
492
|
getPlaywrightCrawlerOptions(options?: CloakGetPlaywrightCrawlerOptionsInput): Promise<CloakPlaywrightCrawlerOptions>;
|
|
482
493
|
}
|
|
483
494
|
|