@ikonintegration/ikapi 4.0.0-alpha6 → 4.0.0-alpha7

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": "4.0.0-alpha6",
3
+ "version": "4.0.0-alpha7",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "main.js",
@@ -105,7 +105,7 @@ 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 = require("redis");
108
+ const redis = await import("redis");
109
109
  const isV4 = this._isRedisClientV4();
110
110
  //
111
111
  const connection = redis.createClient({