| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -36,6 +36,10 @@ Client | |||
| 36 | 36 | ||
| 37 | 37 | ## Changelog | |
| 38 | 38 | ||
| 39 | + 0.1.9 | ||
| 40 | + | ||
| 41 | + - Fix close internal socket (removing not supported code/message parameters) | ||
| 42 | + | ||
| 39 | 43 | 0.1.8 | |
| 40 | 44 | ||
| 41 | 45 | - Does not throw exceptions when writing on a stream with closed underlying socket | |
@@ -50,4 +54,4 @@ Client | |||
| 50 | 54 | ||
| 51 | 55 | - `streamws` version `>=0.1.0` is now required | |
| 52 | 56 | - Streams no longer add their own listeners to error/close/drain events (fixes leaks) | |
| 53 | - - Calls to `socket.send` no longer include `{binary: true}` or callback parameters (fixes type error in some browsers) | ||
| 57 | + - Calls to `socket.send` no longer include `{binary: true}` or callback parameters (fixes type error in some browsers) | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 1 | - /*! binary.js build:0.1.8, development. Copyright(c) 2012 Eric Zhang <eric@ericzhang.com> MIT Licensed */ | ||
| 1 | + /*! binary.js build:0.1.9, development. Copyright(c) 2012 Eric Zhang <eric@ericzhang.com> MIT Licensed */ | ||
| 2 | 2 | (function(exports){ | |
| 3 | 3 | var binaryFeatures = {}; | |
| 4 | 4 | binaryFeatures.useBlobBuilder = (function(){ | |
@@ -1525,8 +1525,8 @@ BinaryClient.prototype.createStream = function(meta){ | |||
| 1525 | 1525 | return binaryStream; | |
| 1526 | 1526 | }; | |
| 1527 | 1527 | ||
| 1528 | - BinaryClient.prototype.close = BinaryClient.prototype.destroy = function(code, message) { | ||
| 1529 | - this._socket.close(code, message); | ||
| 1528 | + BinaryClient.prototype.close = BinaryClient.prototype.destroy = function() { | ||
| 1529 | + this._socket.close(); | ||
| 1530 | 1530 | }; | |
| 1531 | 1531 | ||
| 1532 | 1532 | exports.BinaryClient = BinaryClient; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2,7 +2,7 @@ | |||
| 2 | 2 | "author": "Eric Zhang (http://ericzhang.com)", | |
| 3 | 3 | "name": "binaryjs", | |
| 4 | 4 | "description": "Binary realtime streaming made easy", | |
| 5 | - "version": "0.1.8", | ||
| 5 | + "version": "0.1.9", | ||
| 6 | 6 | "homepage": "http://binaryjs.com", | |
| 7 | 7 | "repository": { | |
| 8 | 8 | "type": "git", | |
| Back | FazBrowse Home | New Git URL |
0 commit comments