@digipair/engine 0.121.13 → 0.121.15

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/dist/index.cjs.js CHANGED
@@ -166,7 +166,7 @@ const executePins = async (settingsOrigin, context = {})=>{
166
166
  if (!pins) {
167
167
  throw new Error(`Element ${settings.element} not found in library ${settings.library}`);
168
168
  }
169
- const result = await pins(settings.properties, settings.pins, context);
169
+ const result = await pins(settings._properties ?? settings.properties, settings.pins, context);
170
170
  _config.LOGGER('INFO', context.__PATH__, `execute:${settings.library}:${settings.element}:end`, context, result);
171
171
  return result;
172
172
  };
package/dist/index.esm.js CHANGED
@@ -44855,7 +44855,7 @@ const executePins = async (settingsOrigin, context = {})=>{
44855
44855
  if (!pins) {
44856
44856
  throw new Error(`Element ${settings.element} not found in library ${settings.library}`);
44857
44857
  }
44858
- const result = await pins(settings.properties, settings.pins, context);
44858
+ const result = await pins(settings._properties ?? settings.properties, settings.pins, context);
44859
44859
  _config.LOGGER('INFO', context.__PATH__, `execute:${settings.library}:${settings.element}:end`, context, result);
44860
44860
  return result;
44861
44861
  };
@@ -1,9 +1,12 @@
1
1
  export interface PinsSettings {
2
+ _properties: {
3
+ [key: string]: any;
4
+ } | undefined;
2
5
  library: string;
3
6
  element: string;
4
7
  properties?: {
5
8
  [key: string]: any;
6
- };
9
+ } | undefined;
7
10
  conditions?: {
8
11
  if?: boolean;
9
12
  each?: any[];
@@ -1 +1 @@
1
- {"version":3,"file":"pins-settings.interface.d.ts","sourceRoot":"","sources":["../../../src/lib/pins-settings.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,CAAC;IACpC,UAAU,CAAC,EAAE;QACX,EAAE,CAAC,EAAE,OAAO,CAAC;QACb,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;KACd,CAAC;IACF,IAAI,CAAC,EAAE,YAAY,EAAE,CAAC;IACtB,MAAM,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,EAAE,CAAA;KAAE,CAAC;CAC5C"}
1
+ {"version":3,"file":"pins-settings.interface.d.ts","sourceRoot":"","sources":["../../../src/lib/pins-settings.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,WAAW,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAChD,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAE,GAAG,SAAS,CAAC;IAChD,UAAU,CAAC,EAAE;QACX,EAAE,CAAC,EAAE,OAAO,CAAC;QACb,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;KACd,CAAC;IACF,IAAI,CAAC,EAAE,YAAY,EAAE,CAAC;IACtB,MAAM,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,YAAY,EAAE,CAAA;KAAE,CAAC;CAC5C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/engine",
3
- "version": "0.121.13",
3
+ "version": "0.121.15",
4
4
  "main": "./dist/index.cjs.js",
5
5
  "module": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",