leancloud-realtime
Advanced tools
Comparing version 3.5.5 to 3.5.6
{ | ||
"name": "leancloud-realtime", | ||
"version": "3.5.5", | ||
"version": "3.5.6", | ||
"homepage": "https://github.com/leancloud/js-realtime-sdk/", | ||
@@ -5,0 +5,0 @@ "description": "LeanCloud JavaScript Realtime SDK", |
@@ -0,1 +1,11 @@ | ||
<a name="3.5.6"></a> | ||
## 3.5.6 (2017-08-29) | ||
### Bug Fixes | ||
* **WebSocketPlus:** 修复了在 Electron 的 Chromium 环境中报错的问题 ([15d16e5](https://github.com/leancloud/js-realtime-sdk/commit/5d582ac)), closes [#566](https://github.com/leancloud/js-realtime-sdk/issues/566) | ||
<a name="3.5.5"></a> | ||
@@ -2,0 +12,0 @@ ## 3.5.5 (2017-07-28) |
{ | ||
"name": "leancloud-realtime", | ||
"version": "3.5.5", | ||
"version": "3.5.6", | ||
"description": "LeanCloud Realtime Message JavaScript SDK", | ||
@@ -5,0 +5,0 @@ "main": "./dist/realtime.js", |
@@ -39,4 +39,2 @@ import d from 'debug'; | ||
message = command.toBase64(); | ||
} else if (command.toBuffer) { | ||
message = command.toBuffer(); | ||
} else if (command.toArrayBuffer) { | ||
@@ -43,0 +41,0 @@ message = command.toArrayBuffer(); |
@@ -72,3 +72,3 @@ // WebSocket with auto reconnecting feature, backup endpoint and EventEmitter interface. | ||
) : new WebSocket(url); | ||
ws.binaryType = this.binaryType || (global.Buffer ? 'nodebuffer' : 'arraybuffer'); | ||
ws.binaryType = this.binaryType || 'arraybuffer'; | ||
ws.onopen = () => resolve(ws); | ||
@@ -75,0 +75,0 @@ ws.onerror = ws.onclose = (error) => { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11636065
87788