@sebspark/promise-cache 0.2.4 → 0.2.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/dist/index.js CHANGED
@@ -63,8 +63,9 @@ var LocalStorage = class {
63
63
  return Promise.resolve(this);
64
64
  }
65
65
  };
66
+ var localStorage = new LocalStorage();
66
67
  var createLocalMemoryClient = () => {
67
- return new LocalStorage();
68
+ return localStorage;
68
69
  };
69
70
 
70
71
  // src/persistor.ts
package/dist/index.mjs CHANGED
@@ -35,8 +35,9 @@ var LocalStorage = class {
35
35
  return Promise.resolve(this);
36
36
  }
37
37
  };
38
+ var localStorage = new LocalStorage();
38
39
  var createLocalMemoryClient = () => {
39
- return new LocalStorage();
40
+ return localStorage;
40
41
  };
41
42
 
42
43
  // src/persistor.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sebspark/promise-cache",
3
- "version": "0.2.4",
3
+ "version": "0.2.6",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -17,6 +17,6 @@
17
17
  "tsconfig": "*"
18
18
  },
19
19
  "dependencies": {
20
- "redis": "^4.6.13"
20
+ "redis": "4.6.12"
21
21
  }
22
22
  }