@platform-x/hep-message-broker-client 1.1.8 → 1.1.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.
@@ -154,7 +154,8 @@ class MessageBroker {
154
154
  configManager.loadConfig(RABBITMQ === null || RABBITMQ === void 0 ? void 0 : RABBITMQ.CONFIG_PATH);
155
155
  const secret = yield (0, __1.getIAMSecrets)();
156
156
  let url = `amqp://${secret === null || secret === void 0 ? void 0 : secret[constants_1.SECRET_KEYS.RABBITMQ_USER]}:${secret === null || secret === void 0 ? void 0 : secret[constants_1.SECRET_KEYS.RABBITMQ_PASS]}@${RABBITMQ === null || RABBITMQ === void 0 ? void 0 : RABBITMQ.HOST}`;
157
- // console.log(SECRET_KEYS.RABBITMQ_USER, SECRET_KEYS.RABBITMQ_PASS);
157
+ logger_1.Logger.info(`${constants_1.SECRET_KEYS.RABBITMQ_USER}, ${constants_1.SECRET_KEYS.RABBITMQ_PASS}, ${RABBITMQ === null || RABBITMQ === void 0 ? void 0 : RABBITMQ.HOST}, ${url}`, 'createConnection');
158
+ logger_1.Logger.info(secret, 'createConnection');
158
159
  // const url = `amqp://${RABBITMQ.USER}:${RABBITMQ.PASS}@${RABBITMQ.HOST}:${RABBITMQ.PORT}`;
159
160
  this.connection = yield amqp.connect(url, { heartbeat: RABBITMQ.HEARTBEAT });
160
161
  this.channel = yield this.connection.createConfirmChannel();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platform-x/hep-message-broker-client",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "platform-x hep-message-broker service",
5
5
  "main": "./dist/src/index.js",
6
6
  "scripts": {