angelia.io 2.4.69 → 2.4.70

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.69",
3
+ "version": "2.4.70",
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": {
@@ -103,7 +103,7 @@ class ManagerSingleton {
103
103
  }
104
104
 
105
105
  [Symbol.iterator]() {
106
- return this.rooms
106
+ return this.rooms[Symbol.iterator]()
107
107
  }
108
108
  }
109
109
 
@@ -90,7 +90,7 @@ class Room {
90
90
  return this.sockets
91
91
  }
92
92
  [Symbol.iterator]() {
93
- return this.sockets
93
+ return this.sockets[Symbol.iterator]()
94
94
  }
95
95
  }
96
96
 
@@ -31,7 +31,7 @@ class Rooms {
31
31
  return this.rooms
32
32
  }
33
33
  [Symbol.iterator]() {
34
- return this.rooms
34
+ return this.rooms[Symbol.iterator]()
35
35
  }
36
36
  }
37
37