@spiffcommerce/core 33.13.4-beta.a915c507-d6b0-5137-add0-3ded3461024c → 33.13.5-beta.1c282eb7-5404-59ad-a3ca-4a7ff6af85c7
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -8
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11926,11 +11926,8 @@ class il extends tt {
|
|
|
11926
11926
|
*/
|
|
11927
11927
|
getColors() {
|
|
11928
11928
|
const t = this.manager.getRegionElements(this.step.stepName) || [];
|
|
11929
|
-
if (t.length === 0)
|
|
11930
|
-
|
|
11931
|
-
return;
|
|
11932
|
-
}
|
|
11933
|
-
const e = L(t[0].id, this.manager.getAllLayoutData()), a = e.colors, r = this.getCurrentVariant()?.getAssetResource()?.assetConfiguration, o = r?.defaultColorVariants || [];
|
|
11929
|
+
if (t.length === 0) return;
|
|
11930
|
+
const a = L(t[0].id, this.manager.getAllLayoutData()).colors, r = this.getCurrentVariant()?.getAssetResource()?.assetConfiguration, o = r?.defaultColorVariants || [];
|
|
11934
11931
|
if (o.length !== 0) {
|
|
11935
11932
|
const s = {};
|
|
11936
11933
|
return o.forEach((l) => {
|
|
@@ -11939,10 +11936,10 @@ class il extends tt {
|
|
|
11939
11936
|
const d = c.id.replace(/\W/g, "");
|
|
11940
11937
|
s[l.channelNumber] = { browserValue: a[d]?.browserValue || "" };
|
|
11941
11938
|
}
|
|
11942
|
-
}),
|
|
11939
|
+
}), s;
|
|
11943
11940
|
}
|
|
11944
11941
|
try {
|
|
11945
|
-
return
|
|
11942
|
+
return a;
|
|
11946
11943
|
} catch (s) {
|
|
11947
11944
|
console.error(s);
|
|
11948
11945
|
}
|
|
@@ -16202,7 +16199,7 @@ class $d {
|
|
|
16202
16199
|
} catch (a) {
|
|
16203
16200
|
throw console.error(a), new mt("Critical - Unable to synchronize workflow state with server.");
|
|
16204
16201
|
}
|
|
16205
|
-
}, this.options = t, this.options.applicationKey && rr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 33.13.
|
|
16202
|
+
}, this.options = t, this.options.applicationKey && rr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 33.13.5"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
16206
16203
|
}
|
|
16207
16204
|
configure(t) {
|
|
16208
16205
|
ft.setHubUrl(t.hubUrl), ft.setServerUrl(t.serverUrl), ft.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 && sr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Vt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
|