@browserbasehq/orca 3.0.2-zod347 → 3.0.2-zod348

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.
Files changed (2) hide show
  1. package/dist/index.js +4 -4
  2. package/package.json +1 -1
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-zod347";
88
+ STAGEHAND_VERSION = "3.0.2-zod348";
89
89
  }
90
90
  });
91
91
 
@@ -8355,10 +8355,10 @@ function transformSchema(schema, currentPath) {
8355
8355
  const checks = getStringChecks(schema);
8356
8356
  const format = getStringFormat(schema);
8357
8357
  const hasUrlCheck = checks.some((check) => {
8358
- var _a, _b, _c, _d;
8358
+ var _a, _b, _c, _d, _e, _f;
8359
8359
  const candidate = check;
8360
- return candidate.kind === "url" || candidate.format === "url" || ((_b = (_a = candidate._zod) == null ? void 0 : _a.def) == null ? void 0 : _b.check) === "url" || ((_d = (_c = candidate._zod) == null ? void 0 : _c.def) == null ? void 0 : _d.format) === "url";
8361
- }) || format === "url";
8360
+ return candidate.kind === "url" || candidate.format === "url" || candidate.format === "uri" || ((_b = (_a = candidate._zod) == null ? void 0 : _a.def) == null ? void 0 : _b.check) === "url" || ((_d = (_c = candidate._zod) == null ? void 0 : _c.def) == null ? void 0 : _d.format) === "url" || ((_f = (_e = candidate._zod) == null ? void 0 : _e.def) == null ? void 0 : _f.format) === "uri";
8361
+ }) || format === "url" || format === "uri";
8362
8362
  if (hasUrlCheck) {
8363
8363
  return [makeIdStringSchema(schema), [{ segments: [] }]];
8364
8364
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@browserbasehq/orca",
3
- "version": "3.0.2-zod347",
3
+ "version": "3.0.2-zod348",
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",