@resolveio/server-lib 5.1.6 → 5.1.7

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.
@@ -507,7 +507,7 @@ var SubscriptionManager = /** @class */ (function () {
507
507
  var _this = this;
508
508
  var that = this;
509
509
  setInterval(function () { return __awaiter(_this, void 0, void 0, function () {
510
- var uniqueOplog_1, uniquePubs, needIds_1, _loop_2, i, _loop_3, i, i, oplog, _loop_4, j, state_1;
510
+ var uniqueOplog_1, uniquePubs, needIds_1, _loop_2, i, _loop_3, i, i, oplog, _loop_4, j;
511
511
  var _this = this;
512
512
  return __generator(this, function (_a) {
513
513
  switch (_a.label) {
@@ -600,7 +600,7 @@ var SubscriptionManager = /** @class */ (function () {
600
600
  else {
601
601
  uniqueOplog_1.splice(i, 1);
602
602
  }
603
- return [2 /*return*/, "break"];
603
+ return [2 /*return*/, "continue"];
604
604
  }
605
605
  }
606
606
  if (!that._publications[sub.publication].preFunction) return [3 /*break*/, 2];
@@ -616,7 +616,7 @@ var SubscriptionManager = /** @class */ (function () {
616
616
  else {
617
617
  uniqueOplog_1.splice(i, 1);
618
618
  }
619
- return [2 /*return*/, "break"];
619
+ return [2 /*return*/, "continue"];
620
620
  }
621
621
  return [3 /*break*/, 3];
622
622
  case 2:
@@ -629,7 +629,7 @@ var SubscriptionManager = /** @class */ (function () {
629
629
  else {
630
630
  uniqueOplog_1.splice(i, 1);
631
631
  }
632
- return [2 /*return*/, "break"];
632
+ return [2 /*return*/, "continue"];
633
633
  }
634
634
  }
635
635
  else {
@@ -640,7 +640,7 @@ var SubscriptionManager = /** @class */ (function () {
640
640
  else {
641
641
  uniqueOplog_1.splice(i, 1);
642
642
  }
643
- return [2 /*return*/, "break"];
643
+ return [2 /*return*/, "continue"];
644
644
  }
645
645
  _c.label = 3;
646
646
  case 3: return [2 /*return*/];
@@ -653,9 +653,7 @@ var SubscriptionManager = /** @class */ (function () {
653
653
  if (!(j < that._subscriptions.length)) return [3 /*break*/, 9];
654
654
  return [5 /*yield**/, _loop_4(j)];
655
655
  case 7:
656
- state_1 = _a.sent();
657
- if (state_1 === "break")
658
- return [3 /*break*/, 9];
656
+ _a.sent();
659
657
  _a.label = 8;
660
658
  case 8:
661
659
  j++;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "5.1.6",
3
+ "version": "5.1.7",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {