@resolveio/server-lib 4.4.6 → 4.4.8

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.
@@ -510,22 +510,16 @@ var SubscriptionManager = /** @class */ (function () {
510
510
  var _this = this;
511
511
  var that = this;
512
512
  setInterval(function () { return __awaiter(_this, void 0, void 0, function () {
513
- var oplogQueue, uniquePubs, uniqueOplog_1, needIds_1, _loop_3, i, i, oplog, _loop_4, j, state_1;
513
+ var uniqueOplog_1, uniquePubs, needIds_1, _loop_3, i, i, oplog, _loop_4, j, state_1;
514
514
  var _this = this;
515
515
  return __generator(this, function (_a) {
516
516
  switch (_a.label) {
517
517
  case 0:
518
518
  if (!this._oplogQueue.length) return [3 /*break*/, 11];
519
- oplogQueue = common_1.deepCopy(this._oplogQueue);
519
+ uniqueOplog_1 = common_1.deepCopy(this._oplogQueue);
520
520
  this._oplogQueue = [];
521
521
  uniquePubs = [];
522
- uniqueOplog_1 = [];
523
522
  needIds_1 = {};
524
- oplogQueue.forEach(function (oplog) {
525
- if (!uniqueOplog_1.filter(function (a) { return JSON.stringify(a) === JSON.stringify(oplog); }).length) {
526
- uniqueOplog_1.push(oplog);
527
- }
528
- });
529
523
  uniqueOplog_1.forEach(function (oplog) {
530
524
  var schemaErrors = null;
531
525
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "4.4.6",
3
+ "version": "4.4.8",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {