mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 03:32:22 +08:00
Nick: press + write
This commit is contained in:
parent
380dcc2fd6
commit
db161ac55a
|
@ -71,11 +71,11 @@ export const actionsSchema = z.array(z.union([
|
|||
fullPage: z.boolean().default(false),
|
||||
}),
|
||||
z.object({
|
||||
type: z.literal("typeText"),
|
||||
type: z.literal("write"),
|
||||
text: z.string(),
|
||||
}),
|
||||
z.object({
|
||||
type: z.literal("pressKey"),
|
||||
type: z.literal("press"),
|
||||
key: z.string(),
|
||||
}),
|
||||
z.object({
|
||||
|
|
|
@ -20,10 +20,10 @@ export type Action = {
|
|||
type: "screenshot",
|
||||
fullPage?: boolean,
|
||||
} | {
|
||||
type: "typeText",
|
||||
type: "write",
|
||||
text: string,
|
||||
} | {
|
||||
type: "pressKey",
|
||||
type: "press",
|
||||
key: string,
|
||||
} | {
|
||||
type: "scroll",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@mendable/firecrawl-js",
|
||||
"version": "1.4.5",
|
||||
"name": "firecrawl",
|
||||
"version": "1.5.0",
|
||||
"description": "JavaScript SDK for Firecrawl API",
|
||||
"main": "dist/index.js",
|
||||
"types": "dist/index.d.ts",
|
||||
|
|
|
@ -94,10 +94,10 @@ export type Action = {
|
|||
type: "screenshot",
|
||||
fullPage?: boolean,
|
||||
} | {
|
||||
type: "typeText",
|
||||
type: "write",
|
||||
text: string,
|
||||
} | {
|
||||
type: "pressKey",
|
||||
type: "press",
|
||||
key: string,
|
||||
} | {
|
||||
type: "scroll",
|
||||
|
|
Loading…
Reference in New Issue
Block a user