@skrillex1224/playwright-toolkit 2.1.250 → 2.1.251

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
@@ -474,6 +474,7 @@ export interface RuntimeEnvState {
474
474
 
475
475
  export interface RuntimeEnvApplyOptions {
476
476
  actor?: string;
477
+ preapply?: (runtimeState: RuntimeEnvState) => RuntimeEnvState | Promise<RuntimeEnvState>;
477
478
  }
478
479
 
479
480
  export interface RuntimeEnvSnapshot {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skrillex1224/playwright-toolkit",
3
- "version": "2.1.250",
3
+ "version": "2.1.251",
4
4
  "description": "一个在 Apify/Crawlee Actor 中启用实时截图视图的实用工具库。",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",