@spiffcommerce/core 32.2.0-beta.19153fed-e0bc-5f5f-8acf-49dc9a9c3eb8 → 32.2.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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -15347,7 +15347,9 @@ class _e {
|
|
15347
15347
|
}
|
15348
15348
|
async onGlobalPropertiesChanged(t, e) {
|
15349
15349
|
const a = await this.globalPropertyHandleService.getHandles(), n = this.globalPropertyHandleService.applyConditionsFromState(a, t), i = this.globalPropertyHandleService.applyConditionsFromState(a, e);
|
15350
|
-
this.checkConditionalHandlesChanged(n, i), this.checkMandatoryHandlesChanged(t, i)
|
15350
|
+
this.checkConditionalHandlesChanged(n, i), this.checkMandatoryHandlesChanged(t, i);
|
15351
|
+
const s = i.filter((o) => !n.includes(o));
|
15352
|
+
await Promise.all(s.map((o) => o.applyGlobalState()));
|
15351
15353
|
}
|
15352
15354
|
checkConditionalHandlesChanged(t, e) {
|
15353
15355
|
(() => {
|