@ikonintegration/ikapi 3.0.3 → 3.0.4

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": "@ikonintegration/ikapi",
3
- "version": "3.0.3",
3
+ "version": "3.0.4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "main.js",
@@ -80,7 +80,7 @@ export default class IKLogger {
80
80
  if (Utils.isOffline()) {
81
81
  return ` [${this._timestamp()} - ${LOG_STRINGS[level]}] [${caller}] ${msg.join(" ")}`;
82
82
  } else if (Utils.isIKAPIGateway() && this._transactionID) {
83
- return (isRaw ? '' : ` ${this._transactionID}`) + ` [${LOG_STRINGS[level]}] [${caller}] ${msg.join(" ")}`;
83
+ return (isRaw ? '' : ` ${this._transactionID}`) + ` [${LOG_STRINGS[level]}] [${caller}] ${this._supressSensitiveInfo(msg.join(" "))}`;
84
84
  } else {
85
85
  return ` [${LOG_STRINGS[level]}] [${caller}] ${msg.join(" ")}`;
86
86
  }
@@ -108,7 +108,7 @@ export default class IKLogger {
108
108
  _pushLog(level, fMsg) {
109
109
  // push into logs stack
110
110
  // this._logs.push(fMsg);
111
- DEFAULT_LOG_FUNCTION.apply(PURE_CONSOLE, [this._supressSensitiveInfo(fMsg)]);
111
+ DEFAULT_LOG_FUNCTION.apply(PURE_CONSOLE, [fMsg]);
112
112
  }
113
113
  /* Sensitive information handling */
114
114
  _supressSensitiveInfo(value) {