@orpc/zod 0.0.0-next.31590a1 → 0.0.0-next.32cb70c

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.js CHANGED
@@ -724,7 +724,6 @@ function zodToJsonSchema(schema, options) {
724
724
  const schema_ = schema__;
725
725
  const def = schema_._def;
726
726
  const json = { type: "array" };
727
- json.items = zodToJsonSchema(def.type, childOptions);
728
727
  if (def.exactLength) {
729
728
  json.maxItems = def.exactLength.value;
730
729
  json.minItems = def.exactLength.value;
@@ -1,5 +1,5 @@
1
1
  import type { Schema } from '@orpc/contract';
2
- import type { SchemaCoercer } from '@orpc/openapi/standard';
2
+ import type { SchemaCoercer } from '@orpc/openapi/fetch';
3
3
  export declare class ZodCoercer implements SchemaCoercer {
4
4
  coerce(schema: Schema, value: unknown): unknown;
5
5
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@orpc/zod",
3
3
  "type": "module",
4
- "version": "0.0.0-next.31590a1",
4
+ "version": "0.0.0-next.32cb70c",
5
5
  "license": "MIT",
6
6
  "homepage": "https://orpc.unnoq.com",
7
7
  "repository": {
@@ -29,7 +29,7 @@
29
29
  "dist"
30
30
  ],
31
31
  "peerDependencies": {
32
- "@orpc/openapi": "0.0.0-next.31590a1"
32
+ "@orpc/openapi": "0.0.0-next.32cb70c"
33
33
  },
34
34
  "dependencies": {
35
35
  "json-schema-typed": "^8.0.1",