@tsed/socketio 8.38.4 → 8.38.6
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/package.json +11 -11
- package/readme.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/socketio",
|
|
3
|
-
"version": "8.38.
|
|
3
|
+
"version": "8.38.6",
|
|
4
4
|
"description": "Socket.io package for Ts.ED framework",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"realtime",
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
"tslib": ">=2.7.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@tsed/barrels": "8.38.
|
|
38
|
-
"@tsed/core": "8.38.
|
|
39
|
-
"@tsed/di": "8.38.
|
|
40
|
-
"@tsed/json-mapper": "8.38.
|
|
41
|
-
"@tsed/openspec": "8.38.
|
|
42
|
-
"@tsed/platform-http": "8.38.
|
|
43
|
-
"@tsed/platform-middlewares": "8.38.
|
|
44
|
-
"@tsed/schema": "8.38.
|
|
45
|
-
"@tsed/socketio-testing": "8.38.
|
|
46
|
-
"@tsed/typescript": "8.38.
|
|
37
|
+
"@tsed/barrels": "8.38.6",
|
|
38
|
+
"@tsed/core": "8.38.6",
|
|
39
|
+
"@tsed/di": "8.38.6",
|
|
40
|
+
"@tsed/json-mapper": "8.38.6",
|
|
41
|
+
"@tsed/openspec": "8.38.6",
|
|
42
|
+
"@tsed/platform-http": "8.38.6",
|
|
43
|
+
"@tsed/platform-middlewares": "8.38.6",
|
|
44
|
+
"@tsed/schema": "8.38.6",
|
|
45
|
+
"@tsed/socketio-testing": "8.38.6",
|
|
46
|
+
"@tsed/typescript": "8.38.6",
|
|
47
47
|
"express": "5.2.1",
|
|
48
48
|
"socket.io": "4.8.0",
|
|
49
49
|
"socket.io-client": "^4.8.0",
|
package/readme.md
CHANGED
|
@@ -275,7 +275,7 @@ import {SocketMiddlewareError, SocketErr, Socket} from "@tsed/socketio";
|
|
|
275
275
|
export class ErrorHandlerSocketMiddleware {
|
|
276
276
|
async use(@SocketErr err: any, @Socket socket: SocketIO.Socket) {
|
|
277
277
|
console.error(err);
|
|
278
|
-
socket.emit("error", {message: "An error has
|
|
278
|
+
socket.emit("error", {message: "An error has occurred"});
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
```
|