@crawlee/browser 4.0.0-beta.202 → 4.0.0-beta.204

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.
@@ -282,12 +282,12 @@ export declare abstract class BrowserCrawler<Page extends CommonPage = CommonPag
282
282
  }, z.core.$strict>]>>;
283
283
  onSkippedRequest: z.ZodOptional<z.ZodCustom<(...args: any[]) => unknown, (...args: any[]) => unknown>>;
284
284
  // @ts-ignore optional peer dependency or compatibility with es2022
285
- httpClient: z.ZodOptional<z.ZodCustom<import("@crawlee/http-client").BaseHttpClient, import("@crawlee/http-client").BaseHttpClient>>;
285
+ httpClient: z.ZodOptional<z.ZodInstanceOf<import("@crawlee/http-client").BaseHttpClient>>;
286
286
  // @ts-ignore optional peer dependency or compatibility with es2022
287
- configuration: z.ZodOptional<z.ZodCustom<import("@crawlee/basic").Configuration, import("@crawlee/basic").Configuration>>;
287
+ configuration: z.ZodOptional<z.ZodInstanceOf<import("@crawlee/basic").Configuration>>;
288
288
  storageBackend: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
289
289
  // @ts-ignore optional peer dependency or compatibility with es2022
290
- eventManager: z.ZodOptional<z.ZodCustom<import("@crawlee/basic").EventManager, import("@crawlee/basic").EventManager>>;
290
+ eventManager: z.ZodOptional<z.ZodInstanceOf<import("@crawlee/basic").EventManager>>;
291
291
  logger: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
292
292
  minConcurrency: z.ZodOptional<z.ZodCustom<number, number>>;
293
293
  maxConcurrency: z.ZodOptional<z.ZodCustom<number, number>>;
@@ -340,12 +340,12 @@ export declare abstract class BrowserCrawler<Page extends CommonPage = CommonPag
340
340
  }, z.core.$strict>]>>;
341
341
  onSkippedRequest: z.ZodOptional<z.ZodCustom<(...args: any[]) => unknown, (...args: any[]) => unknown>>;
342
342
  // @ts-ignore optional peer dependency or compatibility with es2022
343
- httpClient: z.ZodOptional<z.ZodCustom<import("@crawlee/http-client").BaseHttpClient, import("@crawlee/http-client").BaseHttpClient>>;
343
+ httpClient: z.ZodOptional<z.ZodInstanceOf<import("@crawlee/http-client").BaseHttpClient>>;
344
344
  // @ts-ignore optional peer dependency or compatibility with es2022
345
- configuration: z.ZodOptional<z.ZodCustom<import("@crawlee/basic").Configuration, import("@crawlee/basic").Configuration>>;
345
+ configuration: z.ZodOptional<z.ZodInstanceOf<import("@crawlee/basic").Configuration>>;
346
346
  storageBackend: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
347
347
  // @ts-ignore optional peer dependency or compatibility with es2022
348
- eventManager: z.ZodOptional<z.ZodCustom<import("@crawlee/basic").EventManager, import("@crawlee/basic").EventManager>>;
348
+ eventManager: z.ZodOptional<z.ZodInstanceOf<import("@crawlee/basic").EventManager>>;
349
349
  logger: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
350
350
  minConcurrency: z.ZodOptional<z.ZodCustom<number, number>>;
351
351
  maxConcurrency: z.ZodOptional<z.ZodCustom<number, number>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlee/browser",
3
- "version": "4.0.0-beta.202",
3
+ "version": "4.0.0-beta.204",
4
4
  "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.",
5
5
  "engines": {
6
6
  "node": ">=22.0.0"
@@ -48,10 +48,10 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@apify/timeout": "^1.0.1",
51
- "@crawlee/basic": "4.0.0-beta.202",
52
- "@crawlee/browser-pool": "4.0.0-beta.202",
53
- "@crawlee/types": "4.0.0-beta.202",
54
- "@crawlee/utils": "4.0.0-beta.202",
51
+ "@crawlee/basic": "4.0.0-beta.204",
52
+ "@crawlee/browser-pool": "4.0.0-beta.204",
53
+ "@crawlee/types": "4.0.0-beta.204",
54
+ "@crawlee/utils": "4.0.0-beta.204",
55
55
  "tslib": "^2.8.1",
56
56
  "type-fest": "^4.41.0",
57
57
  "zod": "^4.5.4"
@@ -75,5 +75,5 @@
75
75
  }
76
76
  }
77
77
  },
78
- "gitHead": "87e10aa1b0388445994ef5e3990dbd4ccd03125b"
78
+ "gitHead": "9b8533bc42caba2f12bc9e139aa43063bb6f3ca0"
79
79
  }