@tsed/socketio 7.33.0 → 7.33.2

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.
@@ -16,7 +16,7 @@ export declare class SocketIOModule implements AfterListen, OnDestroy {
16
16
  private io;
17
17
  private socketIOService;
18
18
  $afterListen(): Promise<void>;
19
- $onDestroy(): any;
19
+ $onDestroy(): Promise<unknown>;
20
20
  /**
21
21
  *
22
22
  * @returns {Provider<any>[]}
@@ -25,8 +25,8 @@ export declare class SocketHandlersBuilder {
25
25
  * @param {Socket} socket
26
26
  * @param {Namespace} nsp
27
27
  */
28
- onConnection(socket: Socket, nsp: Namespace): void;
29
- onDisconnect(socket: Socket, nsp: Namespace, reason?: string): void;
28
+ onConnection(socket: Socket, nsp: Namespace): Promise<void>;
29
+ onDisconnect(socket: Socket, nsp: Namespace, reason?: string): Promise<void>;
30
30
  /**
31
31
  *
32
32
  * @param {Socket} socket
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tsed/socketio",
3
- "version": "7.33.0",
3
+ "version": "7.33.2",
4
4
  "description": "Socket.io package for Ts.ED framework",
5
5
  "private": false,
6
6
  "keywords": [
@@ -33,27 +33,27 @@
33
33
  "tslib": "2.5.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@tsed/common": "7.33.0",
37
- "@tsed/core": "7.33.0",
38
- "@tsed/di": "7.33.0",
39
- "@tsed/eslint": "7.33.0",
40
- "@tsed/json-mapper": "7.33.0",
41
- "@tsed/openspec": "7.33.0",
42
- "@tsed/platform-middlewares": "7.33.0",
43
- "@tsed/schema": "7.33.0",
44
- "@tsed/socketio-testing": "7.33.0",
45
- "@tsed/typescript": "7.33.0",
36
+ "@tsed/common": "7.33.2",
37
+ "@tsed/core": "7.33.2",
38
+ "@tsed/di": "7.33.2",
39
+ "@tsed/eslint": "7.33.2",
40
+ "@tsed/json-mapper": "7.33.2",
41
+ "@tsed/openspec": "7.33.2",
42
+ "@tsed/platform-middlewares": "7.33.2",
43
+ "@tsed/schema": "7.33.2",
44
+ "@tsed/socketio-testing": "7.33.2",
45
+ "@tsed/typescript": "7.33.2",
46
46
  "eslint": "^8.12.0",
47
47
  "express": "^4.17.1",
48
- "socket.io": "4.4.1",
49
- "socket.io-client": "^4.1.2"
48
+ "socket.io": "4.7.1",
49
+ "socket.io-client": "^4.7.1"
50
50
  },
51
51
  "peerDependencies": {
52
- "@tsed/di": "^7.33.0",
53
- "@tsed/json-mapper": "^7.33.0",
52
+ "@tsed/di": "^7.33.2",
53
+ "@tsed/json-mapper": "^7.33.2",
54
54
  "@tsed/logger": ">=6.2.2",
55
- "@tsed/platform-middlewares": "^7.33.0",
56
- "@tsed/schema": "^7.33.0",
55
+ "@tsed/platform-middlewares": "^7.33.2",
56
+ "@tsed/schema": "^7.33.2",
57
57
  "socket.io": ">=4.0.0"
58
58
  },
59
59
  "peerDependenciesMeta": {