@cap-js-community/event-queue 2.0.0-beta.1 → 2.0.0-beta.2
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 +1 -1
- package/src/config.js +1 -6
- package/src/initialize.js +0 -1
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.2",
|
|
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",
|
package/src/config.js
CHANGED
|
@@ -105,7 +105,6 @@ class Config {
|
|
|
105
105
|
#unsubscribedTenants = {};
|
|
106
106
|
#cronTimezone;
|
|
107
107
|
#randomOffsetPeriodicEvents;
|
|
108
|
-
#redisNamespace;
|
|
109
108
|
#crashOnRedisUnavailable;
|
|
110
109
|
#tenantIdFilterAuthContextCb;
|
|
111
110
|
#tenantIdFilterEventProcessingCb;
|
|
@@ -785,12 +784,8 @@ class Config {
|
|
|
785
784
|
};
|
|
786
785
|
}
|
|
787
786
|
|
|
788
|
-
set redisNamespace(value) {
|
|
789
|
-
this.#redisNamespace = value;
|
|
790
|
-
}
|
|
791
|
-
|
|
792
787
|
get redisNamespace() {
|
|
793
|
-
return `${[REDIS_PREFIX, this.#
|
|
788
|
+
return `${[REDIS_PREFIX, this.#namespace].filter((a) => a).join("##")}`;
|
|
794
789
|
}
|
|
795
790
|
|
|
796
791
|
set insertEventsBeforeCommit(value) {
|
package/src/initialize.js
CHANGED