@eleven-am/pondsocket 0.1.180 → 0.1.181
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/abstracts/redisClient.js +1 -1
- package/package.json +1 -1
package/abstracts/redisClient.js
CHANGED
|
@@ -261,7 +261,7 @@ _RedisClient_heartbeatInterval = new WeakMap(), _RedisClient_cleanupInterval = n
|
|
|
261
261
|
return unique_pairs_list
|
|
262
262
|
`;
|
|
263
263
|
const [response] = yield __classPrivateFieldGet(this, _RedisClient_redisClient, "f").eval(consistencyCheckScript, 0);
|
|
264
|
-
const uniquePairs = Array.isArray(response) ? response : [response];
|
|
264
|
+
const uniquePairs = Array.isArray(response) ? response : response ? [response] : [];
|
|
265
265
|
const promises = uniquePairs.map((pair) => {
|
|
266
266
|
const [endpointId, channelId] = pair.split(':');
|
|
267
267
|
return __classPrivateFieldGet(this, _RedisClient_instances, "m", _RedisClient_emitStateSyncEvent).call(this, endpointId, channelId);
|