@onlineapps/conn-infra-mq 1.1.38 → 1.1.39

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": "@onlineapps/conn-infra-mq",
3
- "version": "1.1.38",
3
+ "version": "1.1.39",
4
4
  "description": "A promise-based, broker-agnostic client for sending and receiving messages via RabbitMQ",
5
5
  "main": "src/index.js",
6
6
  "repository": {
@@ -266,7 +266,7 @@ class QueueManager {
266
266
  console.error('[RabbitMQClient] Close reason:', channel._closeReason || 'Unknown');
267
267
  });
268
268
 
269
- transport.queueChannel = channel;
269
+ transport._queueChannel = channel;
270
270
  console.log(`[QueueManager] DEBUG: Channel recreated (was null) before ${queueInfo.name}`);
271
271
  } else {
272
272
  // Check if channel is closed - amqplib may not set closed property immediately
@@ -305,7 +305,7 @@ class QueueManager {
305
305
  });
306
306
 
307
307
  channel = newChannel;
308
- transport.queueChannel = channel;
308
+ transport._queueChannel = channel;
309
309
  console.log(`[QueueManager] DEBUG: Channel recreated (check failed) before ${queueInfo.name}`);
310
310
  channelUsable = true;
311
311
  } catch (recreateErr) {