@mendable/firecrawl-js 4.13.0-beta.3 → 4.13.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.0-beta.3",
11
+ version: "4.13.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.0-beta.3",
38
+ version: "4.13.0",
39
39
  description: "JavaScript SDK for Firecrawl API",
40
40
  main: "dist/index.js",
41
41
  types: "dist/index.d.ts",
@@ -106,17 +106,17 @@ var require_package = __commonJS({
106
106
  });
107
107
 
108
108
  // src/index.ts
109
- var src_exports = {};
110
- __export(src_exports, {
109
+ var index_exports = {};
110
+ __export(index_exports, {
111
111
  Firecrawl: () => Firecrawl,
112
112
  FirecrawlAppV1: () => FirecrawlApp,
113
113
  FirecrawlClient: () => FirecrawlClient,
114
114
  JobTimeoutError: () => JobTimeoutError,
115
115
  SdkError: () => SdkError,
116
116
  Watcher: () => Watcher,
117
- default: () => src_default
117
+ default: () => index_default
118
118
  });
119
- module.exports = __toCommonJS(src_exports);
119
+ module.exports = __toCommonJS(index_exports);
120
120
 
121
121
  // src/v2/utils/httpClient.ts
122
122
  var import_axios = __toESM(require("axios"), 1);
@@ -1552,7 +1552,7 @@ var FirecrawlClient = class {
1552
1552
  var import_axios3 = __toESM(require("axios"), 1);
1553
1553
  var zt2 = require("zod");
1554
1554
 
1555
- // node_modules/typescript-event-target/dist/index.mjs
1555
+ // node_modules/.pnpm/typescript-event-target@1.1.1/node_modules/typescript-event-target/dist/index.mjs
1556
1556
  var e = class extends EventTarget {
1557
1557
  dispatchTypedEvent(s, t) {
1558
1558
  return super.dispatchEvent(t);
@@ -2952,7 +2952,7 @@ var Firecrawl = class extends FirecrawlClient {
2952
2952
  return this._v1;
2953
2953
  }
2954
2954
  };
2955
- var src_default = Firecrawl;
2955
+ var index_default = Firecrawl;
2956
2956
  // Annotate the CommonJS export names for ESM import in node:
2957
2957
  0 && (module.exports = {
2958
2958
  Firecrawl,
package/dist/index.d.cts CHANGED
@@ -610,9 +610,9 @@ declare class HttpClient {
610
610
  getApiKey(): string;
611
611
  private request;
612
612
  private sleep;
613
- post<T = any>(endpoint: string, body: Record<string, unknown>, headers?: Record<string, string>): Promise<AxiosResponse<T, any>>;
614
- get<T = any>(endpoint: string, headers?: Record<string, string>): Promise<AxiosResponse<T, any>>;
615
- delete<T = any>(endpoint: string, headers?: Record<string, string>): Promise<AxiosResponse<T, any>>;
613
+ post<T = any>(endpoint: string, body: Record<string, unknown>, headers?: Record<string, string>): Promise<AxiosResponse<T, any, {}>>;
614
+ get<T = any>(endpoint: string, headers?: Record<string, string>): Promise<AxiosResponse<T, any, {}>>;
615
+ delete<T = any>(endpoint: string, headers?: Record<string, string>): Promise<AxiosResponse<T, any, {}>>;
616
616
  prepareHeaders(idempotencyKey?: string): Record<string, string>;
617
617
  }
618
618
 
package/dist/index.d.ts CHANGED
@@ -610,9 +610,9 @@ declare class HttpClient {
610
610
  getApiKey(): string;
611
611
  private request;
612
612
  private sleep;
613
- post<T = any>(endpoint: string, body: Record<string, unknown>, headers?: Record<string, string>): Promise<AxiosResponse<T, any>>;
614
- get<T = any>(endpoint: string, headers?: Record<string, string>): Promise<AxiosResponse<T, any>>;
615
- delete<T = any>(endpoint: string, headers?: Record<string, string>): Promise<AxiosResponse<T, any>>;
613
+ post<T = any>(endpoint: string, body: Record<string, unknown>, headers?: Record<string, string>): Promise<AxiosResponse<T, any, {}>>;
614
+ get<T = any>(endpoint: string, headers?: Record<string, string>): Promise<AxiosResponse<T, any, {}>>;
615
+ delete<T = any>(endpoint: string, headers?: Record<string, string>): Promise<AxiosResponse<T, any, {}>>;
616
616
  prepareHeaders(idempotencyKey?: string): Record<string, string>;
617
617
  }
618
618
 
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_package
3
- } from "./chunk-WBUKU64H.js";
3
+ } from "./chunk-22A4MB4F.js";
4
4
 
5
5
  // src/v2/utils/httpClient.ts
6
6
  import axios from "axios";
@@ -960,7 +960,7 @@ var loadPromise;
960
960
  var loadNodeWebSocket = async () => {
961
961
  if (!isNodeRuntime()) return void 0;
962
962
  try {
963
- const undici = await import("node:undici");
963
+ const undici = await import("undici");
964
964
  const ctor = undici.WebSocket ?? undici.default?.WebSocket;
965
965
  return typeof ctor === "function" ? ctor : void 0;
966
966
  } catch {
@@ -1436,7 +1436,7 @@ var FirecrawlClient = class {
1436
1436
  import axios2, { AxiosError } from "axios";
1437
1437
  import "zod";
1438
1438
 
1439
- // node_modules/typescript-event-target/dist/index.mjs
1439
+ // node_modules/.pnpm/typescript-event-target@1.1.1/node_modules/typescript-event-target/dist/index.mjs
1440
1440
  var e = class extends EventTarget {
1441
1441
  dispatchTypedEvent(s, t) {
1442
1442
  return super.dispatchEvent(t);
@@ -1465,7 +1465,7 @@ var FirecrawlApp = class {
1465
1465
  if (typeof process !== "undefined" && process.env && process.env.npm_package_version) {
1466
1466
  return process.env.npm_package_version;
1467
1467
  }
1468
- const packageJson = await import("./package-Q6GJF2UB.js");
1468
+ const packageJson = await import("./package-5SIMNZMX.js");
1469
1469
  return packageJson.default.version;
1470
1470
  } catch (error) {
1471
1471
  const isTest = typeof process !== "undefined" && (process.env.JEST_WORKER_ID != null || false);
@@ -2836,7 +2836,7 @@ var Firecrawl = class extends FirecrawlClient {
2836
2836
  return this._v1;
2837
2837
  }
2838
2838
  };
2839
- var src_default = Firecrawl;
2839
+ var index_default = Firecrawl;
2840
2840
  export {
2841
2841
  Firecrawl,
2842
2842
  FirecrawlApp as FirecrawlAppV1,
@@ -2844,5 +2844,5 @@ export {
2844
2844
  JobTimeoutError,
2845
2845
  SdkError,
2846
2846
  Watcher,
2847
- src_default as default
2847
+ index_default as default
2848
2848
  };
@@ -1,4 +1,4 @@
1
1
  import {
2
2
  require_package
3
- } from "./chunk-WBUKU64H.js";
3
+ } from "./chunk-22A4MB4F.js";
4
4
  export default require_package();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mendable/firecrawl-js",
3
- "version": "4.13.0-beta.3",
3
+ "version": "4.13.0",
4
4
  "description": "JavaScript SDK for Firecrawl API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/dump.rdb DELETED
Binary file