angelia.io 2.4.72 → 2.4.73
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 +1 -1
- package/readme.md +1 -2
- package/server/rooms/Room.js +1 -1
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -155,7 +155,7 @@ import Server from 'angelia.io/server'
|
|
|
155
155
|
|
|
156
156
|
class _ {
|
|
157
157
|
connect(socket, request) {
|
|
158
|
-
console.log(socket,
|
|
158
|
+
console.log(socket, request)
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
161
|
Server.on(_)
|
|
@@ -365,7 +365,6 @@ As in `socket.on('connect', () => console.log('connect happened!'))`
|
|
|
365
365
|
| `connect` | **this happens only once** when we connect to the server, any future connection is a `reconnect` |
|
|
366
366
|
| `reconnect` | if we were connected at least once, then any reconnection will dispatch this event instead of `connect` |
|
|
367
367
|
| `disconnect` | when we disconnect from the server |
|
|
368
|
-
| |
|
|
369
368
|
|
|
370
369
|
</details>
|
|
371
370
|
|
package/server/rooms/Room.js
CHANGED