@efebia/fastify-zod-reply 1.0.0 → 1.0.2

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.
@@ -17,7 +17,7 @@ export interface FastifyStatusCode {
17
17
  }
18
18
  export type FastifyReplyPluginOptions = {
19
19
  statusCodes?: {
20
- [key in keyof FastifyStatusCode]: FastifyStatusCode[key];
20
+ [key in keyof FastifyStatusCode]?: FastifyStatusCode[key];
21
21
  };
22
22
  };
23
23
  export type DecoratedReply = {
@@ -17,7 +17,7 @@ export interface FastifyStatusCode {
17
17
  }
18
18
  export type FastifyReplyPluginOptions = {
19
19
  statusCodes?: {
20
- [key in keyof FastifyStatusCode]: FastifyStatusCode[key];
20
+ [key in keyof FastifyStatusCode]?: FastifyStatusCode[key];
21
21
  };
22
22
  };
23
23
  export type DecoratedReply = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@efebia/fastify-zod-reply",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "fastify": "^5.3.0",
@@ -20,7 +20,7 @@
20
20
  "types": "./lib/esm/index.d.ts",
21
21
  "type": "module",
22
22
  "devDependencies": {
23
- "typescript": "^5.8.3"
23
+ "typescript": "~5.8.3"
24
24
  },
25
25
  "exports": {
26
26
  ".": {