@mendable/firecrawl 4.13.2 → 4.14.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.13.2",
11
+ version: "4.14.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.13.2",
38
+ version: "4.14.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
@@ -101,6 +101,7 @@ interface ScrapeOptions {
101
101
  mobile?: boolean;
102
102
  parsers?: Array<string | {
103
103
  type: 'pdf';
104
+ mode?: 'fast' | 'auto' | 'ocr';
104
105
  maxPages?: number;
105
106
  }>;
106
107
  actions?: ActionOption[];
package/dist/index.d.ts CHANGED
@@ -101,6 +101,7 @@ interface ScrapeOptions {
101
101
  mobile?: boolean;
102
102
  parsers?: Array<string | {
103
103
  type: 'pdf';
104
+ mode?: 'fast' | 'auto' | 'ocr';
104
105
  maxPages?: number;
105
106
  }>;
106
107
  actions?: ActionOption[];
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_package
3
- } from "./chunk-YMCI3PLP.js";
3
+ } from "./chunk-BNFKCLH7.js";
4
4
 
5
5
  // src/v2/utils/httpClient.ts
6
6
  import axios from "axios";
@@ -1473,7 +1473,7 @@ var FirecrawlApp = class {
1473
1473
  if (typeof process !== "undefined" && process.env && process.env.npm_package_version) {
1474
1474
  return process.env.npm_package_version;
1475
1475
  }
1476
- const packageJson = await import("./package-HWPUIS3T.js");
1476
+ const packageJson = await import("./package-WTVRF5QB.js");
1477
1477
  return packageJson.default.version;
1478
1478
  } catch (error) {
1479
1479
  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-YMCI3PLP.js";
3
+ } from "./chunk-BNFKCLH7.js";
4
4
  export default require_package();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mendable/firecrawl",
3
- "version": "4.13.2",
3
+ "version": "4.14.0",
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
@@ -145,7 +145,7 @@ export interface ScrapeOptions {
145
145
  timeout?: number;
146
146
  waitFor?: number;
147
147
  mobile?: boolean;
148
- parsers?: Array<string | { type: 'pdf'; maxPages?: number }>;
148
+ parsers?: Array<string | { type: 'pdf'; mode?: 'fast' | 'auto' | 'ocr'; maxPages?: number }>;
149
149
  actions?: ActionOption[];
150
150
  location?: LocationConfig;
151
151
  skipTlsVerification?: boolean;