@autofleet/rabbit 3.4.0-beta.8 → 3.4.0-beta.9

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
@@ -209,15 +209,15 @@ class RabbitMq {
209
209
  this.oldPublishConnection = {
210
210
  connection: null,
211
211
  creatingConnection: false,
212
- connectionCreatedEventName: 'publishConnectionCreated',
213
- connectionFailedEventName: 'publishConnectionFailed',
212
+ connectionCreatedEventName: 'oldPublishConnectionCreated',
213
+ connectionFailedEventName: 'oldPublishConnectionFailed',
214
214
  blockReconnect: false,
215
215
  };
216
216
  this.oldConsumeConnection = {
217
217
  connection: null,
218
218
  creatingConnection: false,
219
- connectionCreatedEventName: 'consumeConnectionCreated',
220
- connectionFailedEventName: 'consumeConnectionFailed',
219
+ connectionCreatedEventName: 'oldConsumeConnectionCreated',
220
+ connectionFailedEventName: 'oldConsumeConnectionFailed',
221
221
  blockReconnect: false,
222
222
  };
223
223
  this.oldCreatingConnection = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autofleet/rabbit",
3
- "version": "3.4.0-beta.8",
3
+ "version": "3.4.0-beta.9",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
package/src/index.ts CHANGED
@@ -258,15 +258,15 @@ class RabbitMq implements IAfRabbitMq {
258
258
  this.oldPublishConnection = {
259
259
  connection: null,
260
260
  creatingConnection: false,
261
- connectionCreatedEventName: 'publishConnectionCreated',
262
- connectionFailedEventName: 'publishConnectionFailed',
261
+ connectionCreatedEventName: 'oldPublishConnectionCreated',
262
+ connectionFailedEventName: 'oldPublishConnectionFailed',
263
263
  blockReconnect: false,
264
264
  };
265
265
  this.oldConsumeConnection = {
266
266
  connection: null,
267
267
  creatingConnection: false,
268
- connectionCreatedEventName: 'consumeConnectionCreated',
269
- connectionFailedEventName: 'consumeConnectionFailed',
268
+ connectionCreatedEventName: 'oldConsumeConnectionCreated',
269
+ connectionFailedEventName: 'oldConsumeConnectionFailed',
270
270
  blockReconnect: false,
271
271
  };
272
272
  this.oldCreatingConnection = false;