botium-core 1.13.6 → 1.13.7

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.
@@ -81,7 +81,7 @@ var express__default = /*#__PURE__*/_interopDefaultLegacy(express);
81
81
  var bodyParser__default = /*#__PURE__*/_interopDefaultLegacy(bodyParser);
82
82
 
83
83
  var name = "botium-core";
84
- var version$1 = "1.13.6";
84
+ var version$1 = "1.13.7";
85
85
  var description = "The Selenium for Chatbots";
86
86
  var main = "index.js";
87
87
  var module$1 = "dist/botium-es.js";
@@ -1367,7 +1367,7 @@ var LogicHookUtils_1 = class LogicHookUtils {
1367
1367
 
1368
1368
 
1369
1369
  if (hookType === 'asserter') {
1370
- const asserter = DEFAULT_ASSERTERS.find(asserter => src === asserter.className);
1370
+ const asserter = DEFAULT_ASSERTERS.find(asserter => src === asserter.className || src === asserter.name);
1371
1371
 
1372
1372
  if (asserter) {
1373
1373
  return new asserter.Class({
@@ -1378,7 +1378,7 @@ var LogicHookUtils_1 = class LogicHookUtils {
1378
1378
  }
1379
1379
 
1380
1380
  if (hookType === 'logichook') {
1381
- const lh = DEFAULT_LOGIC_HOOKS.find(lh => src === lh.className);
1381
+ const lh = DEFAULT_LOGIC_HOOKS.find(lh => src === lh.className || src === lh.name);
1382
1382
 
1383
1383
  if (lh) {
1384
1384
  return new lh.Class({
@@ -1389,7 +1389,7 @@ var LogicHookUtils_1 = class LogicHookUtils {
1389
1389
  }
1390
1390
 
1391
1391
  if (hookType === 'userinput') {
1392
- const ui = DEFAULT_USER_INPUTS.find(ui => src === ui.className);
1392
+ const ui = DEFAULT_USER_INPUTS.find(ui => src === ui.className || src === ui.name);
1393
1393
 
1394
1394
  if (ui) {
1395
1395
  return new ui.Class({