@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 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 | any;
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
@@ -85,7 +85,7 @@ var __async = (__this, __arguments, generator) => {
85
85
  var STAGEHAND_VERSION;
86
86
  var init_version = __esm({
87
87
  "lib/version.ts"() {
88
- STAGEHAND_VERSION = "3.0.2-zod355";
88
+ STAGEHAND_VERSION = "3.0.2-zod359";
89
89
  }
90
90
  });
91
91
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@browserbasehq/orca",
3
- "version": "3.0.2-zod355",
3
+ "version": "3.0.2-zod359",
4
4
  "description": "An AI web browsing framework focused on simplicity and extensibility.",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",