firecrawl 1.25.4 → 1.25.5

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.cjs CHANGED
@@ -35,7 +35,7 @@ var require_package = __commonJS({
35
35
  "package.json"(exports2, module2) {
36
36
  module2.exports = {
37
37
  name: "@mendable/firecrawl-js",
38
- version: "1.25.4",
38
+ version: "1.25.5",
39
39
  description: "JavaScript SDK for Firecrawl API",
40
40
  main: "dist/index.js",
41
41
  types: "dist/index.d.ts",
package/dist/index.d.cts CHANGED
@@ -48,6 +48,9 @@ interface FirecrawlDocumentMetadata {
48
48
  sourceURL?: string;
49
49
  statusCode?: number;
50
50
  error?: string;
51
+ proxyUsed?: "basic" | "stealth";
52
+ cacheState?: "miss" | "hit";
53
+ cachedAt?: string;
51
54
  [key: string]: any;
52
55
  }
53
56
  /**
@@ -116,6 +119,7 @@ interface CrawlScrapeOptions {
116
119
  blockAds?: boolean;
117
120
  proxy?: "basic" | "stealth" | "auto";
118
121
  storeInCache?: boolean;
122
+ maxAge?: number;
119
123
  }
120
124
  type Action = {
121
125
  type: "wait";
@@ -273,6 +277,7 @@ interface MapParams {
273
277
  sitemapOnly?: boolean;
274
278
  limit?: number;
275
279
  timeout?: number;
280
+ useIndex?: boolean;
276
281
  }
277
282
  /**
278
283
  * Response interface for mapping operations.
package/dist/index.d.ts CHANGED
@@ -48,6 +48,9 @@ interface FirecrawlDocumentMetadata {
48
48
  sourceURL?: string;
49
49
  statusCode?: number;
50
50
  error?: string;
51
+ proxyUsed?: "basic" | "stealth";
52
+ cacheState?: "miss" | "hit";
53
+ cachedAt?: string;
51
54
  [key: string]: any;
52
55
  }
53
56
  /**
@@ -116,6 +119,7 @@ interface CrawlScrapeOptions {
116
119
  blockAds?: boolean;
117
120
  proxy?: "basic" | "stealth" | "auto";
118
121
  storeInCache?: boolean;
122
+ maxAge?: number;
119
123
  }
120
124
  type Action = {
121
125
  type: "wait";
@@ -273,6 +277,7 @@ interface MapParams {
273
277
  sitemapOnly?: boolean;
274
278
  limit?: number;
275
279
  timeout?: number;
280
+ useIndex?: boolean;
276
281
  }
277
282
  /**
278
283
  * Response interface for mapping operations.
package/dist/index.js CHANGED
@@ -29,7 +29,7 @@ var FirecrawlApp = class {
29
29
  }
30
30
  async getVersion() {
31
31
  try {
32
- const packageJson = await import("./package-SG22PRGT.js");
32
+ const packageJson = await import("./package-FAEOWTCQ.js");
33
33
  return packageJson.default.version;
34
34
  } catch (error) {
35
35
  console.error("Error getting version:", error);
@@ -1,6 +1,6 @@
1
1
  // package.json
2
2
  var name = "@mendable/firecrawl-js";
3
- var version = "1.25.4";
3
+ var version = "1.25.5";
4
4
  var description = "JavaScript SDK for Firecrawl API";
5
5
  var main = "dist/index.js";
6
6
  var types = "dist/index.d.ts";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firecrawl",
3
- "version": "1.25.4",
3
+ "version": "1.25.5",
4
4
  "description": "JavaScript SDK for Firecrawl API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -50,6 +50,9 @@ export interface FirecrawlDocumentMetadata {
50
50
  sourceURL?: string;
51
51
  statusCode?: number;
52
52
  error?: string;
53
+ proxyUsed?: "basic" | "stealth";
54
+ cacheState?: "miss" | "hit";
55
+ cachedAt?: string;
53
56
  [key: string]: any; // Allows for additional metadata properties not explicitly defined.
54
57
  }
55
58
 
@@ -121,6 +124,7 @@ export interface CrawlScrapeOptions {
121
124
  blockAds?: boolean;
122
125
  proxy?: "basic" | "stealth" | "auto";
123
126
  storeInCache?: boolean;
127
+ maxAge?: number;
124
128
  }
125
129
 
126
130
  export type Action = {
@@ -288,6 +292,7 @@ export interface MapParams {
288
292
  sitemapOnly?: boolean;
289
293
  limit?: number;
290
294
  timeout?: number;
295
+ useIndex?: boolean;
291
296
  }
292
297
 
293
298
  /**