firecrawl 1.5.0 → 1.5.2

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.
package/dist/index.cjs CHANGED
@@ -111,7 +111,7 @@ var FirecrawlApp = class {
111
111
  * @returns Throws an error advising to use version 0 of the API.
112
112
  */
113
113
  async search(query, params) {
114
- throw new Error("Search is not supported in v1, please update FirecrawlApp() initialization to use v0.");
114
+ throw new Error("Search is not supported in v1, please downgrade Firecrawl to 0.0.36.");
115
115
  }
116
116
  /**
117
117
  * Initiates a crawl job for a URL using the Firecrawl API.
package/dist/index.d.cts CHANGED
@@ -88,10 +88,10 @@ type Action = {
88
88
  type: "screenshot";
89
89
  fullPage?: boolean;
90
90
  } | {
91
- type: "typeText";
91
+ type: "write";
92
92
  text: string;
93
93
  } | {
94
- type: "pressKey";
94
+ type: "press";
95
95
  key: string;
96
96
  } | {
97
97
  type: "scroll";
package/dist/index.d.ts CHANGED
@@ -88,10 +88,10 @@ type Action = {
88
88
  type: "screenshot";
89
89
  fullPage?: boolean;
90
90
  } | {
91
- type: "typeText";
91
+ type: "write";
92
92
  text: string;
93
93
  } | {
94
- type: "pressKey";
94
+ type: "press";
95
95
  key: string;
96
96
  } | {
97
97
  type: "scroll";
package/dist/index.js CHANGED
@@ -76,7 +76,7 @@ var FirecrawlApp = class {
76
76
  * @returns Throws an error advising to use version 0 of the API.
77
77
  */
78
78
  async search(query, params) {
79
- throw new Error("Search is not supported in v1, please update FirecrawlApp() initialization to use v0.");
79
+ throw new Error("Search is not supported in v1, please downgrade Firecrawl to 0.0.36.");
80
80
  }
81
81
  /**
82
82
  * Initiates a crawl job for a URL using the Firecrawl API.
package/dump.rdb CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "firecrawl",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "JavaScript SDK for Firecrawl API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -94,10 +94,10 @@ export type Action = {
94
94
  type: "screenshot",
95
95
  fullPage?: boolean,
96
96
  } | {
97
- type: "typeText",
97
+ type: "write",
98
98
  text: string,
99
99
  } | {
100
- type: "pressKey",
100
+ type: "press",
101
101
  key: string,
102
102
  } | {
103
103
  type: "scroll",
@@ -289,7 +289,7 @@ export default class FirecrawlApp {
289
289
  query: string,
290
290
  params?: any
291
291
  ): Promise<any> {
292
- throw new Error("Search is not supported in v1, please update FirecrawlApp() initialization to use v0.");
292
+ throw new Error("Search is not supported in v1, please downgrade Firecrawl to 0.0.36.");
293
293
  }
294
294
 
295
295
  /**