firecrawl 1.28.0 → 1.29.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.
- package/.env.example +0 -0
- package/LICENSE +0 -0
- package/README.md +0 -0
- package/dist/index.cjs +2 -2
- package/dist/index.d.cts +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +1 -1
- package/dist/{package-NTC7TFI4.js → package-TKKTR5R7.js} +2 -2
- package/jest.config.js +0 -0
- package/package.json +1 -1
- package/src/index.ts +3 -0
- package/tsconfig.json +0 -0
- package/tsup.config.ts +0 -0
- package/dump.rdb +0 -0
package/.env.example
CHANGED
|
File without changes
|
package/LICENSE
CHANGED
|
File without changes
|
package/README.md
CHANGED
|
File without changes
|
package/dist/index.cjs
CHANGED
|
@@ -34,8 +34,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
34
34
|
var require_package = __commonJS({
|
|
35
35
|
"package.json"(exports2, module2) {
|
|
36
36
|
module2.exports = {
|
|
37
|
-
name: "firecrawl",
|
|
38
|
-
version: "1.
|
|
37
|
+
name: "@mendable/firecrawl-js",
|
|
38
|
+
version: "1.29.1",
|
|
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
|
@@ -169,6 +169,7 @@ interface ScrapeParams<LLMSchema extends zt.ZodSchema = any, ActionsSchema exten
|
|
|
169
169
|
};
|
|
170
170
|
actions?: ActionsSchema;
|
|
171
171
|
agent?: AgentOptions;
|
|
172
|
+
zeroDataRetention?: boolean;
|
|
172
173
|
}
|
|
173
174
|
interface ActionsResult {
|
|
174
175
|
screenshots: string[];
|
|
@@ -219,7 +220,9 @@ interface CrawlParams {
|
|
|
219
220
|
* If not provided, the crawler may use the robots.txt crawl delay if available.
|
|
220
221
|
*/
|
|
221
222
|
delay?: number;
|
|
223
|
+
allowSubdomains?: boolean;
|
|
222
224
|
maxConcurrency?: number;
|
|
225
|
+
zeroDataRetention?: boolean;
|
|
223
226
|
}
|
|
224
227
|
/**
|
|
225
228
|
* Response interface for crawling operations.
|
package/dist/index.d.ts
CHANGED
|
@@ -169,6 +169,7 @@ interface ScrapeParams<LLMSchema extends zt.ZodSchema = any, ActionsSchema exten
|
|
|
169
169
|
};
|
|
170
170
|
actions?: ActionsSchema;
|
|
171
171
|
agent?: AgentOptions;
|
|
172
|
+
zeroDataRetention?: boolean;
|
|
172
173
|
}
|
|
173
174
|
interface ActionsResult {
|
|
174
175
|
screenshots: string[];
|
|
@@ -219,7 +220,9 @@ interface CrawlParams {
|
|
|
219
220
|
* If not provided, the crawler may use the robots.txt crawl delay if available.
|
|
220
221
|
*/
|
|
221
222
|
delay?: number;
|
|
223
|
+
allowSubdomains?: boolean;
|
|
222
224
|
maxConcurrency?: number;
|
|
225
|
+
zeroDataRetention?: boolean;
|
|
223
226
|
}
|
|
224
227
|
/**
|
|
225
228
|
* Response interface for crawling operations.
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,7 @@ var FirecrawlApp = class {
|
|
|
29
29
|
}
|
|
30
30
|
async getVersion() {
|
|
31
31
|
try {
|
|
32
|
-
const packageJson = await import("./package-
|
|
32
|
+
const packageJson = await import("./package-TKKTR5R7.js");
|
|
33
33
|
return packageJson.default.version;
|
|
34
34
|
} catch (error) {
|
|
35
35
|
console.error("Error getting version:", error);
|
package/jest.config.js
CHANGED
|
File without changes
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -176,6 +176,7 @@ export interface ScrapeParams<LLMSchema extends zt.ZodSchema = any, ActionsSchem
|
|
|
176
176
|
}
|
|
177
177
|
actions?: ActionsSchema;
|
|
178
178
|
agent?: AgentOptions;
|
|
179
|
+
zeroDataRetention?: boolean;
|
|
179
180
|
}
|
|
180
181
|
|
|
181
182
|
export interface ActionsResult {
|
|
@@ -229,7 +230,9 @@ export interface CrawlParams {
|
|
|
229
230
|
* If not provided, the crawler may use the robots.txt crawl delay if available.
|
|
230
231
|
*/
|
|
231
232
|
delay?: number;
|
|
233
|
+
allowSubdomains?: boolean;
|
|
232
234
|
maxConcurrency?: number;
|
|
235
|
+
zeroDataRetention?: boolean;
|
|
233
236
|
}
|
|
234
237
|
|
|
235
238
|
/**
|
package/tsconfig.json
CHANGED
|
File without changes
|
package/tsup.config.ts
CHANGED
|
File without changes
|
package/dump.rdb
DELETED
|
Binary file
|