@digipair/skill-web-chatbot 0.61.0 → 0.63.0

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/index.cjs2.js CHANGED
@@ -37752,14 +37752,14 @@ function indent(str, spaces) {
37752
37752
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
37753
37753
  // match is required
37754
37754
  if (!match) {
37755
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
37755
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
37756
37756
  v: nextMatch1
37757
37757
  };
37758
37758
  }
37759
37759
  var token = match.token, offset = match.offset;
37760
37760
  i1 += offset;
37761
37761
  if (token === " ") {
37762
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
37762
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
37763
37763
  }
37764
37764
  tokens1 = _to_consumable_array$c(tokens1).concat([
37765
37765
  token
@@ -37778,7 +37778,7 @@ function indent(str, spaces) {
37778
37778
  if (contextKeys.some(function(el) {
37779
37779
  return el.startsWith(name);
37780
37780
  })) {
37781
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
37781
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
37782
37782
  }
37783
37783
  if (dateTimeIdentifiers.some(function(el) {
37784
37784
  return el === name;
@@ -37797,9 +37797,9 @@ function indent(str, spaces) {
37797
37797
  if (dateTimeIdentifiers.some(function(el) {
37798
37798
  return el.startsWith(name);
37799
37799
  })) {
37800
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
37800
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
37801
37801
  }
37802
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
37802
+ return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
37803
37803
  v: nextMatch1
37804
37804
  };
37805
37805
  };
@@ -41715,12 +41715,16 @@ const executePins = async (settingsOrigin, context = {})=>{
41715
41715
  var _settings_conditions, _settings_conditions1;
41716
41716
  let settings = await preparePinsSettings(settingsOrigin, context);
41717
41717
  const alias = _config$1.ALIAS.find((alias)=>settings.library.split(':')[0] === alias.name);
41718
+ const config = context.config || {};
41719
+ let version = (config.VERSIONS || {})[settings.library] || 'latest';
41718
41720
  if (alias) {
41719
41721
  settings = await preparePinsSettings(_extends({}, settings, alias), {
41720
41722
  settings: _extends({}, settings, {
41723
+ version,
41721
41724
  library: settings.library.substring(alias.name.length + 1)
41722
41725
  })
41723
41726
  });
41727
+ version = (config.VERSIONS || {})[settings.library] || 'latest';
41724
41728
  }
41725
41729
  if ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.each) {
41726
41730
  const results = [];
@@ -41761,8 +41765,6 @@ const executePins = async (settingsOrigin, context = {})=>{
41761
41765
  if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
41762
41766
  throw 'DIGIPAIR_CONDITIONS_IF_FALSE';
41763
41767
  }
41764
- const config = context.config || {};
41765
- const version = (config.VERSIONS || {})[settings.library] || 'latest';
41766
41768
  const library = _config$1.LIBRARIES[settings.library] || (typeof window === 'undefined' ? require(settings.library) : await (function (t) { return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(t)); }); })(isRemoteVersion.test(version) ? `${version}` : `${_config$1.BASE_URL}/${settings.library}@${version}/index.esm.js`));
41767
41769
  const pins = library == null ? void 0 : library[settings.element];
41768
41770
  if (!pins) {
package/index.esm2.js CHANGED
@@ -37732,14 +37732,14 @@ function indent(str, spaces) {
37732
37732
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
37733
37733
  // match is required
37734
37734
  if (!match) {
37735
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
37735
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
37736
37736
  v: nextMatch1
37737
37737
  };
37738
37738
  }
37739
37739
  var token = match.token, offset = match.offset;
37740
37740
  i1 += offset;
37741
37741
  if (token === " ") {
37742
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
37742
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
37743
37743
  }
37744
37744
  tokens1 = _to_consumable_array$c(tokens1).concat([
37745
37745
  token
@@ -37758,7 +37758,7 @@ function indent(str, spaces) {
37758
37758
  if (contextKeys.some(function(el) {
37759
37759
  return el.startsWith(name);
37760
37760
  })) {
37761
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
37761
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
37762
37762
  }
37763
37763
  if (dateTimeIdentifiers.some(function(el) {
37764
37764
  return el === name;
@@ -37777,9 +37777,9 @@ function indent(str, spaces) {
37777
37777
  if (dateTimeIdentifiers.some(function(el) {
37778
37778
  return el.startsWith(name);
37779
37779
  })) {
37780
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, "continue";
37780
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
37781
37781
  }
37782
- return i = i1, tokens = tokens1, nextMatch = nextMatch1, {
37782
+ return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
37783
37783
  v: nextMatch1
37784
37784
  };
37785
37785
  };
@@ -41695,12 +41695,16 @@ const executePins = async (settingsOrigin, context = {})=>{
41695
41695
  var _settings_conditions, _settings_conditions1;
41696
41696
  let settings = await preparePinsSettings(settingsOrigin, context);
41697
41697
  const alias = _config$1.ALIAS.find((alias)=>settings.library.split(':')[0] === alias.name);
41698
+ const config = context.config || {};
41699
+ let version = (config.VERSIONS || {})[settings.library] || 'latest';
41698
41700
  if (alias) {
41699
41701
  settings = await preparePinsSettings(_extends({}, settings, alias), {
41700
41702
  settings: _extends({}, settings, {
41703
+ version,
41701
41704
  library: settings.library.substring(alias.name.length + 1)
41702
41705
  })
41703
41706
  });
41707
+ version = (config.VERSIONS || {})[settings.library] || 'latest';
41704
41708
  }
41705
41709
  if ((_settings_conditions = settings.conditions) == null ? void 0 : _settings_conditions.each) {
41706
41710
  const results = [];
@@ -41741,8 +41745,6 @@ const executePins = async (settingsOrigin, context = {})=>{
41741
41745
  if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
41742
41746
  throw 'DIGIPAIR_CONDITIONS_IF_FALSE';
41743
41747
  }
41744
- const config = context.config || {};
41745
- const version = (config.VERSIONS || {})[settings.library] || 'latest';
41746
41748
  const library = _config$1.LIBRARIES[settings.library] || (typeof window === 'undefined' ? require(settings.library) : await import(isRemoteVersion.test(version) ? `${version}` : `${_config$1.BASE_URL}/${settings.library}@${version}/index.esm.js`));
41747
41749
  const pins = library == null ? void 0 : library[settings.element];
41748
41750
  if (!pins) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web-chatbot",
3
- "version": "0.61.0",
3
+ "version": "0.63.0",
4
4
  "dependencies": {},
5
5
  "typings": "./index.d.ts",
6
6
  "main": "./index.cjs.js",