@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.
@@ -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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eleven-am/pondsocket",
3
- "version": "0.1.180",
3
+ "version": "0.1.181",
4
4
  "description": "PondSocket is a fast simple socket server",
5
5
  "keywords": [
6
6
  "socket",