@shadow-library/fastify 1.0.0 → 1.0.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.
@@ -65,7 +65,7 @@ let FastifyModule = FastifyModule_1 = class FastifyModule {
65
65
  providers.push({ token: constants_1.FASTIFY_INSTANCE, useFactory: fastifyFactory, inject: [constants_1.FASTIFY_CONFIG] });
66
66
  if (options.providers)
67
67
  providers.push(...options.providers);
68
- const exports = [app_1.Router, services_1.ContextService];
68
+ const exports = [app_1.Router, services_1.ContextService, constants_1.FASTIFY_INSTANCE];
69
69
  if (options.exports)
70
70
  exports.push(...options.exports);
71
71
  const Module = { module: FastifyModule_1, providers, exports };
@@ -62,7 +62,7 @@ let FastifyModule = FastifyModule_1 = class FastifyModule {
62
62
  providers.push({ token: FASTIFY_INSTANCE, useFactory: fastifyFactory, inject: [FASTIFY_CONFIG] });
63
63
  if (options.providers)
64
64
  providers.push(...options.providers);
65
- const exports = [Router, ContextService];
65
+ const exports = [Router, ContextService, FASTIFY_INSTANCE];
66
66
  if (options.exports)
67
67
  exports.push(...options.exports);
68
68
  const Module = { module: FastifyModule_1, providers, exports };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@shadow-library/fastify",
3
3
  "type": "module",
4
- "version": "1.0.0",
4
+ "version": "1.0.1",
5
5
  "sideEffects": false,
6
6
  "description": "A Fastify wrapper featuring decorator-based routing, middleware and error handling",
7
7
  "repository": {