@resolveio/server-lib 4.2.7-debug → 4.2.8-debug

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.
@@ -523,7 +523,7 @@ var SubscriptionManager = /** @class */ (function () {
523
523
  if (sub.collections.includes(oplog.collection)) {
524
524
  var schemaErrors = null;
525
525
  try {
526
- index_1.ResolveIOServer.getMainDB().model(oplog.collection)['simplschema'].validate(sub.preSubscriptionData);
526
+ index_1.ResolveIOServer.getMainDB().model(oplog.collection)['simplschema'].validate(oplog.doc);
527
527
  }
528
528
  catch (errors) {
529
529
  schemaErrors = errors;
@@ -541,6 +541,7 @@ var SubscriptionManager = /** @class */ (function () {
541
541
  }
542
542
  }
543
543
  });
544
+ console.log('Need IDs:', needIds_1);
544
545
  _loop_3 = function (i) {
545
546
  var collection, docs;
546
547
  return __generator(this, function (_a) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "4.2.7-debug",
3
+ "version": "4.2.8-debug",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {