diff --git a/.changeset/chatty-dolls-pull.md b/.changeset/chatty-dolls-pull.md deleted file mode 100644 index 4f25e00..0000000 --- a/.changeset/chatty-dolls-pull.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@nest-lab/fastify-multer': patch ---- - -allow for multiple `registerAsync` calls - -By moving the registration of the multipart content parse to a separate core module, the core module only gets activated once which allows for multiple `registerAsync` calls without calling the `fastify.register()` multiple times. This should resovle the error in #11. diff --git a/packages/fastify-multer/CHANGELOG.md b/packages/fastify-multer/CHANGELOG.md index b7054b4..9e7ce2e 100644 --- a/packages/fastify-multer/CHANGELOG.md +++ b/packages/fastify-multer/CHANGELOG.md @@ -1,5 +1,13 @@ # @nest-lab/fastify-multer +## 1.0.1 + +### Patch Changes + +- 0ab9b86: allow for multiple `registerAsync` calls + + By moving the registration of the multipart content parse to a separate core module, the core module only gets activated once which allows for multiple `registerAsync` calls without calling the `fastify.register()` multiple times. This should resovle the error in #11. + ## 1.0.0 ### Major Changes diff --git a/packages/fastify-multer/package.json b/packages/fastify-multer/package.json index 12f782d..0b518f2 100644 --- a/packages/fastify-multer/package.json +++ b/packages/fastify-multer/package.json @@ -1,6 +1,6 @@ { "name": "@nest-lab/fastify-multer", - "version": "1.0.0", + "version": "1.0.1", "description": "A File Upload package for NestJS when using fastify", "keywords": [ "fastify",