@autofleet/rabbit 3.2.25-beta.0 → 3.2.25-beta.100

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/dist/index.js CHANGED
@@ -230,7 +230,7 @@ class RabbitMq {
230
230
  logger_1.default.error(`rabbit: error on get connection for new channel ${name} `, { e });
231
231
  throw e;
232
232
  }
233
- const channel = connection.createChannel({ ...options });
233
+ const channel = connection.createChannel({ ...options, confirm: false });
234
234
  (0, events_1.once)(channel, 'close').then((args) => {
235
235
  logger_1.default.error(`rabbit: channel ${name} closed`);
236
236
  onClose?.(args);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autofleet/rabbit",
3
- "version": "3.2.25-beta.0",
3
+ "version": "3.2.25-beta.100",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
package/src/index.ts CHANGED
@@ -364,7 +364,7 @@ class RabbitMq implements IAfRabbitMq {
364
364
  logger.error(`rabbit: error on get connection for new channel ${name} `, { e });
365
365
  throw e;
366
366
  }
367
- const channel = connection.createChannel({ ...options });
367
+ const channel = connection.createChannel({ ...options, confirm: false });
368
368
  once(channel, 'close').then((args) => {
369
369
  logger.error(`rabbit: channel ${name} closed`);
370
370
  onClose?.(args);