@opentap/runner-client 2.0.0-alpha.2.11 → 2.0.0-alpha.2.12
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/lib/BaseClient.js +6 -1
- package/package.json +1 -1
package/lib/BaseClient.js
CHANGED
|
@@ -261,7 +261,12 @@ var BaseClient = /** @class */ (function () {
|
|
|
261
261
|
opts = __assign(__assign({}, options), { timeout: this.timeout, headers: headers });
|
|
262
262
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
263
263
|
return [2 /*return*/, new Promise(function (resolve, reject) {
|
|
264
|
-
var subscription = _this.connection.subscribe(replySubject
|
|
264
|
+
var subscription = _this.connection.subscribe(replySubject, {
|
|
265
|
+
callback: function (err, msg) {
|
|
266
|
+
console.log(err);
|
|
267
|
+
console.log(msg);
|
|
268
|
+
},
|
|
269
|
+
});
|
|
265
270
|
return _this.request(subject, replySubject, opts).then(function (fileDescriptor) {
|
|
266
271
|
var combinedResult = new Uint8Array([]);
|
|
267
272
|
var received = 0;
|