@eleven-am/pondsocket 0.1.154 → 0.1.155
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.
- package/endpoint/endpoint.js +8 -0
- package/package.json +2 -2
package/endpoint/endpoint.js
CHANGED
|
@@ -121,6 +121,14 @@ class EndpointEngine {
|
|
|
121
121
|
__classPrivateFieldGet(this, _EndpointEngine_sockets, "f").delete(cache.clientId);
|
|
122
122
|
cache.subscriptions.forEach((unsubscribe) => unsubscribe());
|
|
123
123
|
});
|
|
124
|
+
const event = {
|
|
125
|
+
event: pondsocket_common_1.Events.CONNECTION,
|
|
126
|
+
action: pondsocket_common_1.ServerActions.CONNECT,
|
|
127
|
+
channelName: pondsocket_common_1.SystemSender.ENDPOINT,
|
|
128
|
+
requestId: (0, pondsocket_common_1.uuid)(),
|
|
129
|
+
payload: {},
|
|
130
|
+
};
|
|
131
|
+
this.sendMessage(socket, event);
|
|
124
132
|
}
|
|
125
133
|
/**
|
|
126
134
|
* @desc Retrieves a user from the endpoint
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eleven-am/pondsocket",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.155",
|
|
4
4
|
"description": "PondSocket is a fast simple socket server",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"socket",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"url": "git+https://github.com/Eleven-am/pondSocket.git"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@eleven-am/pondsocket-common": "^0.0.
|
|
37
|
+
"@eleven-am/pondsocket-common": "^0.0.18",
|
|
38
38
|
"ws": "^8.16.0"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|