@cap-js-community/event-queue
Advanced tools
Comparing version 1.4.4 to 1.4.5
{ | ||
"name": "@cap-js-community/event-queue", | ||
"version": "1.4.4", | ||
"version": "1.4.5", | ||
"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,0 +5,0 @@ "main": "src/index.js", |
@@ -7,2 +7,3 @@ "use strict"; | ||
const { EventProcessingStatus } = require("../constants"); | ||
const common = require("../shared/common"); | ||
@@ -26,3 +27,6 @@ const COMPONENT_NAME = "/eventQueue/outbox/generic"; | ||
delete msg.contextUser; | ||
processContext.user = new cds.User.Privileged(userId); | ||
processContext.user = new cds.User.Privileged({ | ||
id: userId, | ||
authInfo: await common.getAuthInfo(processContext.tenant), | ||
}); | ||
processContext._eventQueue = { processor: this, key, queueEntries, payload }; | ||
@@ -29,0 +33,0 @@ await cds.unboxed(service).tx(processContext)[invocationFn](msg); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
168768
4187