@rosen-bridge/fastify-enhanced 0.1.0 → 1.0.0

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 (47) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/dataTypes.d.ts +206 -428
  3. package/dist/dataTypes.d.ts.map +1 -1
  4. package/dist/dataTypes.js +3 -4
  5. package/dist/error.d.ts +5 -0
  6. package/dist/error.d.ts.map +1 -0
  7. package/dist/error.js +9 -0
  8. package/dist/fastify.d.ts +8 -38
  9. package/dist/fastify.d.ts.map +1 -1
  10. package/dist/fastify.js +19 -153
  11. package/dist/index.d.ts +3 -3
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +2 -2
  14. package/dist/jsonParser.d.ts +4 -0
  15. package/dist/jsonParser.d.ts.map +1 -0
  16. package/dist/jsonParser.js +18 -0
  17. package/dist/serializerCompiler.d.ts +14 -0
  18. package/dist/serializerCompiler.d.ts.map +1 -0
  19. package/dist/serializerCompiler.js +27 -0
  20. package/dist/swagger.d.ts +6 -0
  21. package/dist/swagger.d.ts.map +1 -0
  22. package/dist/swagger.js +42 -0
  23. package/dist/types.d.ts +8 -15
  24. package/dist/types.d.ts.map +1 -1
  25. package/dist/types.js +1 -1
  26. package/dist/utils.d.ts +2 -0
  27. package/dist/utils.d.ts.map +1 -0
  28. package/dist/utils.js +4 -0
  29. package/lib/error.ts +9 -0
  30. package/lib/fastify.ts +22 -166
  31. package/lib/index.ts +2 -2
  32. package/lib/jsonParser.ts +23 -0
  33. package/lib/serializerCompiler.ts +42 -0
  34. package/lib/swagger.ts +52 -0
  35. package/lib/types.ts +3 -3
  36. package/lib/utils.ts +6 -0
  37. package/package.json +18 -19
  38. package/tests/bin.ts +13 -0
  39. package/tests/e2e.spec.ts +74 -0
  40. package/tests/mockRoute.ts +104 -0
  41. package/tests/testData.ts +101 -0
  42. package/tsconfig.build.json +2 -1
  43. package/tsconfig.build.tsbuildinfo +1 -1
  44. package/tsconfig.json +2 -1
  45. package/vitest.config.ts +9 -1
  46. package/dist/tsconfig.tsbuildinfo +0 -1
  47. package/lib/dataTypes.ts +0 -7
package/CHANGELOG.md ADDED
@@ -0,0 +1,17 @@
1
+ # @rosen-bridge/fastify-enhanced
2
+
3
+ ## 1.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - Update fastify-enhanced package to support swagger and bigint
8
+
9
+ ### Minor Changes
10
+
11
+ - Update versions of nodejs to 20.11 & typescript to 5.8
12
+
13
+ ## 0.1.1
14
+
15
+ ### Patch Changes
16
+
17
+ - Export fastify instance interface