@tiledesk/tiledesk-tybot-connector 2.0.2 → 2.0.3

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/Logger.js CHANGED
@@ -23,12 +23,12 @@ class Logger {
23
23
  }
24
24
 
25
25
  if (!FLOW_LOGS_ENABLED || FLOW_LOGS_ENABLED === false || FLOW_LOGS_ENABLED === 'false') {
26
- console.warn("(Logger) Flow logs disabled");
26
+ //console.warn("(Logger) Flow logs disabled");
27
27
  this._disableMethods();
28
28
  }
29
29
 
30
30
  if (!AMQP_MANAGER_URL) {
31
- console.warn("(Logger) No AQMP Manager url provided. Flow logs disabled");
31
+ //console.warn("(Logger) No AQMP Manager url provided. Flow logs disabled");
32
32
  this._disableMethods();
33
33
  }
34
34
 
@@ -68,7 +68,7 @@ class Logger {
68
68
 
69
69
  base(level, text) {
70
70
  if (!this.request_id || !publisher) {
71
- console.log("Return because request or publisher is undefined", this.request_id, publisher);
71
+ //console.log("Return because request or publisher is undefined", this.request_id, publisher);
72
72
  return;
73
73
  }
74
74
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-tybot-connector",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -18,7 +18,6 @@ class DirReply {
18
18
  this.token = context.token;
19
19
  this.tdcache = context.tdcache;
20
20
  this.log = context.log;
21
- console.log("is draft request: ", this.context.supportRequest.draft);
22
21
  this.logger = new Logger({ request_id: this.requestId, dev: this.context.supportRequest.draft });
23
22
 
24
23
  this.API_ENDPOINT = context.API_ENDPOINT;