@hono/zod-openapi 0.9.2 → 0.9.3

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/README.md +1 -1
  2. package/package.json +5 -4
package/README.md CHANGED
@@ -341,7 +341,7 @@ app.doc('/doc', c => ({
341
341
  },
342
342
  servers: [
343
343
  {
344
- url: new URL(c.req.url).hostname,
344
+ url: new URL(c.req.url).origin,
345
345
  description: 'Current environment',
346
346
  },
347
347
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hono/zod-openapi",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "description": "A wrapper class of Hono which supports OpenAPI.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -9,7 +9,7 @@
9
9
  "dist"
10
10
  ],
11
11
  "scripts": {
12
- "test": "vitest run && vitest typecheck --run --passWithNoTests",
12
+ "test": "vitest run && vitest --typecheck --run --passWithNoTests",
13
13
  "build": "tsup ./src/index.ts --format esm,cjs --dts",
14
14
  "publint": "publint",
15
15
  "release": "yarn build && yarn test && yarn publint && yarn publish"
@@ -38,12 +38,13 @@
38
38
  },
39
39
  "homepage": "https://github.com/honojs/middleware",
40
40
  "peerDependencies": {
41
- "hono": ">=3.11.1",
41
+ "hono": ">=3.11.3",
42
42
  "zod": "3.*"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@hono/zod-validator": "^0.1.11",
46
- "hono": "^3.11.1",
46
+ "hono": "^3.11.3",
47
+ "vitest": "^1.0.1",
47
48
  "zod": "^3.22.1"
48
49
  },
49
50
  "dependencies": {