@ikonintegration/ikapi 2.6.5-beta3 → 2.6.6

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": "2.6.5-beta3",
3
+ "version": "2.6.6",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "main.js",
@@ -110,8 +110,10 @@ export default class IKCache_Redis extends IKCache {
110
110
  //
111
111
  const connection = redis.createClient({
112
112
  ...(isV4 ? {
113
- username: this.config.user, url: this.config.host,
114
- ...(this.config.enableTLS ? { socket: { tls: true } } /* https://docs.upstash.com/howto/connectwithtls */ : {})
113
+ username: this.config.user,
114
+ socket: {
115
+ ...(this.config.enableTLS ? { tls: true } : {}), host: this.config.host
116
+ }
115
117
  } : {
116
118
  host: this.config.host, user: this.config.user,
117
119
  ...(this.config.enableTLS ? { tls: {} } /* https://docs.upstash.com/howto/connectwithtls */ : {})