@tsed/socketio-testing 8.38.4 → 8.38.5
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 +5 -5
- package/readme.md +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/socketio-testing",
|
|
3
|
-
"version": "8.38.
|
|
3
|
+
"version": "8.38.5",
|
|
4
4
|
"description": "Socket.io testing package for Ts.ED framework",
|
|
5
5
|
"source": "./src/index.ts",
|
|
6
6
|
"type": "module",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"tslib": ">=2.7.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@tsed/barrels": "8.38.
|
|
28
|
-
"@tsed/di": "8.38.
|
|
29
|
-
"@tsed/platform-http": "8.38.
|
|
30
|
-
"@tsed/typescript": "8.38.
|
|
27
|
+
"@tsed/barrels": "8.38.5",
|
|
28
|
+
"@tsed/di": "8.38.5",
|
|
29
|
+
"@tsed/platform-http": "8.38.5",
|
|
30
|
+
"@tsed/typescript": "8.38.5",
|
|
31
31
|
"socket.io-client": "^4.8.0",
|
|
32
32
|
"typescript": "6.0.2"
|
|
33
33
|
},
|
package/readme.md
CHANGED
|
@@ -231,7 +231,7 @@ import {SocketMiddlewareError, SocketErr, Socket} from "@tsed/socketio";
|
|
|
231
231
|
export class ErrorHandlerSocketMiddleware {
|
|
232
232
|
async use(@SocketErr err: any, @Socket socket: SocketIO.Socket) {
|
|
233
233
|
console.error(err);
|
|
234
|
-
socket.emit("error", {message: "An error has
|
|
234
|
+
socket.emit("error", {message: "An error has occurred"});
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
```
|