firecrawl 4.3.8 → 4.4.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.4.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.4.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
|
@@ -223,14 +223,14 @@ interface SearchData {
|
|
|
223
223
|
images?: Array<SearchResultImages | Document>;
|
|
224
224
|
}
|
|
225
225
|
interface CategoryOption {
|
|
226
|
-
type: 'github' | 'research';
|
|
226
|
+
type: 'github' | 'research' | 'pdf';
|
|
227
227
|
}
|
|
228
228
|
interface SearchRequest {
|
|
229
229
|
query: string;
|
|
230
230
|
sources?: Array<'web' | 'news' | 'images' | {
|
|
231
231
|
type: 'web' | 'news' | 'images';
|
|
232
232
|
}>;
|
|
233
|
-
categories?: Array<'github' | 'research' | CategoryOption>;
|
|
233
|
+
categories?: Array<'github' | 'research' | 'pdf' | CategoryOption>;
|
|
234
234
|
limit?: number;
|
|
235
235
|
tbs?: string;
|
|
236
236
|
location?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -223,14 +223,14 @@ interface SearchData {
|
|
|
223
223
|
images?: Array<SearchResultImages | Document>;
|
|
224
224
|
}
|
|
225
225
|
interface CategoryOption {
|
|
226
|
-
type: 'github' | 'research';
|
|
226
|
+
type: 'github' | 'research' | 'pdf';
|
|
227
227
|
}
|
|
228
228
|
interface SearchRequest {
|
|
229
229
|
query: string;
|
|
230
230
|
sources?: Array<'web' | 'news' | 'images' | {
|
|
231
231
|
type: 'web' | 'news' | 'images';
|
|
232
232
|
}>;
|
|
233
|
-
categories?: Array<'github' | 'research' | CategoryOption>;
|
|
233
|
+
categories?: Array<'github' | 'research' | 'pdf' | CategoryOption>;
|
|
234
234
|
limit?: number;
|
|
235
235
|
tbs?: string;
|
|
236
236
|
location?: string;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_package
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GWA53VW4.js";
|
|
4
4
|
|
|
5
5
|
// src/v2/utils/httpClient.ts
|
|
6
6
|
import axios from "axios";
|
|
@@ -1068,7 +1068,7 @@ var FirecrawlApp = class {
|
|
|
1068
1068
|
if (typeof process !== "undefined" && process.env && process.env.npm_package_version) {
|
|
1069
1069
|
return process.env.npm_package_version;
|
|
1070
1070
|
}
|
|
1071
|
-
const packageJson = await import("./package-
|
|
1071
|
+
const packageJson = await import("./package-G6W4FIEC.js");
|
|
1072
1072
|
return packageJson.default.version;
|
|
1073
1073
|
} catch (error) {
|
|
1074
1074
|
const isTest = typeof process !== "undefined" && (process.env.JEST_WORKER_ID != null || false);
|
package/package.json
CHANGED
package/src/v2/types.ts
CHANGED
|
@@ -286,7 +286,7 @@ export interface SearchData {
|
|
|
286
286
|
}
|
|
287
287
|
|
|
288
288
|
export interface CategoryOption {
|
|
289
|
-
type: 'github' | 'research';
|
|
289
|
+
type: 'github' | 'research' | 'pdf';
|
|
290
290
|
}
|
|
291
291
|
|
|
292
292
|
export interface SearchRequest {
|
|
@@ -294,7 +294,7 @@ export interface SearchRequest {
|
|
|
294
294
|
sources?: Array<
|
|
295
295
|
'web' | 'news' | 'images' | { type: 'web' | 'news' | 'images' }
|
|
296
296
|
>;
|
|
297
|
-
categories?: Array<'github' | 'research' | CategoryOption>;
|
|
297
|
+
categories?: Array<'github' | 'research' | 'pdf' | CategoryOption>;
|
|
298
298
|
limit?: number;
|
|
299
299
|
tbs?: string;
|
|
300
300
|
location?: string;
|