@mendable/firecrawl 1.22.1 → 1.23.6

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
@@ -69,6 +69,27 @@ interface FirecrawlDocument<T = any, ActionsSchema extends (ActionsResult | neve
69
69
  previousScrapeAt: string | null;
70
70
  changeStatus: "new" | "same" | "changed" | "removed";
71
71
  visibility: "visible" | "hidden";
72
+ diff?: {
73
+ text: string;
74
+ json: {
75
+ files: Array<{
76
+ from: string | null;
77
+ to: string | null;
78
+ chunks: Array<{
79
+ content: string;
80
+ changes: Array<{
81
+ type: string;
82
+ normal?: boolean;
83
+ ln?: number;
84
+ ln1?: number;
85
+ ln2?: number;
86
+ content: string;
87
+ }>;
88
+ }>;
89
+ }>;
90
+ };
91
+ };
92
+ json?: any;
72
93
  };
73
94
  title?: string;
74
95
  description?: string;
@@ -133,6 +154,11 @@ interface ScrapeParams<LLMSchema extends zt.ZodSchema = any, ActionsSchema exten
133
154
  schema?: LLMSchema;
134
155
  systemPrompt?: string;
135
156
  };
157
+ changeTrackingOptions?: {
158
+ prompt?: string;
159
+ schema?: any;
160
+ modes?: ("json" | "git-diff")[];
161
+ };
136
162
  actions?: ActionsSchema;
137
163
  }
138
164
  interface ActionsResult {
package/dist/index.d.ts CHANGED
@@ -69,6 +69,27 @@ interface FirecrawlDocument<T = any, ActionsSchema extends (ActionsResult | neve
69
69
  previousScrapeAt: string | null;
70
70
  changeStatus: "new" | "same" | "changed" | "removed";
71
71
  visibility: "visible" | "hidden";
72
+ diff?: {
73
+ text: string;
74
+ json: {
75
+ files: Array<{
76
+ from: string | null;
77
+ to: string | null;
78
+ chunks: Array<{
79
+ content: string;
80
+ changes: Array<{
81
+ type: string;
82
+ normal?: boolean;
83
+ ln?: number;
84
+ ln1?: number;
85
+ ln2?: number;
86
+ content: string;
87
+ }>;
88
+ }>;
89
+ }>;
90
+ };
91
+ };
92
+ json?: any;
72
93
  };
73
94
  title?: string;
74
95
  description?: string;
@@ -133,6 +154,11 @@ interface ScrapeParams<LLMSchema extends zt.ZodSchema = any, ActionsSchema exten
133
154
  schema?: LLMSchema;
134
155
  systemPrompt?: string;
135
156
  };
157
+ changeTrackingOptions?: {
158
+ prompt?: string;
159
+ schema?: any;
160
+ modes?: ("json" | "git-diff")[];
161
+ };
136
162
  actions?: ActionsSchema;
137
163
  }
138
164
  interface ActionsResult {