@resolveio/server-lib 4.0.18 → 4.0.20

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.
@@ -723,6 +723,7 @@ var SubscriptionManager = /** @class */ (function () {
723
723
  var _this = this;
724
724
  return __generator(this, function (_c) {
725
725
  that = this;
726
+ that._mainServer.getMethodManager().callMethodInternal('insertSubscriptionLog', type, subscription.publication, collection);
726
727
  if (!that._publications[subscription.publication].ws_specific) { // Same pub for all users
727
728
  (_a = that._publications[subscription.publication].function).call.apply(_a, [Object.assign({}, that, SubscriptionManager.prototype)].concat(subscription.subscriptionData)).then(function (res) {
728
729
  var serverRes = {
@@ -769,7 +770,7 @@ var SubscriptionManager = /** @class */ (function () {
769
770
  var _this = this;
770
771
  return __generator(this, function (_b) {
771
772
  that = this;
772
- that._mainServer.getMethodManager().callMethodInternal('insertLogSubscription', type, subscription.publication, collection);
773
+ that._mainServer.getMethodManager().callMethodInternal('insertSubscriptionLog', type, subscription.publication, collection);
773
774
  (_a = that._publications[subscription.publication].function).call.apply(_a, [Object.assign({}, that, SubscriptionManager.prototype)].concat(subscription.subscriptionData)).then(function (res) {
774
775
  subscription.clients.forEach(function (client) {
775
776
  that._wss.clients.forEach(function (ws) {
package/methods/logs.js CHANGED
@@ -36,7 +36,8 @@ function loadLogMethods(methodManager) {
36
36
  subscription: subscription,
37
37
  collection_name: collection_name
38
38
  });
39
- }
39
+ },
40
+ skipValidation: true
40
41
  }
41
42
  });
42
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@resolveio/server-lib",
3
- "version": "4.0.18",
3
+ "version": "4.0.20",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {