@digipair/skill-web-chatbot 0.100.1 → 0.101.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 +2 -0
- package/index.esm2.js +7 -5
- package/package.json +1 -1
package/index.cjs2.js
CHANGED
|
@@ -41715,6 +41715,8 @@ const applyTemplate = (value, context)=>{
|
|
|
41715
41715
|
btoa: (value)=>btoa(value),
|
|
41716
41716
|
encodeURIComponent: (value)=>encodeURIComponent(value),
|
|
41717
41717
|
decodeURIComponent: (value)=>decodeURIComponent(value),
|
|
41718
|
+
encodeUTF8: (value)=>Array.from(new TextEncoder().encode(value)).map((b)=>String.fromCharCode(b)).join(''),
|
|
41719
|
+
decodeUTF8: (value)=>new TextDecoder().decode(new Uint8Array(Array.from(value).map((c)=>c.charCodeAt(0)))),
|
|
41718
41720
|
JSONparse: (value)=>JSON.parse(value),
|
|
41719
41721
|
JSONstringify: (value)=>JSON.stringify(value)
|
|
41720
41722
|
}));
|
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
|
|
37735
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
|
|
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
|
|
37742
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, "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
|
|
37761
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, "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
|
|
37780
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, "continue";
|
|
37781
37781
|
}
|
|
37782
|
-
return
|
|
37782
|
+
return nextMatch = nextMatch1, tokens = tokens1, i = i1, {
|
|
37783
37783
|
v: nextMatch1
|
|
37784
37784
|
};
|
|
37785
37785
|
};
|
|
@@ -41695,6 +41695,8 @@ const applyTemplate = (value, context)=>{
|
|
|
41695
41695
|
btoa: (value)=>btoa(value),
|
|
41696
41696
|
encodeURIComponent: (value)=>encodeURIComponent(value),
|
|
41697
41697
|
decodeURIComponent: (value)=>decodeURIComponent(value),
|
|
41698
|
+
encodeUTF8: (value)=>Array.from(new TextEncoder().encode(value)).map((b)=>String.fromCharCode(b)).join(''),
|
|
41699
|
+
decodeUTF8: (value)=>new TextDecoder().decode(new Uint8Array(Array.from(value).map((c)=>c.charCodeAt(0)))),
|
|
41698
41700
|
JSONparse: (value)=>JSON.parse(value),
|
|
41699
41701
|
JSONstringify: (value)=>JSON.stringify(value)
|
|
41700
41702
|
}));
|