@digipair/skill-web-chatbot 0.22.1 → 0.23.1

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
@@ -52659,14 +52659,14 @@ function indent(str, spaces) {
52659
52659
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
52660
52660
  // match is required
52661
52661
  if (!match) {
52662
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
52662
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
52663
52663
  v: nextMatch1
52664
52664
  };
52665
52665
  }
52666
52666
  var token = match.token, offset = match.offset;
52667
52667
  i1 += offset;
52668
52668
  if (token === " ") {
52669
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
52669
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
52670
52670
  }
52671
52671
  tokens1 = _to_consumable_array$9(tokens1).concat([
52672
52672
  token
@@ -52685,7 +52685,7 @@ function indent(str, spaces) {
52685
52685
  if (contextKeys.some(function(el) {
52686
52686
  return el.startsWith(name);
52687
52687
  })) {
52688
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
52688
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
52689
52689
  }
52690
52690
  if (dateTimeIdentifiers.some(function(el) {
52691
52691
  return el === name;
@@ -52704,9 +52704,9 @@ function indent(str, spaces) {
52704
52704
  if (dateTimeIdentifiers.some(function(el) {
52705
52705
  return el.startsWith(name);
52706
52706
  })) {
52707
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, "continue";
52707
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
52708
52708
  }
52709
- return i = i1, nextMatch = nextMatch1, tokens = tokens1, {
52709
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
52710
52710
  v: nextMatch1
52711
52711
  };
52712
52712
  };
@@ -56518,6 +56518,7 @@ const applyTemplate = (value, context)=>{
56518
56518
  const path = result.replace(/^EVALUATE:/, '');
56519
56519
  result = evaluate(path, _extends({}, context, {
56520
56520
  getTime: (time)=>new Date(time).getTime(),
56521
+ fromTime: (time)=>new Date(time).toISOString(),
56521
56522
  atob: (value)=>atob(value),
56522
56523
  btoa: (value)=>btoa(value),
56523
56524
  encodeURIComponent: (value)=>encodeURIComponent(value),
package/index.esm2.js CHANGED
@@ -56498,6 +56498,7 @@ const applyTemplate = (value, context)=>{
56498
56498
  const path = result.replace(/^EVALUATE:/, '');
56499
56499
  result = evaluate(path, _extends({}, context, {
56500
56500
  getTime: (time)=>new Date(time).getTime(),
56501
+ fromTime: (time)=>new Date(time).toISOString(),
56501
56502
  atob: (value)=>atob(value),
56502
56503
  btoa: (value)=>btoa(value),
56503
56504
  encodeURIComponent: (value)=>encodeURIComponent(value),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-web-chatbot",
3
- "version": "0.22.1",
3
+ "version": "0.23.1",
4
4
  "dependencies": {},
5
5
  "typings": "./index.d.ts",
6
6
  "main": "./index.cjs.js",