firecrawl 1.15.0 → 1.15.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
@@ -61,6 +61,7 @@ interface FirecrawlDocument<T = any, ActionsSchema extends (ActionsResult | neve
61
61
  rawHtml?: string;
62
62
  links?: string[];
63
63
  extract?: T;
64
+ json?: T;
64
65
  screenshot?: string;
65
66
  metadata?: FirecrawlDocumentMetadata;
66
67
  actions: ActionsSchema;
@@ -119,7 +120,7 @@ interface ScrapeParams<LLMSchema extends zt.ZodSchema = any, ActionsSchema exten
119
120
  schema?: LLMSchema;
120
121
  systemPrompt?: string;
121
122
  };
122
- json?: {
123
+ jsonOptions?: {
123
124
  prompt?: string;
124
125
  schema?: LLMSchema;
125
126
  systemPrompt?: string;
package/dist/index.d.ts CHANGED
@@ -61,6 +61,7 @@ interface FirecrawlDocument<T = any, ActionsSchema extends (ActionsResult | neve
61
61
  rawHtml?: string;
62
62
  links?: string[];
63
63
  extract?: T;
64
+ json?: T;
64
65
  screenshot?: string;
65
66
  metadata?: FirecrawlDocumentMetadata;
66
67
  actions: ActionsSchema;
@@ -119,7 +120,7 @@ interface ScrapeParams<LLMSchema extends zt.ZodSchema = any, ActionsSchema exten
119
120
  schema?: LLMSchema;
120
121
  systemPrompt?: string;
121
122
  };
122
- json?: {
123
+ jsonOptions?: {
123
124
  prompt?: string;
124
125
  schema?: LLMSchema;
125
126
  systemPrompt?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firecrawl",
3
- "version": "1.15.0",
3
+ "version": "1.15.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
@@ -65,6 +65,7 @@ export interface FirecrawlDocument<T = any, ActionsSchema extends (ActionsResult
65
65
  rawHtml?: string;
66
66
  links?: string[];
67
67
  extract?: T;
68
+ json?: T;
68
69
  screenshot?: string;
69
70
  metadata?: FirecrawlDocumentMetadata;
70
71
  actions: ActionsSchema;
@@ -127,7 +128,7 @@ export interface ScrapeParams<LLMSchema extends zt.ZodSchema = any, ActionsSchem
127
128
  schema?: LLMSchema;
128
129
  systemPrompt?: string;
129
130
  };
130
- json?:{
131
+ jsonOptions?:{
131
132
  prompt?: string;
132
133
  schema?: LLMSchema;
133
134
  systemPrompt?: string;