@skrillex1224/playwright-toolkit 3.0.35 → 3.0.37

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
@@ -555,8 +555,15 @@ export interface RuntimeEnvState {
555
555
  browserProfileObserved: Record<string, any>;
556
556
  }
557
557
 
558
+ export interface RuntimeEnvApplyExclude {
559
+ cookies?: string[];
560
+ local_storage?: string[];
561
+ session_storage?: string[];
562
+ }
563
+
558
564
  export interface RuntimeEnvApplyOptions {
559
565
  actor?: string;
566
+ exclude?: RuntimeEnvApplyExclude;
560
567
  preapply?: (runtimeState: RuntimeEnvState) => RuntimeEnvState | Promise<RuntimeEnvState>;
561
568
  }
562
569
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrillex1224/playwright-toolkit",
3
- "version": "3.0.35",
3
+ "version": "3.0.37",
4
4
  "description": "一个在 Apify/Crawlee Actor 中启用实时截图视图的实用工具库。",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",