@skrillex1224/playwright-toolkit 3.0.31 → 3.0.32

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/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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrillex1224/playwright-toolkit",
3
- "version": "3.0.31",
3
+ "version": "3.0.32",
4
4
  "description": "一个在 Apify/Crawlee Actor 中启用实时截图视图的实用工具库。",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",