@browserbasehq/orca 3.0.2-zod355 → 3.0.2-zod359
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.d.ts +2 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ import { ChatCompletion } from 'openai/resources';
|
|
|
18
18
|
import { ToolSet as ToolSet$1 } from 'ai/dist';
|
|
19
19
|
import { Schema } from '@google/genai';
|
|
20
20
|
|
|
21
|
-
type StagehandZodSchema = ZodTypeAny | z3.ZodTypeAny
|
|
21
|
+
type StagehandZodSchema = ZodTypeAny | z3.ZodTypeAny;
|
|
22
22
|
type StagehandZodObject = ZodObject<ZodRawShape> | z3.ZodObject<z3.ZodRawShape>;
|
|
23
23
|
type InferStagehandSchema<T extends StagehandZodSchema> = T extends z3.ZodTypeAny ? z3.infer<T> : T extends ZodTypeAny ? z.infer<T> : never;
|
|
24
24
|
declare const isZod4Schema: (schema: StagehandZodSchema) => schema is ZodTypeAny & {
|
|
@@ -1982,6 +1982,7 @@ declare class V3 {
|
|
|
1982
1982
|
extract(options: ExtractOptions): Promise<z.infer<typeof pageTextSchema>>;
|
|
1983
1983
|
extract(instruction: string, options?: ExtractOptions): Promise<z.infer<typeof defaultExtractSchema>>;
|
|
1984
1984
|
extract<T extends StagehandZodSchema>(instruction: string, schema: T, options?: ExtractOptions): Promise<InferStagehandSchema<T>>;
|
|
1985
|
+
extract(instruction: string, schema: unknown, options?: ExtractOptions): Promise<unknown>;
|
|
1985
1986
|
/**
|
|
1986
1987
|
* Run an "observe" instruction through the ObserveHandler.
|
|
1987
1988
|
*/
|
package/dist/index.js
CHANGED
package/package.json
CHANGED