@tsed/socketio 7.85.0 → 7.85.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/package.json +16 -16
- package/readme.md +8 -8
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": "commonjs",
|
|
5
|
-
"version": "7.85.
|
|
5
|
+
"version": "7.85.1",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tsed",
|
|
8
8
|
"socket.io",
|
|
@@ -34,16 +34,16 @@
|
|
|
34
34
|
"tslib": "2.6.1"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@tsed/barrels": "7.85.
|
|
38
|
-
"@tsed/common": "7.85.
|
|
39
|
-
"@tsed/core": "7.85.
|
|
40
|
-
"@tsed/di": "7.85.
|
|
41
|
-
"@tsed/json-mapper": "7.85.
|
|
42
|
-
"@tsed/openspec": "7.85.
|
|
43
|
-
"@tsed/platform-middlewares": "7.85.
|
|
44
|
-
"@tsed/schema": "7.85.
|
|
45
|
-
"@tsed/socketio-testing": "7.85.
|
|
46
|
-
"@tsed/typescript": "7.85.
|
|
37
|
+
"@tsed/barrels": "7.85.1",
|
|
38
|
+
"@tsed/common": "7.85.1",
|
|
39
|
+
"@tsed/core": "7.85.1",
|
|
40
|
+
"@tsed/di": "7.85.1",
|
|
41
|
+
"@tsed/json-mapper": "7.85.1",
|
|
42
|
+
"@tsed/openspec": "7.85.1",
|
|
43
|
+
"@tsed/platform-middlewares": "7.85.1",
|
|
44
|
+
"@tsed/schema": "7.85.1",
|
|
45
|
+
"@tsed/socketio-testing": "7.85.1",
|
|
46
|
+
"@tsed/typescript": "7.85.1",
|
|
47
47
|
"eslint": "^8.57.0",
|
|
48
48
|
"express": "^4.19.1",
|
|
49
49
|
"socket.io": "4.7.5",
|
|
@@ -52,11 +52,11 @@
|
|
|
52
52
|
"vitest": "2.0.4"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@tsed/di": "7.85.
|
|
56
|
-
"@tsed/json-mapper": "7.85.
|
|
57
|
-
"@tsed/logger": "
|
|
58
|
-
"@tsed/platform-middlewares": "7.85.
|
|
59
|
-
"@tsed/schema": "7.85.
|
|
55
|
+
"@tsed/di": "7.85.1",
|
|
56
|
+
"@tsed/json-mapper": "7.85.1",
|
|
57
|
+
"@tsed/logger": "^6.7.8",
|
|
58
|
+
"@tsed/platform-middlewares": "7.85.1",
|
|
59
|
+
"@tsed/schema": "7.85.1",
|
|
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://api.tsed.io/rest/slack/tsedio/tsed">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
|
|
|
@@ -151,7 +151,7 @@ export class MySocketService {
|
|
|
151
151
|
|
|
152
152
|
You have a many choice to send a response to your client. Ts.ED offer some decorators to send a response:
|
|
153
153
|
|
|
154
|
-

|
|
155
155
|
|
|
156
156
|
Example:
|
|
157
157
|
|
|
@@ -171,7 +171,7 @@ export class MySocketService {
|
|
|
171
171
|
> The method accept a promise as returned value.
|
|
172
172
|
|
|
173
173
|
::: warning
|
|
174
|
-
Return value is only possible when the method is decorated by [@Emit](https://tsed.
|
|
174
|
+
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).
|
|
175
175
|
:::
|
|
176
176
|
|
|
177
177
|
### Socket Session
|
|
@@ -307,11 +307,11 @@ export class MySocketService {
|
|
|
307
307
|
|
|
308
308
|
## Documentation
|
|
309
309
|
|
|
310
|
-
See our documentation https://tsed.
|
|
310
|
+
See our documentation https://tsed.dev/#/api/index
|
|
311
311
|
|
|
312
312
|
## Contributors
|
|
313
313
|
|
|
314
|
-
Please read [contributing guidelines here](https://tsed.
|
|
314
|
+
Please read [contributing guidelines here](https://tsed.dev/contributing.html)
|
|
315
315
|
|
|
316
316
|
<a href="https://github.com/tsedio/tsed/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>
|
|
317
317
|
|