@cap-js-community/event-queue 2.0.0-beta.5 → 2.0.0-beta.6
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cap-js-community/event-queue",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.6",
|
|
4
4
|
"description": "An event queue that enables secure transactional processing of asynchronous and periodic events, featuring instant event processing with Redis Pub/Sub and load distribution across all application instances.",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/index.d.ts",
|
|
@@ -1204,7 +1204,10 @@ class EventQueueProcessorBase {
|
|
|
1204
1204
|
}
|
|
1205
1205
|
|
|
1206
1206
|
statusMapContainsError(statusMap) {
|
|
1207
|
-
|
|
1207
|
+
this.#normalizeStatusMap(statusMap);
|
|
1208
|
+
return Object.values(statusMap)
|
|
1209
|
+
.map(({ status }) => status)
|
|
1210
|
+
.includes(EventProcessingStatus.Error);
|
|
1208
1211
|
}
|
|
1209
1212
|
|
|
1210
1213
|
clearEventProcessingContext() {
|