firecrawl 1.8.1 → 1.8.2

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
@@ -143,7 +143,10 @@ interface CrawlParams {
143
143
  allowExternalLinks?: boolean;
144
144
  ignoreSitemap?: boolean;
145
145
  scrapeOptions?: CrawlScrapeOptions;
146
- webhook?: string;
146
+ webhook?: string | {
147
+ url: string;
148
+ headers?: Record<string, string>;
149
+ };
147
150
  deduplicateSimilarURLs?: boolean;
148
151
  ignoreQueryParameters?: boolean;
149
152
  }
package/dist/index.d.ts CHANGED
@@ -143,7 +143,10 @@ interface CrawlParams {
143
143
  allowExternalLinks?: boolean;
144
144
  ignoreSitemap?: boolean;
145
145
  scrapeOptions?: CrawlScrapeOptions;
146
- webhook?: string;
146
+ webhook?: string | {
147
+ url: string;
148
+ headers?: Record<string, string>;
149
+ };
147
150
  deduplicateSimilarURLs?: boolean;
148
151
  ignoreQueryParameters?: boolean;
149
152
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firecrawl",
3
- "version": "1.8.1",
3
+ "version": "1.8.2",
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
@@ -153,7 +153,10 @@ export interface CrawlParams {
153
153
  allowExternalLinks?: boolean;
154
154
  ignoreSitemap?: boolean;
155
155
  scrapeOptions?: CrawlScrapeOptions;
156
- webhook?: string;
156
+ webhook?: string | {
157
+ url: string;
158
+ headers?: Record<string, string>;
159
+ };
157
160
  deduplicateSimilarURLs?: boolean;
158
161
  ignoreQueryParameters?: boolean;
159
162
  }