@crawlee/http 4.0.0-beta.103 → 4.0.0-beta.105

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.
@@ -53,7 +53,7 @@ export interface HttpCrawlerOptions<Context extends InternalHttpCrawlingContext
53
53
  * ]
54
54
  * ```
55
55
  */
56
- preNavigationHooks?: InternalHttpHook<CrawlingContext, ContextExtension>[];
56
+ preNavigationHooks?: InternalHttpHook<CrawlingContext<any>, ContextExtension>[];
57
57
  /**
58
58
  * Async functions that are sequentially evaluated after the navigation. Good for checking if the navigation was successful.
59
59
  * The function accepts `crawlingContext` as the only parameter.
@@ -313,6 +313,8 @@ export declare class HttpCrawler<Context extends InternalHttpCrawlingContext<any
313
313
  retryOnBlocked: import("ow").BooleanPredicate & import("ow").BasePredicate<boolean | undefined>;
314
314
  // @ts-ignore optional peer dependency or compatibility with es2022
315
315
  respectRobotsTxtFile: import("ow").AnyPredicate<boolean | object>;
316
+ // @ts-ignore optional peer dependency or compatibility with es2022
317
+ transactionalStorage: import("ow").BasePredicate<boolean | Partial<import("@crawlee/basic").StorageWritePolicy> | undefined>;
316
318
  // @ts-ignore optional peer dependency or compatibility with es2022
317
319
  onSkippedRequest: import("ow").Predicate<Function> & import("ow").BasePredicate<Function | undefined>;
318
320
  // @ts-ignore optional peer dependency or compatibility with es2022
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlee/http",
3
- "version": "4.0.0-beta.103",
3
+ "version": "4.0.0-beta.105",
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": "^0.4.4",
51
51
  "@apify/utilities": "^2.15.5",
52
- "@crawlee/basic": "4.0.0-beta.103",
53
- "@crawlee/core": "4.0.0-beta.103",
54
- "@crawlee/http-client": "4.0.0-beta.103",
55
- "@crawlee/types": "4.0.0-beta.103",
56
- "@crawlee/utils": "4.0.0-beta.103",
52
+ "@crawlee/basic": "4.0.0-beta.105",
53
+ "@crawlee/core": "4.0.0-beta.105",
54
+ "@crawlee/http-client": "4.0.0-beta.105",
55
+ "@crawlee/types": "4.0.0-beta.105",
56
+ "@crawlee/utils": "4.0.0-beta.105",
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": "fe5d0ae11067683e27a2d17b4edd226ccf112cf5"
73
+ "gitHead": "26073a822c7699ac487931383a39192bc3daae7a"
74
74
  }