ibm-watson
Advanced tools
Comparing version
@@ -0,1 +1,8 @@ | ||
## [4.2.2](https://github.com/watson-developer-cloud/node-sdk/compare/v4.2.1...v4.2.2) (2019-07-12) | ||
### Bug Fixes | ||
* only set readableObjectMode in recognize-stream if not present ([#907](https://github.com/watson-developer-cloud/node-sdk/issues/907)) ([155c005](https://github.com/watson-developer-cloud/node-sdk/commit/155c005)) | ||
## [4.2.1](https://github.com/watson-developer-cloud/node-sdk/compare/v4.2.0...v4.2.1) (2019-06-14) | ||
@@ -2,0 +9,0 @@ |
@@ -120,11 +120,13 @@ "use strict"; | ||
function RecognizeStream(options) { | ||
var _this = | ||
var _this = this; | ||
// this stream only supports objectMode on the output side. | ||
// It must receive binary data input. | ||
_super.call(this, options) || this; | ||
if (options.objectMode) { | ||
options.readableObjectMode = true; | ||
_this.readableObjectMode = true; | ||
delete options.objectMode; | ||
} | ||
_this = _super.call(this, options) || this; | ||
if (options.readableObjectMode && _this.readableObjectMode === undefined) { | ||
_this.readableObjectMode = true; | ||
} | ||
_this.options = options; | ||
@@ -131,0 +133,0 @@ _this.listening = false; |
{ | ||
"name": "ibm-watson", | ||
"version": "4.2.1", | ||
"version": "4.2.2", | ||
"description": "Client library to use the IBM Watson Services", | ||
@@ -5,0 +5,0 @@ "repository": { |
Sorry, the diff of this file is too big to display
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 not supported yet
6255004
0.02%93474
0