@tsed/socketio 8.3.0 → 8.3.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.
- package/package.json +15 -15
- package/readme.md +7 -9
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.3.
|
|
5
|
+
"version": "8.3.2",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tsed",
|
|
8
8
|
"socket.io",
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
"tslib": "2.7.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@tsed/barrels": "8.3.
|
|
38
|
-
"@tsed/core": "8.3.
|
|
39
|
-
"@tsed/di": "8.3.
|
|
40
|
-
"@tsed/json-mapper": "8.3.
|
|
41
|
-
"@tsed/openspec": "8.3.
|
|
42
|
-
"@tsed/platform-http": "8.3.
|
|
43
|
-
"@tsed/platform-middlewares": "8.3.
|
|
44
|
-
"@tsed/schema": "8.3.
|
|
45
|
-
"@tsed/socketio-testing": "8.3.
|
|
46
|
-
"@tsed/typescript": "8.3.
|
|
37
|
+
"@tsed/barrels": "8.3.2",
|
|
38
|
+
"@tsed/core": "8.3.2",
|
|
39
|
+
"@tsed/di": "8.3.2",
|
|
40
|
+
"@tsed/json-mapper": "8.3.2",
|
|
41
|
+
"@tsed/openspec": "8.3.2",
|
|
42
|
+
"@tsed/platform-http": "8.3.2",
|
|
43
|
+
"@tsed/platform-middlewares": "8.3.2",
|
|
44
|
+
"@tsed/schema": "8.3.2",
|
|
45
|
+
"@tsed/socketio-testing": "8.3.2",
|
|
46
|
+
"@tsed/typescript": "8.3.2",
|
|
47
47
|
"eslint": "9.12.0",
|
|
48
48
|
"express": "^4.21.0",
|
|
49
49
|
"socket.io": "4.8.0",
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"vitest": "2.1.2"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@tsed/di": "8.3.
|
|
56
|
-
"@tsed/json-mapper": "8.3.
|
|
55
|
+
"@tsed/di": "8.3.2",
|
|
56
|
+
"@tsed/json-mapper": "8.3.2",
|
|
57
57
|
"@tsed/logger": ">=7.0.1",
|
|
58
|
-
"@tsed/platform-middlewares": "8.3.
|
|
59
|
-
"@tsed/schema": "8.3.
|
|
58
|
+
"@tsed/platform-middlewares": "8.3.2",
|
|
59
|
+
"@tsed/schema": "8.3.2",
|
|
60
60
|
"socket.io": ">=4.0.0"
|
|
61
61
|
},
|
|
62
62
|
"peerDependenciesMeta": {
|
package/readme.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<p style="text-align: center" align="center">
|
|
2
|
-
<a href="https://tsed.
|
|
2
|
+
<a href="https://tsed.dev" target="_blank"><img src="https://tsed.dev/tsed-og.png" width="200" alt="Ts.ED logo"/></a>
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
5
|
<div align="center">
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
</div>
|
|
17
17
|
|
|
18
18
|
<div align="center">
|
|
19
|
-
<a href="https://tsed.
|
|
19
|
+
<a href="https://tsed.dev/">Website</a>
|
|
20
20
|
<span> • </span>
|
|
21
|
-
<a href="https://tsed.
|
|
21
|
+
<a href="https://tsed.dev/getting-started/">Getting started</a>
|
|
22
22
|
<span> • </span>
|
|
23
23
|
<a href="https://slack.tsed.io">Slack</a>
|
|
24
24
|
<span> • </span>
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
<hr />
|
|
29
29
|
|
|
30
|
-
A package of Ts.ED framework. See website: https://tsed.
|
|
30
|
+
A package of Ts.ED framework. See website: https://tsed.dev/tutorials/socket-io
|
|
31
31
|
|
|
32
32
|
Socket.io enable real-time bidirectional event-based communication. It works on every platform, browser or device, focusing equally on reliability and speed.
|
|
33
33
|
|
|
@@ -152,7 +152,7 @@ export class MySocketService {
|
|
|
152
152
|
|
|
153
153
|
You have a many choice to send a response to your client. Ts.ED offer some decorators to send a response:
|
|
154
154
|
|
|
155
|
-

|
|
156
156
|
|
|
157
157
|
Example:
|
|
158
158
|
|
|
@@ -172,7 +172,7 @@ export class MySocketService {
|
|
|
172
172
|
> The method accept a promise as returned value.
|
|
173
173
|
|
|
174
174
|
::: warning
|
|
175
|
-
Return value is only possible when the method is decorated by [@Emit](https://tsed.
|
|
175
|
+
Return value is only possible when the method is decorated by [@Emit](https://tsed.dev/api/socketio/emit.html), [@Broadcast](https://tsed.dev/api/socketio/broadcast.html) and [@BroadcastOthers](https://tsed.dev/api/socketio/broadcastothers.html).
|
|
176
176
|
:::
|
|
177
177
|
|
|
178
178
|
### Socket Session
|
|
@@ -308,12 +308,10 @@ export class MySocketService {
|
|
|
308
308
|
|
|
309
309
|
## Documentation
|
|
310
310
|
|
|
311
|
-
See our documentation https://tsed.
|
|
311
|
+
See our documentation https://tsed.dev/api.html
|
|
312
312
|
|
|
313
313
|
## Contributors
|
|
314
314
|
|
|
315
|
-
Please read [contributing guidelines here](https://tsed.io/contributing.html)
|
|
316
|
-
|
|
317
315
|
<a href="https://github.com/tsedio/tsed/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>
|
|
318
316
|
|
|
319
317
|
## Backers
|