Skip to content

Commit

Permalink
[chore] Release 3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed Feb 28, 2018
1 parent 8cde767 commit bed6da6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions engine.io.js
Original file line number Diff line number Diff line change
Expand Up @@ -1302,11 +1302,9 @@ return /******/ (function(modules) { // webpackBootstrap
contentType = this.xhr.getResponseHeader('Content-Type');
} catch (e) {}
if (contentType === 'application/octet-stream') {
if (this.xhr.responseType === 'arraybuffer') {
data = this.xhr.response || this.xhr.responseText;
} else {
data = String.fromCharCode.apply(null, new Uint8Array(this.xhr.response));
}
data = this.xhr.response || this.xhr.responseText;
} else if (this.xhr.responseType === 'arraybuffer') {
data = String.fromCharCode.apply(null, new Uint8Array(this.xhr.response));
} else {
data = this.xhr.responseText;
}
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "engine.io-client",
"description": "Client for the realtime Engine",
"license": "MIT",
"version": "3.1.5",
"version": "3.2.0",
"main": "lib/index.js",
"homepage": "https://github.com/socketio/engine.io-client",
"contributors": [
Expand Down Expand Up @@ -45,7 +45,7 @@
"concat-stream": "^1.6.0",
"del": "^2.2.2",
"derequire": "^2.0.6",
"engine.io": "3.1.5",
"engine.io": "3.2.0",
"eslint-config-standard": "4.4.0",
"eslint-plugin-standard": "1.3.1",
"expect.js": "^0.3.1",
Expand Down

0 comments on commit bed6da6

Please sign in to comment.