@resolveio/server-lib 4.0.18 → 4.0.19
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('
|
|
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) {
|