angelia.io 3.4.81 → 3.4.82

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/client/index.js CHANGED
@@ -227,7 +227,7 @@ class ClientWebWorker {
227
227
  }
228
228
  }
229
229
 
230
- export class Client {
230
+ export default class Client {
231
231
  constructor(options) {
232
232
  if (!options || typeof options === 'string') {
233
233
  options = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "angelia.io",
3
- "version": "3.4.81",
3
+ "version": "3.4.82",
4
4
  "description": "WebSockets Server and Client API for node.js and the browser, with rooms support.",
5
5
  "author": "@titoBouzout @boredofnames",
6
6
  "license": "GPL",
package/server/Socket.js CHANGED
@@ -139,7 +139,7 @@ export class Socket {
139
139
  }
140
140
  }
141
141
  onmessage(e, isBinary) {
142
- e = isBinary ? e.toString() : e
142
+ e = e.toString()
143
143
 
144
144
  if (e === '') {
145
145
  this.server.pong(this)