@eleven-am/pondsocket 0.1.165 → 0.1.166
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/channel/channel.js +6 -1
- package/package.json +6 -6
package/channel/channel.js
CHANGED
|
@@ -307,7 +307,12 @@ _ChannelEngine_receiver = new WeakMap(), _ChannelEngine_pubSubCLient = new WeakM
|
|
|
307
307
|
return {};
|
|
308
308
|
});
|
|
309
309
|
__classPrivateFieldGet(this, _ChannelEngine_pubSubCLient, "f").subscribe(this.name, (recipients, data) => {
|
|
310
|
-
|
|
310
|
+
try {
|
|
311
|
+
this.sendMessage(pondsocket_common_1.SystemSender.CHANNEL, recipients, data.action, data.event, data.payload, data.requestId);
|
|
312
|
+
}
|
|
313
|
+
catch (error) {
|
|
314
|
+
// noop
|
|
315
|
+
}
|
|
311
316
|
});
|
|
312
317
|
};
|
|
313
318
|
class Channel {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eleven-am/pondsocket",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.166",
|
|
4
4
|
"description": "PondSocket is a fast simple socket server",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"socket",
|
|
@@ -40,16 +40,16 @@
|
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@types/jest": "^29.5.12",
|
|
43
|
-
"@types/node": "^20.14.
|
|
43
|
+
"@types/node": "^20.14.11",
|
|
44
44
|
"@types/websocket": "^1.0.10",
|
|
45
|
-
"@types/ws": "^8.5.
|
|
46
|
-
"@typescript-eslint/eslint-plugin": "^7.1
|
|
45
|
+
"@types/ws": "^8.5.11",
|
|
46
|
+
"@typescript-eslint/eslint-plugin": "^7.16.1",
|
|
47
47
|
"eslint": "^8.57.0",
|
|
48
|
-
"eslint-plugin-file-progress": "^1.
|
|
48
|
+
"eslint-plugin-file-progress": "^1.4.0",
|
|
49
49
|
"eslint-plugin-import": "^2.29.1",
|
|
50
50
|
"jest": "^29.7.0",
|
|
51
51
|
"superwstest": "^2.0.4",
|
|
52
|
-
"ts-jest": "^29.
|
|
52
|
+
"ts-jest": "^29.2.3",
|
|
53
53
|
"ts-node": "^10.9.2",
|
|
54
54
|
"typescript": "^5.5.3"
|
|
55
55
|
},
|