@opra/nestjs-kafka 1.19.7 → 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 OpraKafkaCoreModule = OpraKafkaCoreModule_1 = class OpraKafkaCoreModule {
|
|
|
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.
|
|
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 OpraKafkaCoreModule = OpraKafkaCoreModule_1 = class OpraKafkaCoreModule {
|
|
|
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.
|
|
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-kafka",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.20.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.
|
|
16
|
-
"@opra/core": "^1.
|
|
17
|
-
"@opra/nestjs": "^1.
|
|
18
|
-
"@opra/kafka": "^1.
|
|
15
|
+
"@opra/common": "^1.20.0",
|
|
16
|
+
"@opra/core": "^1.20.0",
|
|
17
|
+
"@opra/nestjs": "^1.20.0",
|
|
18
|
+
"@opra/kafka": "^1.20.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",
|