@nestjstools/messaging 2.5.0 → 2.5.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.
- package/README.md +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -540,7 +540,7 @@ export class YourMessagingConsumer implements IMessagingConsumer<YourChannel> {
|
|
|
540
540
|
return Promise.resolve();
|
|
541
541
|
}
|
|
542
542
|
|
|
543
|
-
onError(errored: ConsumerDispatchedMessageError, channel: YourChannel): Promise<void> {
|
|
543
|
+
async onError(errored: ConsumerDispatchedMessageError, channel: YourChannel): Promise<void> {
|
|
544
544
|
// Handle error if message processing fails
|
|
545
545
|
return Promise.resolve();
|
|
546
546
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nestjstools/messaging",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "Simplifies asynchronous and synchronous message handling with support for buses, handlers, channels, and consumers. Build scalable, decoupled applications with ease and reliability.",
|
|
5
5
|
"author": "Sebastian Iwanczyszyn",
|
|
6
6
|
"license": "MIT",
|