@digipair/skill-web-chatbot 0.71.2 → 0.71.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/index.cjs2.js +8 -7
- package/index.esm2.js +8 -7
- package/libs/engine/src/lib/engine.d.ts +1 -1
- package/package.json +1 -1
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 tokens = tokens1,
|
|
37755
|
+
return tokens = tokens1, i = i1, 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 tokens = tokens1,
|
|
37762
|
+
return tokens = tokens1, i = i1, 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 tokens = tokens1,
|
|
37781
|
+
return tokens = tokens1, i = i1, 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 tokens = tokens1,
|
|
37800
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
|
|
37801
37801
|
}
|
|
37802
|
-
return tokens = tokens1,
|
|
37802
|
+
return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
|
|
37803
37803
|
v: nextMatch1
|
|
37804
37804
|
};
|
|
37805
37805
|
};
|
|
@@ -41784,7 +41784,6 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
|
41784
41784
|
}
|
|
41785
41785
|
results.push(itemResult);
|
|
41786
41786
|
}
|
|
41787
|
-
_config$1.LOGGER('INFO', context.__PATH__, 'execute:end', context, results);
|
|
41788
41787
|
return results;
|
|
41789
41788
|
}
|
|
41790
41789
|
if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
|
|
@@ -41795,7 +41794,9 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
|
41795
41794
|
if (!pins) {
|
|
41796
41795
|
throw new Error(`Element ${settings.element} not found in library ${settings.library}`);
|
|
41797
41796
|
}
|
|
41798
|
-
|
|
41797
|
+
const result = await pins(settings.properties, settings.pins, context);
|
|
41798
|
+
_config$1.LOGGER('INFO', context.__PATH__, 'execute:end', context, result);
|
|
41799
|
+
return result;
|
|
41799
41800
|
};
|
|
41800
41801
|
const executePinsList = async (pinsSettingsList, context, path = 'root')=>{
|
|
41801
41802
|
let previous = {};
|
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
|
};
|
|
@@ -41764,7 +41764,6 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
|
41764
41764
|
}
|
|
41765
41765
|
results.push(itemResult);
|
|
41766
41766
|
}
|
|
41767
|
-
_config$1.LOGGER('INFO', context.__PATH__, 'execute:end', context, results);
|
|
41768
41767
|
return results;
|
|
41769
41768
|
}
|
|
41770
41769
|
if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
|
|
@@ -41775,7 +41774,9 @@ const executePins = async (settingsOrigin, context = {})=>{
|
|
|
41775
41774
|
if (!pins) {
|
|
41776
41775
|
throw new Error(`Element ${settings.element} not found in library ${settings.library}`);
|
|
41777
41776
|
}
|
|
41778
|
-
|
|
41777
|
+
const result = await pins(settings.properties, settings.pins, context);
|
|
41778
|
+
_config$1.LOGGER('INFO', context.__PATH__, 'execute:end', context, result);
|
|
41779
|
+
return result;
|
|
41779
41780
|
};
|
|
41780
41781
|
const executePinsList = async (pinsSettingsList, context, path = 'root')=>{
|
|
41781
41782
|
let previous = {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PinsSettings } from './pins-settings.interface';
|
|
2
|
-
type CONFIG_KEY = 'BASE_URL' | 'LIBRARIES' | 'ALIAS';
|
|
2
|
+
type CONFIG_KEY = 'BASE_URL' | 'LIBRARIES' | 'ALIAS' | 'LOGGER';
|
|
3
3
|
export declare const config: {
|
|
4
4
|
set: (key: CONFIG_KEY, value: any) => void;
|
|
5
5
|
log: (level: string, path: string, message: string, context: any, data?: any) => any;
|