@sebspark/promise-cache 2.0.9 → 2.0.10
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 +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -104,8 +104,9 @@ var Persistor = class {
|
|
|
104
104
|
async startConnection() {
|
|
105
105
|
try {
|
|
106
106
|
await new Promise((resolve, reject) => {
|
|
107
|
+
var _a;
|
|
107
108
|
this.client = CACHE_CLIENT({
|
|
108
|
-
|
|
109
|
+
url: (_a = this.redis) == null ? void 0 : _a.url,
|
|
109
110
|
socket: {
|
|
110
111
|
reconnectStrategy: (retries, cause) => {
|
|
111
112
|
console.error(cause);
|
package/dist/index.mjs
CHANGED
|
@@ -75,8 +75,9 @@ var Persistor = class {
|
|
|
75
75
|
async startConnection() {
|
|
76
76
|
try {
|
|
77
77
|
await new Promise((resolve, reject) => {
|
|
78
|
+
var _a;
|
|
78
79
|
this.client = CACHE_CLIENT({
|
|
79
|
-
|
|
80
|
+
url: (_a = this.redis) == null ? void 0 : _a.url,
|
|
80
81
|
socket: {
|
|
81
82
|
reconnectStrategy: (retries, cause) => {
|
|
82
83
|
console.error(cause);
|