@digipair/engine 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.cjs.js CHANGED
@@ -8252,7 +8252,6 @@ const executePins = async (settingsOrigin, context = {})=>{
8252
8252
  }
8253
8253
  results.push(itemResult);
8254
8254
  }
8255
- _config.LOGGER('INFO', context.__PATH__, 'execute:end', context, results);
8256
8255
  return results;
8257
8256
  }
8258
8257
  if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
@@ -8263,7 +8262,9 @@ const executePins = async (settingsOrigin, context = {})=>{
8263
8262
  if (!pins) {
8264
8263
  throw new Error(`Element ${settings.element} not found in library ${settings.library}`);
8265
8264
  }
8266
- return await pins(settings.properties, settings.pins, context);
8265
+ const result = await pins(settings.properties, settings.pins, context);
8266
+ _config.LOGGER('INFO', context.__PATH__, 'execute:end', context, result);
8267
+ return result;
8267
8268
  };
8268
8269
  const executePinsList = async (pinsSettingsList, context, path = 'root')=>{
8269
8270
  let previous = {};
package/index.esm.js CHANGED
@@ -23899,14 +23899,14 @@ function indent(str, spaces) {
23899
23899
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23900
23900
  // match is required
23901
23901
  if (!match) {
23902
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23902
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
23903
23903
  v: nextMatch1
23904
23904
  };
23905
23905
  }
23906
23906
  var token = match.token, offset = match.offset;
23907
23907
  i1 += offset;
23908
23908
  if (token === " ") {
23909
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23909
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23910
23910
  }
23911
23911
  tokens1 = _to_consumable_array$1(tokens1).concat([
23912
23912
  token
@@ -23925,7 +23925,7 @@ function indent(str, spaces) {
23925
23925
  if (contextKeys.some(function(el) {
23926
23926
  return el.startsWith(name);
23927
23927
  })) {
23928
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23928
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23929
23929
  }
23930
23930
  if (dateTimeIdentifiers.some(function(el) {
23931
23931
  return el === name;
@@ -23944,9 +23944,9 @@ function indent(str, spaces) {
23944
23944
  if (dateTimeIdentifiers.some(function(el) {
23945
23945
  return el.startsWith(name);
23946
23946
  })) {
23947
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23947
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, "continue";
23948
23948
  }
23949
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23949
+ return nextMatch = nextMatch1, i = i1, tokens = tokens1, {
23950
23950
  v: nextMatch1
23951
23951
  };
23952
23952
  };
@@ -27931,7 +27931,6 @@ const executePins = async (settingsOrigin, context = {})=>{
27931
27931
  }
27932
27932
  results.push(itemResult);
27933
27933
  }
27934
- _config.LOGGER('INFO', context.__PATH__, 'execute:end', context, results);
27935
27934
  return results;
27936
27935
  }
27937
27936
  if (typeof ((_settings_conditions1 = settings.conditions) == null ? void 0 : _settings_conditions1.if) !== 'undefined' && !settings.conditions.if) {
@@ -27942,7 +27941,9 @@ const executePins = async (settingsOrigin, context = {})=>{
27942
27941
  if (!pins) {
27943
27942
  throw new Error(`Element ${settings.element} not found in library ${settings.library}`);
27944
27943
  }
27945
- return await pins(settings.properties, settings.pins, context);
27944
+ const result = await pins(settings.properties, settings.pins, context);
27945
+ _config.LOGGER('INFO', context.__PATH__, 'execute:end', context, result);
27946
+ return result;
27946
27947
  };
27947
27948
  const executePinsList = async (pinsSettingsList, context, path = 'root')=>{
27948
27949
  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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/engine",
3
- "version": "0.71.2",
3
+ "version": "0.71.4",
4
4
  "keywords": [
5
5
  "digipair",
6
6
  "web"