@ikonintegration/ikapi 3.1.31 → 3.1.32
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.
|
|
3
|
+
"version": "3.1.32",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "main.js",
|
|
@@ -11,12 +11,12 @@
|
|
|
11
11
|
"author": "",
|
|
12
12
|
"license": "ISC",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@aws-sdk/client-dynamodb": "
|
|
15
|
-
"@aws-sdk/client-ses": "
|
|
16
|
-
"@aws-sdk/client-sns": "
|
|
17
|
-
"@aws-sdk/credential-provider-node": "
|
|
18
|
-
"@aws-sdk/node-http-handler": "
|
|
19
|
-
"@aws-sdk/util-dynamodb": "
|
|
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
20
|
"@ikonintegration/mod-resources-tracker-client": "0.0.18",
|
|
21
21
|
"abind": "^1.0.5",
|
|
22
22
|
"bluebird": "^3.7.2",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"is-uuid": "^1.0.2",
|
|
27
27
|
"json-stringify-safe": "^5.0.1",
|
|
28
28
|
"ksuid": "^3.0.0",
|
|
29
|
-
"nodemailer": "^6.
|
|
29
|
+
"nodemailer": "^6.8.0",
|
|
30
30
|
"path-to-regexp": "^6.2.0",
|
|
31
|
-
"pg": "^8.
|
|
31
|
+
"pg": "^8.8.0",
|
|
32
32
|
"sha1": "^1.1.1",
|
|
33
33
|
"stack-trace": "0.0.10",
|
|
34
34
|
"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 {
|
|
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,
|