@jsnw/nestjs-rabbitmq 1.2.0 → 1.2.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.
|
@@ -28,19 +28,15 @@ export type RabbitmqMessageValidation = {
|
|
|
28
28
|
onFail?: RabbitmqResponse;
|
|
29
29
|
};
|
|
30
30
|
export type RabbitmqSubscribeParams = {
|
|
31
|
+
id?: string;
|
|
31
32
|
queue: RabbitmqQueue;
|
|
32
33
|
requeue?: boolean;
|
|
33
34
|
concurrency?: number;
|
|
34
35
|
prefetchSize?: number;
|
|
35
36
|
prefetchCount?: number;
|
|
36
37
|
validation?: RabbitmqMessageValidation;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
autoStart: boolean;
|
|
40
|
-
} | {
|
|
41
|
-
id?: never;
|
|
42
|
-
autoStart?: never;
|
|
43
|
-
});
|
|
38
|
+
autoStart?: boolean;
|
|
39
|
+
};
|
|
44
40
|
export type RabbitmqSubscriberFunction = {
|
|
45
41
|
instance: any;
|
|
46
42
|
methodName: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsnw/nestjs-rabbitmq",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "NestJS module for RabbitMQ integration with decorator-based consumers, message validation, and dead-letter exchange support",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|