@opra/nestjs-kafka 1.20.0 → 1.21.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.
@@ -59,7 +59,7 @@ let OpraKafkaCoreModule = OpraKafkaCoreModule_1 = class OpraKafkaCoreModule {
59
59
  useFactory: async (controllerFactory, moduleRef, config) => {
60
60
  const controllers = controllerFactory
61
61
  .exploreControllers()
62
- .map(x => x.wrapper.instance.constructor);
62
+ .map(x => x.wrapper.instance);
63
63
  const document = await common_2.ApiDocumentFactory.createDocument({
64
64
  info: config.info,
65
65
  types: config.types,
@@ -56,7 +56,7 @@ let OpraKafkaCoreModule = OpraKafkaCoreModule_1 = class OpraKafkaCoreModule {
56
56
  useFactory: async (controllerFactory, moduleRef, config) => {
57
57
  const controllers = controllerFactory
58
58
  .exploreControllers()
59
- .map(x => x.wrapper.instance.constructor);
59
+ .map(x => x.wrapper.instance);
60
60
  const document = await ApiDocumentFactory.createDocument({
61
61
  info: config.info,
62
62
  types: config.types,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/nestjs-kafka",
3
- "version": "1.20.0",
3
+ "version": "1.21.0",
4
4
  "description": "Opra NestJS Kafka Module",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -12,10 +12,10 @@
12
12
  "tslib": "^2.8.1"
13
13
  },
14
14
  "peerDependencies": {
15
- "@opra/common": "^1.20.0",
16
- "@opra/core": "^1.20.0",
17
- "@opra/nestjs": "^1.20.0",
18
- "@opra/kafka": "^1.20.0",
15
+ "@opra/common": "^1.21.0",
16
+ "@opra/core": "^1.21.0",
17
+ "@opra/nestjs": "^1.21.0",
18
+ "@opra/kafka": "^1.21.0",
19
19
  "@nestjs/common": "^10.0.0 || ^11.0.0",
20
20
  "@nestjs/core": "^10.0.0 || ^11.0.0",
21
21
  "@nestjs/microservices": "^10.0.0 || ^11.0.0",