@ikonintegration/ikapi 3.1.31 → 3.1.33

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.1.31",
3
+ "version": "3.1.33",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "main.js",
@@ -11,12 +11,13 @@
11
11
  "author": "",
12
12
  "license": "ISC",
13
13
  "dependencies": {
14
- "@aws-sdk/client-dynamodb": "^3.145.0",
15
- "@aws-sdk/client-ses": "^3.145.0",
16
- "@aws-sdk/client-sns": "^3.145.0",
17
- "@aws-sdk/credential-provider-node": "^3.145.0",
18
- "@aws-sdk/node-http-handler": "^3.127.0",
19
- "@aws-sdk/util-dynamodb": "^3.145.0",
14
+ "@aws-sdk/client-dynamodb": "3.190.0",
15
+ "@aws-sdk/client-ses": "3.190.0",
16
+ "@aws-sdk/client-sns": "3.190.0",
17
+ "@aws-sdk/credential-provider-node": "3.190.0",
18
+ "@aws-sdk/node-http-handler": "3.190.0",
19
+ "@aws-sdk/util-dynamodb": "3.190.0",
20
+ "@aws-sdk/util-endpoints": "3.190.0",
20
21
  "@ikonintegration/mod-resources-tracker-client": "0.0.18",
21
22
  "abind": "^1.0.5",
22
23
  "bluebird": "^3.7.2",
@@ -26,9 +27,9 @@
26
27
  "is-uuid": "^1.0.2",
27
28
  "json-stringify-safe": "^5.0.1",
28
29
  "ksuid": "^3.0.0",
29
- "nodemailer": "^6.7.1",
30
+ "nodemailer": "^6.8.0",
30
31
  "path-to-regexp": "^6.2.0",
31
- "pg": "^8.7.1",
32
+ "pg": "^8.8.0",
32
33
  "sha1": "^1.1.1",
33
34
  "stack-trace": "0.0.10",
34
35
  "superstruct": "0.8.4"
@@ -81,7 +81,7 @@ export default class IKCache_Redis extends IKCache {
81
81
  }
82
82
  _isRedisClientV4() {
83
83
  let isV4 = false;
84
- try { isV4 = !!require('redis').createCluster; }
84
+ try { isV4 = !!require('redis').createCluster; }
85
85
  catch (e) { }
86
86
  return isV4;
87
87
  }
@@ -109,7 +109,8 @@ export default class IKCache_Redis extends IKCache {
109
109
  ...(isV4 ? {
110
110
  username: this.config.user,
111
111
  socket: {
112
- ...(this.config.enableTLS ? { tls: true } : {}), host: this.config.host
112
+ ...(this.config.enableTLS ? { tls: true } : {}), host: this.config.host,
113
+ connectTimeout: 10000, reconnectStrategy: (retries) => retries <= 2 ? 1000 : new Error('Redis max connection attempts reached!')
113
114
  }
114
115
  } : {
115
116
  host: this.config.host, user: this.config.user,