@mendable/firecrawl 1.22.0 → 1.22.1

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
@@ -65,7 +65,7 @@ interface FirecrawlDocument<T = any, ActionsSchema extends (ActionsResult | neve
65
65
  screenshot?: string;
66
66
  metadata?: FirecrawlDocumentMetadata;
67
67
  actions: ActionsSchema;
68
- compare?: {
68
+ changeTracking?: {
69
69
  previousScrapeAt: string | null;
70
70
  changeStatus: "new" | "same" | "changed" | "removed";
71
71
  visibility: "visible" | "hidden";
@@ -78,7 +78,7 @@ interface FirecrawlDocument<T = any, ActionsSchema extends (ActionsResult | neve
78
78
  * Defines the options and configurations available for scraping web content.
79
79
  */
80
80
  interface CrawlScrapeOptions {
81
- formats?: ("markdown" | "html" | "rawHtml" | "content" | "links" | "screenshot" | "screenshot@fullPage" | "extract" | "json" | "compare")[];
81
+ formats?: ("markdown" | "html" | "rawHtml" | "content" | "links" | "screenshot" | "screenshot@fullPage" | "extract" | "json" | "changeTracking")[];
82
82
  headers?: Record<string, string>;
83
83
  includeTags?: string[];
84
84
  excludeTags?: string[];
package/dist/index.d.ts CHANGED
@@ -65,7 +65,7 @@ interface FirecrawlDocument<T = any, ActionsSchema extends (ActionsResult | neve
65
65
  screenshot?: string;
66
66
  metadata?: FirecrawlDocumentMetadata;
67
67
  actions: ActionsSchema;
68
- compare?: {
68
+ changeTracking?: {
69
69
  previousScrapeAt: string | null;
70
70
  changeStatus: "new" | "same" | "changed" | "removed";
71
71
  visibility: "visible" | "hidden";
@@ -78,7 +78,7 @@ interface FirecrawlDocument<T = any, ActionsSchema extends (ActionsResult | neve
78
78
  * Defines the options and configurations available for scraping web content.
79
79
  */
80
80
  interface CrawlScrapeOptions {
81
- formats?: ("markdown" | "html" | "rawHtml" | "content" | "links" | "screenshot" | "screenshot@fullPage" | "extract" | "json" | "compare")[];
81
+ formats?: ("markdown" | "html" | "rawHtml" | "content" | "links" | "screenshot" | "screenshot@fullPage" | "extract" | "json" | "changeTracking")[];
82
82
  headers?: Record<string, string>;
83
83
  includeTags?: string[];
84
84
  excludeTags?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mendable/firecrawl",
3
- "version": "1.22.0",
3
+ "version": "1.22.1",
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
@@ -68,7 +68,7 @@ export interface FirecrawlDocument<T = any, ActionsSchema extends (ActionsResult
68
68
  screenshot?: string;
69
69
  metadata?: FirecrawlDocumentMetadata;
70
70
  actions: ActionsSchema;
71
- compare?: {
71
+ changeTracking?: {
72
72
  previousScrapeAt: string | null;
73
73
  changeStatus: "new" | "same" | "changed" | "removed";
74
74
  visibility: "visible" | "hidden";
@@ -83,7 +83,7 @@ export interface FirecrawlDocument<T = any, ActionsSchema extends (ActionsResult
83
83
  * Defines the options and configurations available for scraping web content.
84
84
  */
85
85
  export interface CrawlScrapeOptions {
86
- formats?: ("markdown" | "html" | "rawHtml" | "content" | "links" | "screenshot" | "screenshot@fullPage" | "extract" | "json" | "compare")[];
86
+ formats?: ("markdown" | "html" | "rawHtml" | "content" | "links" | "screenshot" | "screenshot@fullPage" | "extract" | "json" | "changeTracking")[];
87
87
  headers?: Record<string, string>;
88
88
  includeTags?: string[];
89
89
  excludeTags?: string[];