@resolveio/server-lib 5.0.10 → 5.0.11

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.
@@ -549,7 +549,9 @@ var SubscriptionManager = /** @class */ (function () {
549
549
  docs = _a.sent();
550
550
  needIds_1[collection].forEach(function (id_doc) {
551
551
  if (uniqueOplog_1.filter(function (a) { return a.doc && a.doc._id === id_doc; })[0]) {
552
- uniqueOplog_1.filter(function (a) { return a.doc && a.doc._id === id_doc; })[0].doc = docs.filter(function (a) { return a._id === id_doc; })[0];
552
+ uniqueOplog_1.filter(function (a) { return a.doc && a.doc._id === id_doc; }).forEach(function (op) {
553
+ op.doc = docs.filter(function (a) { return a._id === id_doc; })[0];
554
+ });
553
555
  }
554
556
  else {
555
557
  console.log('PROBLEMAAAAAAAA');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "5.0.10",
3
+ "version": "5.0.11",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {