@mendable/firecrawl 4.15.0 → 4.15.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.15.0",
11
+ version: "4.15.1",
12
12
  description: "JavaScript SDK for Firecrawl API",
13
13
  main: "dist/index.js",
14
14
  types: "dist/index.d.ts",
@@ -72,7 +72,7 @@ var require_package = __commonJS({
72
72
  pnpm: {
73
73
  overrides: {
74
74
  "@isaacs/brace-expansion@<=5.0.0": ">=5.0.1",
75
- "minimatch@<10.2.1": ">=10.2.1",
75
+ "minimatch@<10.2.3": ">=10.2.3",
76
76
  "rollup@<4.59.0": ">=4.59.0"
77
77
  }
78
78
  }
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.15.0",
38
+ version: "4.15.1",
39
39
  description: "JavaScript SDK for Firecrawl API",
40
40
  main: "dist/index.js",
41
41
  types: "dist/index.d.ts",
@@ -99,7 +99,7 @@ var require_package = __commonJS({
99
99
  pnpm: {
100
100
  overrides: {
101
101
  "@isaacs/brace-expansion@<=5.0.0": ">=5.0.1",
102
- "minimatch@<10.2.1": ">=10.2.1",
102
+ "minimatch@<10.2.3": ">=10.2.3",
103
103
  "rollup@<4.59.0": ">=4.59.0"
104
104
  }
105
105
  }
@@ -939,6 +939,7 @@ async function browser(http, args = {}) {
939
939
  if (args.activityTtl != null) body.activityTtl = args.activityTtl;
940
940
  if (args.streamWebView != null) body.streamWebView = args.streamWebView;
941
941
  if (args.profile != null) body.profile = args.profile;
942
+ if (args.integration != null) body.integration = args.integration;
942
943
  try {
943
944
  const res = await http.post("/v2/browser", body);
944
945
  if (res.status !== 200) throwForBadResponse(res, "create browser session");
package/dist/index.d.cts CHANGED
@@ -658,6 +658,7 @@ declare function browser(http: HttpClient, args?: {
658
658
  name: string;
659
659
  saveChanges?: boolean;
660
660
  };
661
+ integration?: string;
661
662
  }): Promise<BrowserCreateResponse>;
662
663
  declare function browserExecute(http: HttpClient, sessionId: string, args: {
663
664
  code: string;
package/dist/index.d.ts CHANGED
@@ -658,6 +658,7 @@ declare function browser(http: HttpClient, args?: {
658
658
  name: string;
659
659
  saveChanges?: boolean;
660
660
  };
661
+ integration?: string;
661
662
  }): Promise<BrowserCreateResponse>;
662
663
  declare function browserExecute(http: HttpClient, sessionId: string, args: {
663
664
  code: string;
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_package
3
- } from "./chunk-BVXUPPLC.js";
3
+ } from "./chunk-6GGUNT5D.js";
4
4
 
5
5
  // src/v2/utils/httpClient.ts
6
6
  import axios from "axios";
@@ -821,6 +821,7 @@ async function browser(http, args = {}) {
821
821
  if (args.activityTtl != null) body.activityTtl = args.activityTtl;
822
822
  if (args.streamWebView != null) body.streamWebView = args.streamWebView;
823
823
  if (args.profile != null) body.profile = args.profile;
824
+ if (args.integration != null) body.integration = args.integration;
824
825
  try {
825
826
  const res = await http.post("/v2/browser", body);
826
827
  if (res.status !== 200) throwForBadResponse(res, "create browser session");
@@ -1474,7 +1475,7 @@ var FirecrawlApp = class {
1474
1475
  if (typeof process !== "undefined" && process.env && process.env.npm_package_version) {
1475
1476
  return process.env.npm_package_version;
1476
1477
  }
1477
- const packageJson = await import("./package-EBV43AP5.js");
1478
+ const packageJson = await import("./package-QEFINGBK.js");
1478
1479
  return packageJson.default.version;
1479
1480
  } catch (error) {
1480
1481
  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-BVXUPPLC.js";
3
+ } from "./chunk-6GGUNT5D.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.15.0",
3
+ "version": "4.15.1",
4
4
  "description": "JavaScript SDK for Firecrawl API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -17,6 +17,7 @@ export async function browser(
17
17
  name: string;
18
18
  saveChanges?: boolean;
19
19
  };
20
+ integration?: string;
20
21
  } = {}
21
22
  ): Promise<BrowserCreateResponse> {
22
23
  const body: Record<string, unknown> = {};
@@ -24,6 +25,7 @@ export async function browser(
24
25
  if (args.activityTtl != null) body.activityTtl = args.activityTtl;
25
26
  if (args.streamWebView != null) body.streamWebView = args.streamWebView;
26
27
  if (args.profile != null) body.profile = args.profile;
28
+ if (args.integration != null) body.integration = args.integration;
27
29
 
28
30
  try {
29
31
  const res = await http.post<BrowserCreateResponse>("/v2/browser", body);