@opra/nestjs-rabbitmq 1.19.5 → 1.20.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.
@@ -107,7 +107,7 @@ let OpraRabbitmqCoreModule = OpraRabbitmqCoreModule_1 = class OpraRabbitmqCoreMo
107
107
  onModuleInit() {
108
108
  /** NestJS initialize controller instances on init stage.
109
109
  * So we should update instance properties */
110
- const mqApi = this.adapter.document.mqApi;
110
+ const mqApi = this.adapter.document.getMqApi();
111
111
  const controllers = Array.from(mqApi.controllers.values());
112
112
  for (const { wrapper } of this.controllerFactory
113
113
  .exploreControllers()
@@ -104,7 +104,7 @@ let OpraRabbitmqCoreModule = OpraRabbitmqCoreModule_1 = class OpraRabbitmqCoreMo
104
104
  onModuleInit() {
105
105
  /** NestJS initialize controller instances on init stage.
106
106
  * So we should update instance properties */
107
- const mqApi = this.adapter.document.mqApi;
107
+ const mqApi = this.adapter.document.getMqApi();
108
108
  const controllers = Array.from(mqApi.controllers.values());
109
109
  for (const { wrapper } of this.controllerFactory
110
110
  .exploreControllers()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opra/nestjs-rabbitmq",
3
- "version": "1.19.5",
3
+ "version": "1.20.0",
4
4
  "description": "Opra NestJS RabbitMQ Module",
5
5
  "author": "Panates",
6
6
  "license": "MIT",
@@ -9,10 +9,10 @@
9
9
  "tslib": "^2.8.1"
10
10
  },
11
11
  "peerDependencies": {
12
- "@opra/common": "^1.19.5",
13
- "@opra/core": "^1.19.5",
14
- "@opra/nestjs": "^1.19.5",
15
- "@opra/rabbitmq": "^1.19.5",
12
+ "@opra/common": "^1.20.0",
13
+ "@opra/core": "^1.20.0",
14
+ "@opra/nestjs": "^1.20.0",
15
+ "@opra/rabbitmq": "^1.20.0",
16
16
  "@nestjs/common": "^10.0.0 || ^11.0.0",
17
17
  "@nestjs/core": "^10.0.0 || ^11.0.0",
18
18
  "@nestjs/microservices": "^10.0.0 || ^11.0.0",