message-brokers 1.5.0 → 1.5.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/README.md CHANGED
@@ -130,4 +130,7 @@ messageBrokers.publishHarStub(har_stub);
130
130
 
131
131
  // Publish raw_queue
132
132
  messageBrokers.publishRawQueue(raw_queue);
133
+
134
+ // Publish notification_messages_logs
135
+ messageBrokers.publishNotificationMessagesLogs(notification_messages_logs);
133
136
  ```
@@ -29,7 +29,7 @@ RabbitMQHelper.initializePubSub = async () => {
29
29
  });
30
30
  await exchangeLogger(exchangeName);
31
31
  for (const queueConfig of mq.queueConfigList) {
32
- if (process.env.DATACLOAK_DISABLE && queueConfig.queueName === "datacloak.queue") {
32
+ if (process.env.DATACLOAK_DISABLE === "true" && queueConfig.queueName.startsWith("datacloak.queue")) {
33
33
  console.log(`Skipping queue ${queueConfig.queueName} initialization due to DATACLOAK_DISABLE environment variable.`);
34
34
  continue;
35
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "message-brokers",
3
- "version": "1.5.0",
3
+ "version": "1.5.2",
4
4
  "description": "This package contains functions to publish the messages into the message brokers like rabbitmq.",
5
5
  "main": "lib/message-brokers.js",
6
6
  "types": "lib/types/message-brokers.d.ts",