@tiledesk/tiledesk-tybot-connector 0.2.138-rc7 → 0.2.138-rc8

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
@@ -17,6 +17,10 @@ available on:
17
17
  - Added flowError on JSONCondition when result = null
18
18
  - Added fix on Filler -->
19
19
 
20
+ # v0.2.138-rc8
21
+ - Updated redis to 4.7.0
22
+ - Updated tdCache
23
+
20
24
  # v0.2.138-rc6
21
25
  - First deploy external
22
26
 
package/TdCache.js CHANGED
@@ -21,10 +21,10 @@ class TdCache {
21
21
  * Connect redis client
22
22
  */
23
23
  this.client = redis.createClient(
24
- {
25
- url: `redis://${this.redis_host}:${this.redis_port}`,
26
- password: this.redis_password
27
- });
24
+ {
25
+ url: `redis://${this.redis_host}:${this.redis_port}`,
26
+ password: this.redis_password
27
+ });
28
28
  this.client.on('error', err => {
29
29
  reject(err);
30
30
  if (callback) {
package/index.js CHANGED
@@ -4,7 +4,7 @@ const bodyParser = require('body-parser');
4
4
  const { TiledeskClient } = require('@tiledesk/tiledesk-client');
5
5
  const { ExtApi } = require('./ExtApi.js');
6
6
  const { ExtUtil } = require('./ExtUtil.js');
7
- const { TdCache } = require('./TdCache_v3.js');
7
+ const { TdCache } = require('./TdCache.js');
8
8
  const { TiledeskChatbot } = require('./models/TiledeskChatbot.js');
9
9
  const { MongodbBotsDataSource } = require('./models/MongodbBotsDataSource.js');
10
10
  // const { MongodbIntentsMachine } = require('./models/MongodbIntentsMachine.js');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-tybot-connector",
3
- "version": "0.2.138-rc7",
3
+ "version": "0.2.138-rc8",
4
4
  "description": "Tiledesk Tybot connector",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -29,7 +29,7 @@
29
29
  "mongoose": "^6.3.5",
30
30
  "multer": "^1.4.5-lts.1",
31
31
  "nanoid": "^3.1.25",
32
- "redis": "^3.1.2",
32
+ "redis": "^4.7.0",
33
33
  "uuid": "^3.3.3",
34
34
  "vm2": "^3.9.13"
35
35
  },