@letsscrapedata/controller 0.0.69 → 0.0.70

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.d.cts CHANGED
@@ -1036,7 +1036,7 @@ interface LsdPage extends EventEmitter {
1036
1036
  * @param args
1037
1037
  * @param isolated default true; whether to run in isolated context; only valid for patchwright and camoufox
1038
1038
  */
1039
- evaluate(func: Function | string, args?: any[]): Promise<any>;
1039
+ evaluate(func: Function | string, args?: any[], isolated?: boolean): Promise<any>;
1040
1040
  /**
1041
1041
  * The method adds a function called `name` on the page's `window` object.
1042
1042
  * When called, the function executes `callbackFunction` in node.js and
package/dist/index.d.ts CHANGED
@@ -1036,7 +1036,7 @@ interface LsdPage extends EventEmitter {
1036
1036
  * @param args
1037
1037
  * @param isolated default true; whether to run in isolated context; only valid for patchwright and camoufox
1038
1038
  */
1039
- evaluate(func: Function | string, args?: any[]): Promise<any>;
1039
+ evaluate(func: Function | string, args?: any[], isolated?: boolean): Promise<any>;
1040
1040
  /**
1041
1041
  * The method adds a function called `name` on the page's `window` object.
1042
1042
  * When called, the function executes `callbackFunction` in node.js and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@letsscrapedata/controller",
3
- "version": "0.0.69",
3
+ "version": "0.0.70",
4
4
  "description": "Unified browser / HTML controller interfaces that support patchright, camoufox, playwright, puppeteer and cheerio",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
@@ -48,7 +48,7 @@
48
48
  "apify"
49
49
  ],
50
50
  "dependencies": {
51
- "@letsscrapedata/utils": "^0.0.26",
51
+ "@letsscrapedata/utils": "^0.0.29",
52
52
  "camoufox-js-lsd": "^0.6.5",
53
53
  "cheerio": "^1.0.0",
54
54
  "patchright": "^1.52.5",