angelia.io 2.4.75 → 2.4.76

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.
Files changed (2) hide show
  1. package/client/index.js +1 -1
  2. package/package.json +1 -1
package/client/index.js CHANGED
@@ -275,7 +275,7 @@ class Client {
275
275
  window.addEventListener('unload', () => this.disconnect(true), true)
276
276
 
277
277
  // to send messages fast without waiting for the connection
278
- shouldConnect && Promise.resolve().then(() => this.connect())
278
+ shouldConnect && this.connect()
279
279
  }
280
280
 
281
281
  // public API
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "angelia.io",
3
- "version": "2.4.75",
3
+ "version": "2.4.76",
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": {