firecrawl 4.21.0 → 4.21.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.
@@ -8,7 +8,7 @@ var require_package = __commonJS({
8
8
  "package.json"(exports, module) {
9
9
  module.exports = {
10
10
  name: "@mendable/firecrawl-js",
11
- version: "4.21.0",
11
+ version: "4.21.1",
12
12
  description: "JavaScript SDK for Firecrawl API",
13
13
  main: "dist/index.js",
14
14
  types: "dist/index.d.ts",
package/dist/index.cjs CHANGED
@@ -35,7 +35,7 @@ var require_package = __commonJS({
35
35
  "package.json"(exports2, module2) {
36
36
  module2.exports = {
37
37
  name: "@mendable/firecrawl-js",
38
- version: "4.21.0",
38
+ version: "4.21.1",
39
39
  description: "JavaScript SDK for Firecrawl API",
40
40
  main: "dist/index.js",
41
41
  types: "dist/index.d.ts",
package/dist/index.d.cts CHANGED
@@ -43,6 +43,7 @@ interface AttributesFormat extends Format {
43
43
  interface QueryFormat {
44
44
  type: 'query';
45
45
  prompt: string;
46
+ mode?: 'freeform' | 'directQuote';
46
47
  }
47
48
  type FormatOption = FormatString | Format | JsonFormat | ChangeTrackingFormat | ScreenshotFormat | AttributesFormat | QueryFormat;
48
49
  type ParseFormatString = Exclude<FormatString, 'screenshot' | 'changeTracking' | 'branding'>;
package/dist/index.d.ts CHANGED
@@ -43,6 +43,7 @@ interface AttributesFormat extends Format {
43
43
  interface QueryFormat {
44
44
  type: 'query';
45
45
  prompt: string;
46
+ mode?: 'freeform' | 'directQuote';
46
47
  }
47
48
  type FormatOption = FormatString | Format | JsonFormat | ChangeTrackingFormat | ScreenshotFormat | AttributesFormat | QueryFormat;
48
49
  type ParseFormatString = Exclude<FormatString, 'screenshot' | 'changeTracking' | 'branding'>;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_package
3
- } from "./chunk-R625SBJY.js";
3
+ } from "./chunk-EH7NHUN5.js";
4
4
 
5
5
  // src/v2/utils/httpClient.ts
6
6
  import axios from "axios";
@@ -1809,7 +1809,7 @@ var FirecrawlApp = class {
1809
1809
  if (typeof process !== "undefined" && process.env && process.env.npm_package_version) {
1810
1810
  return process.env.npm_package_version;
1811
1811
  }
1812
- const packageJson = await import("./package-MRLSD24T.js");
1812
+ const packageJson = await import("./package-7423KYJY.js");
1813
1813
  return packageJson.default.version;
1814
1814
  } catch (error) {
1815
1815
  const isTest = typeof process !== "undefined" && (process.env.JEST_WORKER_ID != null || false);
@@ -1,4 +1,4 @@
1
1
  import {
2
2
  require_package
3
- } from "./chunk-R625SBJY.js";
3
+ } from "./chunk-EH7NHUN5.js";
4
4
  export default require_package();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firecrawl",
3
- "version": "4.21.0",
3
+ "version": "4.21.1",
4
4
  "description": "JavaScript SDK for Firecrawl API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/v2/types.ts CHANGED
@@ -55,6 +55,7 @@ export interface AttributesFormat extends Format {
55
55
  export interface QueryFormat {
56
56
  type: 'query';
57
57
  prompt: string;
58
+ mode?: 'freeform' | 'directQuote';
58
59
  }
59
60
 
60
61
  export type FormatOption =