feat(scrape/actions/click): add all parameter (FIR-1443) (#1342)

* feat(scrape/actions/click): add all parameter

* bump sdk
This commit is contained in:
Gergő Móricz 2025-03-17 20:47:17 +01:00 committed by GitHub
parent 6d3c639f58
commit d0b468ee7b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 1 deletions

View File

@ -114,6 +114,7 @@ export const actionsSchema = z
z.object({
type: z.literal("click"),
selector: z.string(),
all: z.boolean().default(false),
}),
z.object({
type: z.literal("screenshot"),

View File

@ -21,6 +21,7 @@ export type Action =
| {
type: "click";
selector: string;
all?: boolean;
}
| {
type: "screenshot";

View File

@ -1,6 +1,6 @@
{
"name": "@mendable/firecrawl-js",
"version": "1.20.0",
"version": "1.20.1",
"description": "JavaScript SDK for Firecrawl API",
"main": "dist/index.js",
"types": "dist/index.d.ts",

View File

@ -104,6 +104,7 @@ export type Action = {
} | {
type: "click",
selector: string,
all?: boolean,
} | {
type: "screenshot",
fullPage?: boolean,