@eleven-am/pondsocket 0.1.164 → 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.
@@ -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
- this.sendMessage(pondsocket_common_1.SystemSender.CHANNEL, recipients, data.action, data.event, data.payload, data.requestId);
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.164",
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.10",
43
+ "@types/node": "^20.14.11",
44
44
  "@types/websocket": "^1.0.10",
45
- "@types/ws": "^8.5.10",
46
- "@typescript-eslint/eslint-plugin": "^7.1.0",
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.3.0",
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.1.5",
52
+ "ts-jest": "^29.2.3",
53
53
  "ts-node": "^10.9.2",
54
54
  "typescript": "^5.5.3"
55
55
  },
@@ -146,5 +146,5 @@ _PubSubEngine_subscriber = new WeakMap(), _PubSubEngine_redis = new WeakMap(), _
146
146
  message: data,
147
147
  recipient: recipients,
148
148
  };
149
- (_a = __classPrivateFieldGet(this, _PubSubEngine_pubSub, "f")) === null || _a === void 0 ? void 0 : _a.publish('app:messages', JSON.stringify(message));
149
+ (_a = __classPrivateFieldGet(this, _PubSubEngine_redis, "f")) === null || _a === void 0 ? void 0 : _a.publish('app:messages', JSON.stringify(message));
150
150
  };