@hono/zod-openapi 0.8.2 → 0.8.4

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.mts CHANGED
@@ -3,7 +3,7 @@ import * as openapi3_ts_oas30 from 'openapi3-ts/oas30';
3
3
  import { RouteConfig, OpenAPIRegistry, ZodRequestBody, ZodContentObject, ResponseConfig } from '@asteasolutions/zod-to-openapi';
4
4
  import { OpenAPIObjectConfig } from '@asteasolutions/zod-to-openapi/dist/v3.0/openapi-generator';
5
5
  import { Env, Input, Handler, Schema, Hono, ToSchema, Context, TypedResponse } from 'hono';
6
- import { MergeSchemaPath, MergePath } from 'hono/dist/types/types';
6
+ import { MergeSchemaPath, MergePath } from 'hono/types';
7
7
  import { RemoveBlankRecord } from 'hono/utils/types';
8
8
  import { AnyZodObject, z, ZodSchema, ZodError, ZodType } from 'zod';
9
9
  export { z } from 'zod';
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import * as openapi3_ts_oas30 from 'openapi3-ts/oas30';
3
3
  import { RouteConfig, OpenAPIRegistry, ZodRequestBody, ZodContentObject, ResponseConfig } from '@asteasolutions/zod-to-openapi';
4
4
  import { OpenAPIObjectConfig } from '@asteasolutions/zod-to-openapi/dist/v3.0/openapi-generator';
5
5
  import { Env, Input, Handler, Schema, Hono, ToSchema, Context, TypedResponse } from 'hono';
6
- import { MergeSchemaPath, MergePath } from 'hono/dist/types/types';
6
+ import { MergeSchemaPath, MergePath } from 'hono/types';
7
7
  import { RemoveBlankRecord } from 'hono/utils/types';
8
8
  import { AnyZodObject, z, ZodSchema, ZodError, ZodType } from 'zod';
9
9
  export { z } from 'zod';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hono/zod-openapi",
3
- "version": "0.8.2",
3
+ "version": "0.8.4",
4
4
  "description": "A wrapper class of Hono which supports OpenAPI.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -16,9 +16,14 @@
16
16
  },
17
17
  "exports": {
18
18
  ".": {
19
- "types": "./dist/index.d.mts",
20
- "import": "./dist/index.mjs",
21
- "require": "./dist/index.js"
19
+ "import": {
20
+ "types": "./dist/index.d.mts",
21
+ "default": "./dist/index.mjs"
22
+ },
23
+ "require": {
24
+ "types": "./dist/index.d.ts",
25
+ "default": "./dist/index.js"
26
+ }
22
27
  }
23
28
  },
24
29
  "license": "MIT",
@@ -37,7 +42,7 @@
37
42
  "zod": "3.*"
38
43
  },
39
44
  "devDependencies": {
40
- "hono": "^3.7.2",
45
+ "hono": "^3.9.1",
41
46
  "zod": "^3.22.1"
42
47
  },
43
48
  "dependencies": {
@@ -47,4 +52,4 @@
47
52
  "engines": {
48
53
  "node": ">=16.0.0"
49
54
  }
50
- }
55
+ }