@opentap/runner-client 2.10.0-alpha.1.1 → 2.10.0-alpha.1.2

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 CHANGED
@@ -145,7 +145,7 @@ var BaseClient = /** @class */ (function () {
145
145
  responsePromise = new Promise(function (resolve, reject) {
146
146
  var messages = [];
147
147
  subscription.callback = function (error, message) {
148
- var _a, _b, _c;
148
+ var _a, _b, _c, _d;
149
149
  if (error) {
150
150
  return reject(error);
151
151
  }
@@ -186,6 +186,7 @@ var BaseClient = /** @class */ (function () {
186
186
  }
187
187
  });
188
188
  console.log((_c = finalMessage.headers) === null || _c === void 0 ? void 0 : _c.get('OpenTapNatsError'));
189
+ console.log(typeof ((_d = finalMessage.headers) === null || _d === void 0 ? void 0 : _d.get('OpenTapNatsError')));
189
190
  return resolve({ byteArray: flattenedArray, isErrorResponse: false });
190
191
  };
191
192
  }).then(function (_a) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opentap/runner-client",
3
- "version": "2.10.0-alpha.1.1",
3
+ "version": "2.10.0-alpha.1.2",
4
4
  "description": "This is the web client for the OpenTAP Runner.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",