@tiledesk/tiledesk-server 2.14.27 → 2.14.29

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.
@@ -14,7 +14,7 @@ jobs:
14
14
  steps:
15
15
  - uses: actions/checkout@v2
16
16
  name: Check out the repo
17
- - uses: docker/build-push-action@v1
17
+ - uses: docker/build-push-action@v4
18
18
  with:
19
19
  username: ${{ secrets.DOCKERHUB_USERNAME }}
20
20
  password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -14,7 +14,7 @@ jobs:
14
14
  steps:
15
15
  - uses: actions/checkout@v2
16
16
  name: Check out the repo
17
- - uses: docker/build-push-action@v1
17
+ - uses: docker/build-push-action@v4
18
18
  with:
19
19
  username: ${{ secrets.DOCKERHUB_USERNAME }}
20
20
  password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -14,7 +14,7 @@ jobs:
14
14
  steps:
15
15
  - uses: actions/checkout@v2
16
16
  name: Check out the repo
17
- - uses: docker/build-push-action@v1
17
+ - uses: docker/build-push-action@v4
18
18
  with:
19
19
  username: ${{ secrets.DOCKERHUB_USERNAME }}
20
20
  password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -13,7 +13,7 @@ jobs:
13
13
  - name: Check out the repo
14
14
  uses: actions/checkout@v2
15
15
  - name: Push to Docker Hub
16
- uses: docker/build-push-action@v1
16
+ uses: docker/build-push-action@v4
17
17
  with:
18
18
  username: ${{ secrets.DOCKERHUB_USERNAME }}
19
19
  password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -13,7 +13,7 @@ jobs:
13
13
  - name: Check out the repo
14
14
  uses: actions/checkout@v2
15
15
  - name: Push to Docker Hub
16
- uses: docker/build-push-action@v1
16
+ uses: docker/build-push-action@v4
17
17
  with:
18
18
  username: ${{ secrets.DOCKERHUB_USERNAME }}
19
19
  password: ${{ secrets.DOCKERHUB_TOKEN }}
@@ -14,7 +14,7 @@ jobs:
14
14
  steps:
15
15
  - uses: actions/checkout@v2
16
16
  name: Check out the repo
17
- - uses: docker/build-push-action@v1
17
+ - uses: docker/build-push-action@v4
18
18
  with:
19
19
  username: ${{ secrets.DOCKER_USERNAME }}
20
20
  password: ${{ secrets.DOCKER_PASSWORD }}
package/CHANGELOG.md CHANGED
@@ -5,7 +5,10 @@
5
5
  🚀 IN PRODUCTION 🚀
6
6
  (https://www.npmjs.com/package/@tiledesk/tiledesk-server/v/2.3.77)
7
7
 
8
- # 2.14.27
8
+ # 2.15.0
9
+ - Updated whatsapp-connector to 1.0.23
10
+
11
+ # 2.14.28
9
12
  - Add audio MIME type equivalences for MPEG, MP3, and Opus formats
10
13
 
11
14
  # 2.14.26
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tiledesk/tiledesk-server",
3
3
  "description": "The Tiledesk server module",
4
- "version": "2.14.27",
4
+ "version": "2.14.29",
5
5
  "scripts": {
6
6
  "start": "node ./bin/www",
7
7
  "pretest": "mongodb-runner start",
@@ -52,7 +52,7 @@
52
52
  "@tiledesk/tiledesk-tybot-connector": "^2.0.44",
53
53
  "@tiledesk/tiledesk-voice-twilio-connector": "^0.1.28",
54
54
  "@tiledesk/tiledesk-vxml-connector": "^0.1.89",
55
- "@tiledesk/tiledesk-whatsapp-connector": "1.0.22",
55
+ "@tiledesk/tiledesk-whatsapp-connector": "1.0.23",
56
56
  "@tiledesk/tiledesk-whatsapp-jobworker": "^0.0.13",
57
57
  "amqplib": "^0.5.5",
58
58
  "app-root-path": "^3.0.0",
@@ -45,7 +45,7 @@ function logInvalidToken(req, err) {
45
45
  const cacheKey = `${ip}_${req.url}`;
46
46
  const lastLog = invalidTokenCache.get(cacheKey);
47
47
 
48
- if (!lastLog || now - lastLog > 60000) {
48
+ if (!lastLog || now - lastLog > 3600000) {
49
49
  invalidTokenCache.set(cacheKey, now);
50
50
  console.warn('[⚠️ INVALID WS TOKEN]', {
51
51
  ip,