@resolveio/server-lib 5.2.27 → 5.2.28

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.
@@ -351,6 +351,7 @@ var SubscriptionManager = /** @class */ (function () {
351
351
  switch (_a.label) {
352
352
  case 0:
353
353
  that = this;
354
+ if (!ws) return [3 /*break*/, 3];
354
355
  return [4 /*yield*/, logged_in_users_collection_1.LoggedInUsers.findOne({ id_ws: ws['id_socket'] })];
355
356
  case 1:
356
357
  loggedInUser = _a.sent();
@@ -394,7 +395,8 @@ var SubscriptionManager = /** @class */ (function () {
394
395
  }
395
396
  });
396
397
  ws.terminate();
397
- return [2 /*return*/];
398
+ _a.label = 3;
399
+ case 3: return [2 /*return*/];
398
400
  }
399
401
  });
400
402
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "5.2.27",
3
+ "version": "5.2.28",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {