@tsed/socketio 8.26.0 → 8.26.1
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/lib/esm/decorators/socketFilter.js +0 -1
- package/lib/types/decorators/broadcast.d.ts +1 -1
- package/lib/types/decorators/broadcastOthers.d.ts +1 -1
- package/lib/types/decorators/emit.d.ts +1 -1
- package/lib/types/decorators/input.d.ts +1 -1
- package/lib/types/decorators/inputAndBroadcast.d.ts +1 -1
- package/lib/types/decorators/inputAndBroadcastOthers.d.ts +1 -1
- package/lib/types/decorators/inputAndEmit.d.ts +1 -1
- package/lib/types/decorators/nsp.d.ts +1 -1
- package/lib/types/decorators/reason.d.ts +1 -1
- package/lib/types/decorators/socket.d.ts +1 -1
- package/lib/types/decorators/socketErr.d.ts +1 -1
- package/lib/types/decorators/socketEventName.d.ts +1 -1
- package/lib/types/decorators/socketFilter.d.ts +1 -2
- package/lib/types/decorators/socketNsp.d.ts +1 -1
- package/lib/types/decorators/socketReturns.d.ts +1 -1
- package/lib/types/decorators/socketSession.d.ts +2 -2
- package/lib/types/decorators/socketUseAfter.d.ts +1 -1
- package/lib/types/decorators/socketUseBefore.d.ts +1 -1
- package/package.json +12 -12
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
* @decorator
|
|
21
21
|
* @param eventName
|
|
22
22
|
*/
|
|
23
|
-
export declare function Broadcast(eventName: string): (target:
|
|
23
|
+
export declare function Broadcast(eventName: string): (target: Object, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
* @decorator
|
|
21
21
|
* @param eventName
|
|
22
22
|
*/
|
|
23
|
-
export declare function BroadcastOthers(eventName: string): (target:
|
|
23
|
+
export declare function BroadcastOthers(eventName: string): (target: Object, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
@@ -20,4 +20,4 @@
|
|
|
20
20
|
* @decorator
|
|
21
21
|
* @param eventName
|
|
22
22
|
*/
|
|
23
|
-
export declare function Emit(eventName: string): (target:
|
|
23
|
+
export declare function Emit(eventName: string): (target: Object, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* @decorator
|
|
18
18
|
* @param eventName
|
|
19
19
|
*/
|
|
20
|
-
export declare function Input(eventName: string): (target:
|
|
20
|
+
export declare function Input(eventName: string): (target: Object, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* @decorator
|
|
18
18
|
* @param eventName
|
|
19
19
|
*/
|
|
20
|
-
export declare function InputAndBroadcast(eventName: string): (target:
|
|
20
|
+
export declare function InputAndBroadcast(eventName: string): (target: Object, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* @decorator
|
|
18
18
|
* @param eventName
|
|
19
19
|
*/
|
|
20
|
-
export declare function InputAndBroadcastOthers(eventName: string): (target:
|
|
20
|
+
export declare function InputAndBroadcastOthers(eventName: string): (target: Object, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
@@ -17,4 +17,4 @@
|
|
|
17
17
|
* @decorator
|
|
18
18
|
* @param eventName
|
|
19
19
|
*/
|
|
20
|
-
export declare function InputAndEmit(eventName: string): (target:
|
|
20
|
+
export declare function InputAndEmit(eventName: string): (target: Object, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
@@ -69,4 +69,4 @@ export declare function Nsp(target: any, propertyKey?: string, index?: number):
|
|
|
69
69
|
* @alias {Nsp}
|
|
70
70
|
* @decorator
|
|
71
71
|
*/
|
|
72
|
-
export declare function Namespace(target:
|
|
72
|
+
export declare function Namespace(target: Object, propertyKey?: string, index?: number): void | ((target: Object, propertyKey: string) => void);
|
|
@@ -3,7 +3,6 @@ import { SocketFilters } from "../interfaces/SocketFilters.js";
|
|
|
3
3
|
*
|
|
4
4
|
* @param {SocketFilters} filter
|
|
5
5
|
* @param {number} mapIndex
|
|
6
|
-
* @returns {(target: any, propertyKey: string, index: number) => Store}
|
|
7
6
|
* @decorator
|
|
8
7
|
*/
|
|
9
|
-
export declare function SocketFilter(filter: SocketFilters, mapIndex?: number): (target:
|
|
8
|
+
export declare function SocketFilter(filter: SocketFilters, mapIndex?: number): (target: Object, propertyKey: string, index: number) => void;
|
|
@@ -23,4 +23,4 @@ export type SocketNsp = Namespace;
|
|
|
23
23
|
* @param {number} index
|
|
24
24
|
* @decorator
|
|
25
25
|
*/
|
|
26
|
-
export declare function SocketNsp(target:
|
|
26
|
+
export declare function SocketNsp(target: Object, propertyKey: string, index: number): any;
|
|
@@ -6,4 +6,4 @@ import { SocketReturnsTypes } from "../interfaces/SocketReturnsTypes.js";
|
|
|
6
6
|
* @returns {(target: any, propertyKey: string, descriptor: PropertyDescriptor) => void}
|
|
7
7
|
* @decorator
|
|
8
8
|
*/
|
|
9
|
-
export declare function SocketReturns(eventName: string, type: SocketReturnsTypes): (target:
|
|
9
|
+
export declare function SocketReturns(eventName: string, type: SocketReturnsTypes): (target: Object, propertyKey: string, descriptor: PropertyDescriptor) => void;
|
|
@@ -20,7 +20,7 @@ export type SocketSession = Map<string, any>;
|
|
|
20
20
|
* @param {number} index
|
|
21
21
|
* @decorator
|
|
22
22
|
*/
|
|
23
|
-
export declare function SocketSession(target:
|
|
23
|
+
export declare function SocketSession(target: Object, propertyKey: string, index: number): void;
|
|
24
24
|
/**
|
|
25
25
|
* Inject the raw `socket.data` in the decorated parameter.
|
|
26
26
|
*
|
|
@@ -41,4 +41,4 @@ export declare function SocketSession(target: any, propertyKey: string, index: n
|
|
|
41
41
|
* @param {number} index
|
|
42
42
|
* @constructor
|
|
43
43
|
*/
|
|
44
|
-
export declare function RawSocketSession(target:
|
|
44
|
+
export declare function RawSocketSession(target: Object, propertyKey: string, index: number): void;
|
|
@@ -49,4 +49,4 @@ import { Type } from "@tsed/core";
|
|
|
49
49
|
* @experimental
|
|
50
50
|
* @param middlewares
|
|
51
51
|
*/
|
|
52
|
-
export declare function SocketUseAfter(...middlewares: Type<any>[]): (target:
|
|
52
|
+
export declare function SocketUseAfter(...middlewares: Type<any>[]): (target: Object, propertyKey?: string, descriptor?: PropertyDescriptor) => void;
|
|
@@ -53,4 +53,4 @@ import { Type } from "@tsed/core";
|
|
|
53
53
|
* @experimental
|
|
54
54
|
* @param middlewares
|
|
55
55
|
*/
|
|
56
|
-
export declare function SocketUseBefore(...middlewares: Type<any>[]): (target:
|
|
56
|
+
export declare function SocketUseBefore(...middlewares: Type<any>[]): (target: Object, propertyKey?: string, descriptor?: PropertyDescriptor) => void;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@tsed/socketio",
|
|
3
3
|
"description": "Socket.io package for Ts.ED framework",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "8.26.
|
|
5
|
+
"version": "8.26.1",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tsed",
|
|
8
8
|
"socket.io",
|
|
@@ -34,21 +34,21 @@
|
|
|
34
34
|
"tslib": ">=2.7.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@tsed/barrels": "8.26.
|
|
38
|
-
"@tsed/core": "8.26.
|
|
39
|
-
"@tsed/di": "8.26.
|
|
40
|
-
"@tsed/json-mapper": "8.26.
|
|
41
|
-
"@tsed/openspec": "8.26.
|
|
42
|
-
"@tsed/platform-http": "8.26.
|
|
43
|
-
"@tsed/platform-middlewares": "8.26.
|
|
44
|
-
"@tsed/schema": "8.26.
|
|
45
|
-
"@tsed/socketio-testing": "8.26.
|
|
46
|
-
"@tsed/typescript": "8.26.
|
|
37
|
+
"@tsed/barrels": "8.26.1",
|
|
38
|
+
"@tsed/core": "8.26.1",
|
|
39
|
+
"@tsed/di": "8.26.1",
|
|
40
|
+
"@tsed/json-mapper": "8.26.1",
|
|
41
|
+
"@tsed/openspec": "8.26.1",
|
|
42
|
+
"@tsed/platform-http": "8.26.1",
|
|
43
|
+
"@tsed/platform-middlewares": "8.26.1",
|
|
44
|
+
"@tsed/schema": "8.26.1",
|
|
45
|
+
"@tsed/socketio-testing": "8.26.1",
|
|
46
|
+
"@tsed/typescript": "8.26.1",
|
|
47
47
|
"eslint": "9.12.0",
|
|
48
48
|
"express": "5.2.1",
|
|
49
49
|
"socket.io": "4.8.0",
|
|
50
50
|
"socket.io-client": "^4.8.0",
|
|
51
|
-
"typescript": "
|
|
51
|
+
"typescript": "6.0.2",
|
|
52
52
|
"vitest": "3.2.4"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|