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.
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.2";
38
+ var version$1 = "1.15.4";
39
39
  var description = "The Selenium for Chatbots";
40
40
  var main = "index.js";
41
41
  var module = "dist/botium-es.js";
@@ -3346,7 +3346,8 @@ class Convo$6 {
3346
3346
  scriptingMemory,
3347
3347
  botMsg,
3348
3348
  transcript,
3349
- transcriptStep
3349
+ transcriptStep,
3350
+ transcriptSteps
3350
3351
  });
3351
3352
  await this.scriptingEvents.onBotEnd({
3352
3353
  convo: this,
@@ -8166,9 +8167,8 @@ var SimpleRestContainer_1 = class SimpleRestContainer {
8166
8167
  if (requestOptions.body) {
8167
8168
  debug$4('Request.form and request.body are mutually exclusive');
8168
8169
  }
8170
+ requestOptions.headers['Content-Type'] = 'application/x-www-form-urlencoded';
8169
8171
  requestOptions.body = new URLSearchParams(requestOptions.form).toString();
8170
- // it is set automatically by fetch
8171
- // requestOptions.headers['Content-Type'] = 'application/x-www-form-urlencoded'
8172
8172
  delete requestOptions.form;
8173
8173
  }
8174
8174
  return requestOptions;
@@ -8588,11 +8588,11 @@ var SimpleRestContainer_1 = class SimpleRestContainer {
8588
8588
  }
8589
8589
  }
8590
8590
  this._addRequestOptions(requestOptions);
8591
- this._fetchify(requestOptions);
8592
8591
  await executeHook(this.caps, this.requestHook, Object.assign({
8593
8592
  requestOptions
8594
8593
  }, this.view));
8595
8594
  this._addRequestCookies(requestOptions);
8595
+ this._fetchify(requestOptions);
8596
8596
  return requestOptions;
8597
8597
  }
8598
8598
  async _waitForUrlResponse(httpConfig, retries) {