@digipair/engine 0.1.0 → 0.1.2
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 +3 -2
- package/index.esm.js +3 -2
- package/package.json +1 -1
package/index.cjs.js
CHANGED
@@ -12474,7 +12474,7 @@ const executePins = async (settingsOrigin, context = {}, options = {
|
|
12474
12474
|
})=>{
|
12475
12475
|
const settings = await preparePinsSettings(settingsOrigin, context, options);
|
12476
12476
|
const version = options.libraries[settings.library] || 'latest';
|
12477
|
-
const library = _config.LIBRARIES[settings.library] || await (function (t) { return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(t)); }); })(`${_config.BASE_URL}/${settings.library}@${version}/index.js`);
|
12477
|
+
const library = _config.LIBRARIES[settings.library] || await (function (t) { return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(t)); }); })(`${_config.BASE_URL}/${settings.library}@${version}/index.esm.js`);
|
12478
12478
|
const pins = library == null ? void 0 : library[settings.element];
|
12479
12479
|
if (!pins) {
|
12480
12480
|
throw new Error(`Element ${settings.element} not found in library ${settings.library}`);
|
@@ -12489,7 +12489,7 @@ const generateElementFromPins = async (pinsSettings, context, options = {
|
|
12489
12489
|
const library = pinsSettings.library;
|
12490
12490
|
if (library !== 'web' && !_config.LIBRARIES[library]) {
|
12491
12491
|
const version = options.libraries[library] || 'latest';
|
12492
|
-
(function (t) { return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(t)); }); })(`${_config.BASE_URL}/${library}@${version}/index.js`);
|
12492
|
+
(function (t) { return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespace(require(t)); }); })(`${_config.BASE_URL}/${library}@${version}/index.esm.js`);
|
12493
12493
|
}
|
12494
12494
|
const settings = await preparePinsSettings(pinsSettings, context, options);
|
12495
12495
|
Object.entries(settings.properties || {}).forEach(([key, value])=>{
|
@@ -12531,6 +12531,7 @@ const executePinsList = async (pinsSettingsList, context, options = {
|
|
12531
12531
|
steps,
|
12532
12532
|
parent: {
|
12533
12533
|
previous: context.previous,
|
12534
|
+
steps: context.steps,
|
12534
12535
|
parent: context.parent
|
12535
12536
|
}
|
12536
12537
|
}), options);
|
package/index.esm.js
CHANGED
@@ -12452,7 +12452,7 @@ const executePins = async (settingsOrigin, context = {}, options = {
|
|
12452
12452
|
})=>{
|
12453
12453
|
const settings = await preparePinsSettings(settingsOrigin, context, options);
|
12454
12454
|
const version = options.libraries[settings.library] || 'latest';
|
12455
|
-
const library = _config.LIBRARIES[settings.library] || await import(`${_config.BASE_URL}/${settings.library}@${version}/index.js`);
|
12455
|
+
const library = _config.LIBRARIES[settings.library] || await import(`${_config.BASE_URL}/${settings.library}@${version}/index.esm.js`);
|
12456
12456
|
const pins = library == null ? void 0 : library[settings.element];
|
12457
12457
|
if (!pins) {
|
12458
12458
|
throw new Error(`Element ${settings.element} not found in library ${settings.library}`);
|
@@ -12467,7 +12467,7 @@ const generateElementFromPins = async (pinsSettings, context, options = {
|
|
12467
12467
|
const library = pinsSettings.library;
|
12468
12468
|
if (library !== 'web' && !_config.LIBRARIES[library]) {
|
12469
12469
|
const version = options.libraries[library] || 'latest';
|
12470
|
-
import(`${_config.BASE_URL}/${library}@${version}/index.js`);
|
12470
|
+
import(`${_config.BASE_URL}/${library}@${version}/index.esm.js`);
|
12471
12471
|
}
|
12472
12472
|
const settings = await preparePinsSettings(pinsSettings, context, options);
|
12473
12473
|
Object.entries(settings.properties || {}).forEach(([key, value])=>{
|
@@ -12509,6 +12509,7 @@ const executePinsList = async (pinsSettingsList, context, options = {
|
|
12509
12509
|
steps,
|
12510
12510
|
parent: {
|
12511
12511
|
previous: context.previous,
|
12512
|
+
steps: context.steps,
|
12512
12513
|
parent: context.parent
|
12513
12514
|
}
|
12514
12515
|
}), options);
|