@resolveio/server-lib 2.0.6 → 2.1.0

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.
@@ -424,7 +424,7 @@ var SubscriptionManager = /** @class */ (function () {
424
424
  var oplogQueueFiltered = oplogQueue.filter(function (a) { return a.collection === collection; });
425
425
  if (oplogQueueFiltered.length === 1) {
426
426
  _this.checkPubsForChanges(oplogQueueFiltered[0].collection, oplogQueueFiltered[0].doc);
427
- _this._oplogQueue.splice(oplogQueue.map(collection).indexOf(collection), 1);
427
+ _this._oplogQueue.splice(_this._oplogQueue.map(function (a) { return a.collection; }).indexOf(collection), 1);
428
428
  }
429
429
  else {
430
430
  oplogQueueFiltered.forEach(function (item) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "2.0.6",
3
+ "version": "2.1.0",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {