firecrawl 4.17.0 → 4.18.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.18.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.18.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
|
@@ -4,7 +4,7 @@ import { AxiosResponse, AxiosRequestHeaders } from 'axios';
|
|
|
4
4
|
import { EventEmitter } from 'events';
|
|
5
5
|
import { TypedEventTarget } from 'typescript-event-target';
|
|
6
6
|
|
|
7
|
-
type FormatString = 'markdown' | 'html' | 'rawHtml' | 'links' | 'images' | 'screenshot' | 'summary' | 'changeTracking' | 'json' | 'attributes' | 'branding';
|
|
7
|
+
type FormatString = 'markdown' | 'html' | 'rawHtml' | 'links' | 'images' | 'screenshot' | 'summary' | 'changeTracking' | 'json' | 'attributes' | 'branding' | 'audio';
|
|
8
8
|
interface Viewport {
|
|
9
9
|
width: number;
|
|
10
10
|
height: number;
|
|
@@ -320,6 +320,7 @@ interface Document {
|
|
|
320
320
|
links?: string[];
|
|
321
321
|
images?: string[];
|
|
322
322
|
screenshot?: string;
|
|
323
|
+
audio?: string;
|
|
323
324
|
attributes?: Array<{
|
|
324
325
|
selector: string;
|
|
325
326
|
attribute: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { AxiosResponse, AxiosRequestHeaders } from 'axios';
|
|
|
4
4
|
import { EventEmitter } from 'events';
|
|
5
5
|
import { TypedEventTarget } from 'typescript-event-target';
|
|
6
6
|
|
|
7
|
-
type FormatString = 'markdown' | 'html' | 'rawHtml' | 'links' | 'images' | 'screenshot' | 'summary' | 'changeTracking' | 'json' | 'attributes' | 'branding';
|
|
7
|
+
type FormatString = 'markdown' | 'html' | 'rawHtml' | 'links' | 'images' | 'screenshot' | 'summary' | 'changeTracking' | 'json' | 'attributes' | 'branding' | 'audio';
|
|
8
8
|
interface Viewport {
|
|
9
9
|
width: number;
|
|
10
10
|
height: number;
|
|
@@ -320,6 +320,7 @@ interface Document {
|
|
|
320
320
|
links?: string[];
|
|
321
321
|
images?: string[];
|
|
322
322
|
screenshot?: string;
|
|
323
|
+
audio?: string;
|
|
323
324
|
attributes?: Array<{
|
|
324
325
|
selector: string;
|
|
325
326
|
attribute: string;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_package
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XGTDFUXH.js";
|
|
4
4
|
|
|
5
5
|
// src/v2/utils/httpClient.ts
|
|
6
6
|
import axios from "axios";
|
|
@@ -1559,7 +1559,7 @@ var FirecrawlApp = class {
|
|
|
1559
1559
|
if (typeof process !== "undefined" && process.env && process.env.npm_package_version) {
|
|
1560
1560
|
return process.env.npm_package_version;
|
|
1561
1561
|
}
|
|
1562
|
-
const packageJson = await import("./package-
|
|
1562
|
+
const packageJson = await import("./package-ELVD4RJL.js");
|
|
1563
1563
|
return packageJson.default.version;
|
|
1564
1564
|
} catch (error) {
|
|
1565
1565
|
const isTest = typeof process !== "undefined" && (process.env.JEST_WORKER_ID != null || false);
|
package/package.json
CHANGED
package/src/v2/types.ts
CHANGED
|
@@ -12,7 +12,8 @@ export type FormatString =
|
|
|
12
12
|
| 'changeTracking'
|
|
13
13
|
| 'json'
|
|
14
14
|
| 'attributes'
|
|
15
|
-
| 'branding'
|
|
15
|
+
| 'branding'
|
|
16
|
+
| 'audio';
|
|
16
17
|
|
|
17
18
|
export interface Viewport {
|
|
18
19
|
width: number;
|
|
@@ -392,6 +393,7 @@ export interface Document {
|
|
|
392
393
|
links?: string[];
|
|
393
394
|
images?: string[];
|
|
394
395
|
screenshot?: string;
|
|
396
|
+
audio?: string;
|
|
395
397
|
attributes?: Array<{
|
|
396
398
|
selector: string;
|
|
397
399
|
attribute: string;
|