botium-core 1.15.2 → 1.15.4

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.
@@ -77,7 +77,7 @@ var express__default = /*#__PURE__*/_interopDefaultLegacy(express);
77
77
  var bodyParser__default = /*#__PURE__*/_interopDefaultLegacy(bodyParser);
78
78
 
79
79
  var name = "botium-core";
80
- var version$1 = "1.15.2";
80
+ var version$1 = "1.15.4";
81
81
  var description = "The Selenium for Chatbots";
82
82
  var main = "index.js";
83
83
  var module$1 = "dist/botium-es.js";
@@ -3388,7 +3388,8 @@ class Convo$6 {
3388
3388
  scriptingMemory,
3389
3389
  botMsg,
3390
3390
  transcript,
3391
- transcriptStep
3391
+ transcriptStep,
3392
+ transcriptSteps
3392
3393
  });
3393
3394
  await this.scriptingEvents.onBotEnd({
3394
3395
  convo: this,
@@ -8208,9 +8209,8 @@ var SimpleRestContainer_1 = class SimpleRestContainer {
8208
8209
  if (requestOptions.body) {
8209
8210
  debug$4('Request.form and request.body are mutually exclusive');
8210
8211
  }
8212
+ requestOptions.headers['Content-Type'] = 'application/x-www-form-urlencoded';
8211
8213
  requestOptions.body = new URLSearchParams(requestOptions.form).toString();
8212
- // it is set automatically by fetch
8213
- // requestOptions.headers['Content-Type'] = 'application/x-www-form-urlencoded'
8214
8214
  delete requestOptions.form;
8215
8215
  }
8216
8216
  return requestOptions;
@@ -8630,11 +8630,11 @@ var SimpleRestContainer_1 = class SimpleRestContainer {
8630
8630
  }
8631
8631
  }
8632
8632
  this._addRequestOptions(requestOptions);
8633
- this._fetchify(requestOptions);
8634
8633
  await executeHook(this.caps, this.requestHook, Object.assign({
8635
8634
  requestOptions
8636
8635
  }, this.view));
8637
8636
  this._addRequestCookies(requestOptions);
8637
+ this._fetchify(requestOptions);
8638
8638
  return requestOptions;
8639
8639
  }
8640
8640
  async _waitForUrlResponse(httpConfig, retries) {