@eleven-am/pondsocket 0.1.209 → 0.1.211

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.
@@ -75,16 +75,12 @@ class ChannelEngine {
75
75
  throw new httpError_1.HttpError(400, message);
76
76
  }
77
77
  const isFirstUser = this.users.size === 0;
78
- // Acknowledge directly to the user as send message is asynchronous
79
78
  onMessage({
80
79
  channelName: __classPrivateFieldGet(this, _ChannelEngine_name, "f"),
81
80
  requestId: (0, pondsocket_common_1.uuid)(),
82
81
  action: pondsocket_common_1.ServerActions.SYSTEM,
83
82
  event: pondsocket_common_1.Events.ACKNOWLEDGE,
84
- payload: {
85
- userId,
86
- assigns,
87
- },
83
+ payload: {},
88
84
  });
89
85
  __classPrivateFieldGet(this, _ChannelEngine_assignsCache, "f").set(userId, assigns);
90
86
  __classPrivateFieldGet(this, _ChannelEngine_instances, "m", _ChannelEngine_buildSubscriber).call(this, userId, onMessage);
@@ -434,7 +430,6 @@ _ChannelEngine_endpointId = new WeakMap(), _ChannelEngine_backend = new WeakMap(
434
430
  __classPrivateFieldGet(this, _ChannelEngine_instances, "m", _ChannelEngine_handleDistributedMessage).call(this, message);
435
431
  }), "f");
436
432
  }, _ChannelEngine_handleDistributedMessage = function _ChannelEngine_handleDistributedMessage(message) {
437
- console.log(message);
438
433
  switch (message.type) {
439
434
  case types_1.DistributedMessageType.STATE_REQUEST:
440
435
  __classPrivateFieldGet(this, _ChannelEngine_instances, "m", _ChannelEngine_handleStateRequest).call(this, message);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eleven-am/pondsocket",
3
- "version": "0.1.209",
3
+ "version": "0.1.211",
4
4
  "description": "PondSocket is a fast simple socket server",
5
5
  "keywords": [
6
6
  "socket",