@mendable/firecrawl-js 1.18.0-beta.8 → 1.18.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/src/index.ts CHANGED
@@ -79,7 +79,7 @@ export interface FirecrawlDocument<T = any, ActionsSchema extends (ActionsResult
79
79
  * Defines the options and configurations available for scraping web content.
80
80
  */
81
81
  export interface CrawlScrapeOptions {
82
- formats: ("markdown" | "html" | "rawHtml" | "content" | "links" | "screenshot" | "screenshot@fullPage" | "extract" | "json")[];
82
+ formats?: ("markdown" | "html" | "rawHtml" | "content" | "links" | "screenshot" | "screenshot@fullPage" | "extract" | "json")[];
83
83
  headers?: Record<string, string>;
84
84
  includeTags?: string[];
85
85
  excludeTags?: string[];
@@ -94,6 +94,7 @@ export interface CrawlScrapeOptions {
94
94
  skipTlsVerification?: boolean;
95
95
  removeBase64Images?: boolean;
96
96
  blockAds?: boolean;
97
+ proxy?: "basic" | "stealth";
97
98
  }
98
99
 
99
100
  export type Action = {
@@ -263,6 +264,7 @@ export interface ExtractParams<LLMSchema extends zt.ZodSchema = any> {
263
264
  includeSubdomains?: boolean;
264
265
  origin?: string;
265
266
  showSources?: boolean;
267
+ scrapeOptions?: CrawlScrapeOptions;
266
268
  }
267
269
 
268
270
  /**
package/dump.rdb DELETED
Binary file