@ikonintegration/ikapi 4.0.0-alpha6 → 4.0.0-alpha8
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
|
@@ -105,8 +105,8 @@ export default class IKCache_Redis extends IKCache {
|
|
|
105
105
|
|
|
106
106
|
//Instantiate client and initiate connection
|
|
107
107
|
return new Promise(async (resolve, reject) => {
|
|
108
|
-
const redis =
|
|
109
|
-
const isV4 = this._isRedisClientV4();
|
|
108
|
+
const redis = await import("redis");
|
|
109
|
+
const isV4 = await this._isRedisClientV4();
|
|
110
110
|
//
|
|
111
111
|
const connection = redis.createClient({
|
|
112
112
|
...(isV4 ? {
|