botium-core 1.15.4 → 1.15.5

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/dist/botium-es.js CHANGED
@@ -35,7 +35,7 @@ import express from 'express';
35
35
  import bodyParser from 'body-parser';
36
36
 
37
37
  var name = "botium-core";
38
- var version$1 = "1.15.4";
38
+ var version$1 = "1.15.5";
39
39
  var description = "The Selenium for Chatbots";
40
40
  var main = "index.js";
41
41
  var module = "dist/botium-es.js";
@@ -8447,7 +8447,8 @@ var SimpleRestContainer_1 = class SimpleRestContainer {
8447
8447
  fetch(requestOptions.uri, requestOptions).then(async bodyRaw => {
8448
8448
  let body;
8449
8449
  try {
8450
- if (bodyRaw.headers.get('content-type').includes('application/json')) {
8450
+ const contentType = bodyRaw.headers.get('content-type');
8451
+ if (contentType && contentType.includes('application/json')) {
8451
8452
  try {
8452
8453
  body = await bodyRaw.json();
8453
8454
  } catch (err) {