@cap-js-community/event-queue 1.10.10 → 1.10.11

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/config.js +1 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cap-js-community/event-queue",
3
- "version": "1.10.10",
3
+ "version": "1.10.11",
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
@@ -196,9 +196,7 @@ class Config {
196
196
  result = config.value.test(this.#env.applicationName);
197
197
  } else {
198
198
  const shouldBeProcessedBasedOnAppName = appNameConfig[this.#env.applicationName];
199
- if (!shouldBeProcessedBasedOnAppName) {
200
- result = config.value === this.#env.applicationName;
201
- }
199
+ result = !!shouldBeProcessedBasedOnAppName;
202
200
  }
203
201
  if (result) {
204
202
  break;