@mendable/firecrawl 4.0.0 → 4.1.0
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.
|
|
11
|
+
version: "4.1.0",
|
|
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.
|
|
38
|
+
version: "4.1.0",
|
|
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
|
@@ -99,7 +99,10 @@ interface ScrapeOptions {
|
|
|
99
99
|
timeout?: number;
|
|
100
100
|
waitFor?: number;
|
|
101
101
|
mobile?: boolean;
|
|
102
|
-
parsers?: string
|
|
102
|
+
parsers?: Array<string | {
|
|
103
|
+
type: "pdf";
|
|
104
|
+
maxPages?: number;
|
|
105
|
+
}>;
|
|
103
106
|
actions?: ActionOption[];
|
|
104
107
|
location?: LocationConfig;
|
|
105
108
|
skipTlsVerification?: boolean;
|
package/dist/index.d.ts
CHANGED
|
@@ -99,7 +99,10 @@ interface ScrapeOptions {
|
|
|
99
99
|
timeout?: number;
|
|
100
100
|
waitFor?: number;
|
|
101
101
|
mobile?: boolean;
|
|
102
|
-
parsers?: string
|
|
102
|
+
parsers?: Array<string | {
|
|
103
|
+
type: "pdf";
|
|
104
|
+
maxPages?: number;
|
|
105
|
+
}>;
|
|
103
106
|
actions?: ActionOption[];
|
|
104
107
|
location?: LocationConfig;
|
|
105
108
|
skipTlsVerification?: boolean;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_package
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EX7LNARR.js";
|
|
4
4
|
|
|
5
5
|
// src/v2/utils/httpClient.ts
|
|
6
6
|
import axios from "axios";
|
|
@@ -992,7 +992,7 @@ var FirecrawlApp = class {
|
|
|
992
992
|
if (typeof process !== "undefined" && process.env && process.env.npm_package_version) {
|
|
993
993
|
return process.env.npm_package_version;
|
|
994
994
|
}
|
|
995
|
-
const packageJson = await import("./package-
|
|
995
|
+
const packageJson = await import("./package-MVCQF4ZJ.js");
|
|
996
996
|
return packageJson.default.version;
|
|
997
997
|
} catch (error) {
|
|
998
998
|
const isTest = typeof process !== "undefined" && (process.env.JEST_WORKER_ID != null || false);
|
package/package.json
CHANGED
package/src/v2/types.ts
CHANGED
|
@@ -133,7 +133,7 @@ export interface ScrapeOptions {
|
|
|
133
133
|
timeout?: number;
|
|
134
134
|
waitFor?: number;
|
|
135
135
|
mobile?: boolean;
|
|
136
|
-
parsers?: string
|
|
136
|
+
parsers?: Array<string | { type: "pdf"; maxPages?: number }>;
|
|
137
137
|
actions?: ActionOption[];
|
|
138
138
|
location?: LocationConfig;
|
|
139
139
|
skipTlsVerification?: boolean;
|