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.
|
|
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.
|
|
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-
|
|
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-
|
|
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);
|
package/package.json
CHANGED