@tiledesk/tiledesk-tybot-connector 2.0.14 → 2.0.15-rc1

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/CHANGELOG.md CHANGED
@@ -5,8 +5,6 @@
5
5
  available on:
6
6
  ▶️ https://www.npmjs.com/package/@tiledesk/tiledesk-tybot-connector
7
7
 
8
- # 2.0.9
9
-
10
8
  # 2.0.9-rc1
11
9
  - removed: speech-to-text management
12
10
 
@@ -20,6 +18,8 @@ available on:
20
18
 
21
19
  # v0.5.0
22
20
  - added: AI_ENDPOINT env var
21
+
22
+ # v0.5.0-rc1
23
23
  - added: ability to get 'none' as bodytype in webresponse
24
24
 
25
25
  # v0.4.2
@@ -34,6 +34,19 @@ available on:
34
34
  - changed: refactoring of DIrWebRequestv2
35
35
  - bug-fixed: erro while parsing webrequestv2 body
36
36
 
37
+ # v0.3.5-rc4
38
+ - added: webhook action (same as intent one)
39
+
40
+ # v0.3.5-rc3
41
+ - bug-fixed: jsonBody parse error in web-request-v2
42
+
43
+ # v0.3.5-rc2
44
+ - bug-fixed: cannot set status of undefined reading res.status in DirAssistant
45
+
46
+ # v0.3.5-rc1
47
+ - changed: refactoring web-request-v2
48
+ - bug-fixed: jsonBody parse error in web-request-v2
49
+
37
50
  # v0.3.4
38
51
  -bug-fixed: slit is undefined in TiledeskChatbotUtils
39
52
 
@@ -43,6 +56,18 @@ available on:
43
56
  # v0.3.2
44
57
  - bug-fixed: minor improvement
45
58
 
59
+ # v0.2.153-rc9
60
+ - changed: updated tiledesk-multi-worker to 0.2.1-rc2
61
+
62
+ # v0.2.153-rc8
63
+ - added: fixToken function in TiledeskService utils class
64
+
65
+ # v0.2.153-rc4
66
+ - log added
67
+
68
+ # v0.2.153-rc3
69
+ - added: specchToText function to transcript audio file
70
+
46
71
  # v0.2.153-rc1
47
72
  - changed: context for gpt-40 and gpt-40-mini
48
73
 
package/Logger.js CHANGED
@@ -12,6 +12,8 @@ let publisher = new Publisher(AMQP_MANAGER_URL, {
12
12
  exchange: "amq.topic"
13
13
  })
14
14
 
15
+ console.log("LOGGER publisher: ", publisher);
16
+
15
17
  class Logger {
16
18
 
17
19
  constructor(config) {
@@ -87,6 +89,7 @@ class Logger {
87
89
  }
88
90
 
89
91
  let topic = LOGS_BASE_ROUTING_KEY + `.${this.request_id}`;
92
+ console.log("LOGGER publishing on topic ", topic)
90
93
  publisher.publish(data, topic);
91
94
  return;
92
95
  }
@@ -24,8 +24,7 @@ class MockBotsDataSource {
24
24
  }catch(err){
25
25
  reject(err);
26
26
  }
27
-
28
- })
27
+ })
29
28
  }
30
29
 
31
30
  async getBotByIdCache(botId, tdcache) {
package/index.js CHANGED
@@ -98,6 +98,9 @@ router.post('/ext/:botid', async (req, res) => {
98
98
  Promise.reject(err);
99
99
  return;
100
100
  });
101
+
102
+ winston.debug("(tybotRoute) Bot found: ", bot)
103
+
101
104
 
102
105
  let intentsMachine;
103
106
  let backupMachine;