@crawlee/http 4.0.0-beta.203 → 4.0.0-beta.205

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.
@@ -292,12 +292,12 @@ export declare class HttpCrawler<Context extends InternalHttpCrawlingContext<any
292
292
  }, z.core.$strict>]>>;
293
293
  onSkippedRequest: z.ZodOptional<z.ZodCustom<(...args: any[]) => unknown, (...args: any[]) => unknown>>;
294
294
  // @ts-ignore optional peer dependency or compatibility with es2022
295
- httpClient: z.ZodOptional<z.ZodCustom<import("@crawlee/http-client").BaseHttpClient, import("@crawlee/http-client").BaseHttpClient>>;
295
+ httpClient: z.ZodOptional<z.ZodInstanceOf<import("@crawlee/http-client").BaseHttpClient>>;
296
296
  // @ts-ignore optional peer dependency or compatibility with es2022
297
- configuration: z.ZodOptional<z.ZodCustom<import("@crawlee/basic").Configuration, import("@crawlee/basic").Configuration>>;
297
+ configuration: z.ZodOptional<z.ZodInstanceOf<import("@crawlee/basic").Configuration>>;
298
298
  storageBackend: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
299
299
  // @ts-ignore optional peer dependency or compatibility with es2022
300
- eventManager: z.ZodOptional<z.ZodCustom<import("@crawlee/basic").EventManager, import("@crawlee/basic").EventManager>>;
300
+ eventManager: z.ZodOptional<z.ZodInstanceOf<import("@crawlee/basic").EventManager>>;
301
301
  logger: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
302
302
  minConcurrency: z.ZodOptional<z.ZodCustom<number, number>>;
303
303
  maxConcurrency: z.ZodOptional<z.ZodCustom<number, number>>;
@@ -349,12 +349,12 @@ export declare class HttpCrawler<Context extends InternalHttpCrawlingContext<any
349
349
  }, z.core.$strict>]>>;
350
350
  onSkippedRequest: z.ZodOptional<z.ZodCustom<(...args: any[]) => unknown, (...args: any[]) => unknown>>;
351
351
  // @ts-ignore optional peer dependency or compatibility with es2022
352
- httpClient: z.ZodOptional<z.ZodCustom<import("@crawlee/http-client").BaseHttpClient, import("@crawlee/http-client").BaseHttpClient>>;
352
+ httpClient: z.ZodOptional<z.ZodInstanceOf<import("@crawlee/http-client").BaseHttpClient>>;
353
353
  // @ts-ignore optional peer dependency or compatibility with es2022
354
- configuration: z.ZodOptional<z.ZodCustom<import("@crawlee/basic").Configuration, import("@crawlee/basic").Configuration>>;
354
+ configuration: z.ZodOptional<z.ZodInstanceOf<import("@crawlee/basic").Configuration>>;
355
355
  storageBackend: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
356
356
  // @ts-ignore optional peer dependency or compatibility with es2022
357
- eventManager: z.ZodOptional<z.ZodCustom<import("@crawlee/basic").EventManager, import("@crawlee/basic").EventManager>>;
357
+ eventManager: z.ZodOptional<z.ZodInstanceOf<import("@crawlee/basic").EventManager>>;
358
358
  logger: z.ZodOptional<z.ZodType<Dictionary<any>, unknown, z.core.$ZodTypeInternals<Dictionary<any>, unknown>>>;
359
359
  minConcurrency: z.ZodOptional<z.ZodCustom<number, number>>;
360
360
  maxConcurrency: z.ZodOptional<z.ZodCustom<number, number>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlee/http",
3
- "version": "4.0.0-beta.203",
3
+ "version": "4.0.0-beta.205",
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"
@@ -49,11 +49,11 @@
49
49
  "dependencies": {
50
50
  "@apify/timeout": "^1.0.1",
51
51
  "@apify/utilities": "^3.0.1",
52
- "@crawlee/basic": "4.0.0-beta.203",
53
- "@crawlee/core": "4.0.0-beta.203",
54
- "@crawlee/http-client": "4.0.0-beta.203",
55
- "@crawlee/types": "4.0.0-beta.203",
56
- "@crawlee/utils": "4.0.0-beta.203",
52
+ "@crawlee/basic": "4.0.0-beta.205",
53
+ "@crawlee/core": "4.0.0-beta.205",
54
+ "@crawlee/http-client": "4.0.0-beta.205",
55
+ "@crawlee/types": "4.0.0-beta.205",
56
+ "@crawlee/utils": "4.0.0-beta.205",
57
57
  "@types/content-type": "^1.1.8",
58
58
  "cheerio": "^1.0.0",
59
59
  "content-type": "^1.0.5",
@@ -70,5 +70,5 @@
70
70
  }
71
71
  }
72
72
  },
73
- "gitHead": "1ea5ac59a44b28f21b2feb9834f1946275d07dbc"
73
+ "gitHead": "ab3efa85a3a1c989fab557f9601809eb4ea70fe8"
74
74
  }