@bram-dc/fastify-type-provider-zod 3.1.0 → 3.1.1

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 +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,7 +8,7 @@
8
8
 
9
9
  ```js
10
10
  import Fastify from "fastify";
11
- import { ZodSerializerCompiler, ZodValidatorCompiler, ZodTypeProvider } from "fastify-type-provider-zod";
11
+ import { ZodSerializerCompiler, ZodValidatorCompiler, ZodTypeProvider } from "@bram-dc/fastify-type-provider-zod";
12
12
  import z from "zod";
13
13
 
14
14
  const app = Fastify()
@@ -51,7 +51,7 @@ import {
51
51
  ZodSerializerCompiler,
52
52
  ZodValidatorCompiler,
53
53
  ZodTypeProvider,
54
- } from "fastify-type-provider-zod";
54
+ } from "@bram-dc/fastify-type-provider-zod";
55
55
 
56
56
  const app = fastify();
57
57
  app.setValidatorCompiler(ZodValidatorCompiler);
@@ -122,7 +122,7 @@ run();
122
122
 
123
123
  ```ts
124
124
  import { z } from "zod";
125
- import { FastifyPluginAsyncZod } from "fastify-type-provider-zod";
125
+ import { FastifyPluginAsyncZod } from "@bram-dc/fastify-type-provider-zod";
126
126
 
127
127
  const plugin: FastifyPluginAsyncZod = async function (fastify, _opts) {
128
128
  fastify.route({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bram-dc/fastify-type-provider-zod",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "Zod Type Provider for Fastify@5",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",