mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-12 04:18:59 +08:00
feat(scrape/actions/click): add all parameter (FIR-1443) (#1342)
* feat(scrape/actions/click): add all parameter * bump sdk
This commit is contained in:
parent
6d3c639f58
commit
d0b468ee7b
@ -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"),
|
||||
|
@ -21,6 +21,7 @@ export type Action =
|
||||
| {
|
||||
type: "click";
|
||||
selector: string;
|
||||
all?: boolean;
|
||||
}
|
||||
| {
|
||||
type: "screenshot";
|
||||
|
@ -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",
|
||||
|
@ -104,6 +104,7 @@ export type Action = {
|
||||
} | {
|
||||
type: "click",
|
||||
selector: string,
|
||||
all?: boolean,
|
||||
} | {
|
||||
type: "screenshot",
|
||||
fullPage?: boolean,
|
||||
|
Loading…
x
Reference in New Issue
Block a user