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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "angelia.io",
3
- "version": "2.4.72",
3
+ "version": "2.4.73",
4
4
  "description": "WebSockets Server and Client API for node.js and the browser, with rooms support.",
5
5
  "homepage": "https://github.com/titoBouzout/angelia.io",
6
6
  "repository": {
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, data, callback)
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
 
@@ -51,7 +51,7 @@ class Room {
51
51
  this[parent][remove](this)
52
52
 
53
53
  // dispatch leave
54
- this.onLeave && this.onLeave(socket)
54
+ // this.onLeave && this.onLeave(socket)
55
55
 
56
56
  // dispatch that the room has been deleted
57
57
  this.onDelete && this.onDelete(socket)