@spiffcommerce/core 34.4.0 → 34.4.1-beta.9cf5a3f6-8972-5c5e-b74e-ca7edaa78541
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/CHANGELOG.md +6 -0
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -6990,7 +6990,7 @@ class ta extends O {
|
|
|
6990
6990
|
super(), this.id = t, this.strokeColor = e, this.strokeThickness = a;
|
|
6991
6991
|
}
|
|
6992
6992
|
apply(t) {
|
|
6993
|
-
this.oldState = t;
|
|
6993
|
+
console.log("log: apply textStrokeCommand"), this.oldState = t;
|
|
6994
6994
|
const e = z(this.id, Object.values(t.layouts));
|
|
6995
6995
|
if (!e.id)
|
|
6996
6996
|
throw new W();
|
|
@@ -8408,11 +8408,10 @@ class jo {
|
|
|
8408
8408
|
if (a)
|
|
8409
8409
|
await this.reload(t, e, a);
|
|
8410
8410
|
else {
|
|
8411
|
-
|
|
8412
|
-
|
|
8413
|
-
|
|
8414
|
-
return this.selectVariantLambda(t,
|
|
8415
|
-
}
|
|
8411
|
+
i.variants;
|
|
8412
|
+
const r = V.getDefaultVariant(i, t.overrideDefaultVariantId);
|
|
8413
|
+
if (r)
|
|
8414
|
+
return this.selectVariantLambda(t, r.id || "", e);
|
|
8416
8415
|
}
|
|
8417
8416
|
return null;
|
|
8418
8417
|
}
|
|
@@ -11694,7 +11693,7 @@ const nl = (n) => n.sort((t, e) => t.index - e.index).map((t) => ({
|
|
|
11694
11693
|
this.editedCallbacks.forEach((t) => t(this.editedSteps));
|
|
11695
11694
|
}
|
|
11696
11695
|
onElementsChange() {
|
|
11697
|
-
this.elementsCallbacks.forEach((t) => t(this.stepElements));
|
|
11696
|
+
console.log("log: onElementsChange"), this.elementsCallbacks.forEach((t) => t(this.stepElements));
|
|
11698
11697
|
}
|
|
11699
11698
|
onInformationResultChange() {
|
|
11700
11699
|
this.informationResultCallbacks.forEach((t) => t(this.informationResults));
|
|
@@ -11716,6 +11715,7 @@ const nl = (n) => n.sort((t, e) => t.index - e.index).map((t) => ({
|
|
|
11716
11715
|
});
|
|
11717
11716
|
}
|
|
11718
11717
|
async onSelectionChange() {
|
|
11718
|
+
console.log("log: onSelectionChange");
|
|
11719
11719
|
const t = await this.traversableScenes();
|
|
11720
11720
|
for (const e of this.selectionCallbacks)
|
|
11721
11721
|
e({
|
|
@@ -16167,7 +16167,7 @@ class Ud {
|
|
|
16167
16167
|
} catch (a) {
|
|
16168
16168
|
throw console.error(a), new gt("Critical - Unable to synchronize workflow state with server.");
|
|
16169
16169
|
}
|
|
16170
|
-
}, this.options = t, this.options.applicationKey && nr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 34.4.
|
|
16170
|
+
}, this.options = t, this.options.applicationKey && nr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 34.4.1"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
16171
16171
|
}
|
|
16172
16172
|
configure(t) {
|
|
16173
16173
|
pt.setHubUrl(t.hubUrl), pt.setServerUrl(t.serverUrl), pt.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, this.userPoolClientId = t.userPoolClientId, this.userPoolRegion = t.userPoolRegion, this.spiffRegion = t.spiffRegion, t.bearerAuthenticationToken && rr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
|