@spiffcommerce/core 33.13.4-beta.3775e146-5ec5-5c55-ae4d-808f77f90dd6 → 33.13.4-beta.a915c507-d6b0-5137-add0-3ded3461024c
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 +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -11930,7 +11930,7 @@ class il extends tt {
|
|
|
11930
11930
|
this.step.stepName === "d724f23b-162f-e40c-5049-c4470c80c839" && console.log("LOG: no regions");
|
|
11931
11931
|
return;
|
|
11932
11932
|
}
|
|
11933
|
-
const
|
|
11933
|
+
const e = L(t[0].id, this.manager.getAllLayoutData()), a = e.colors, r = this.getCurrentVariant()?.getAssetResource()?.assetConfiguration, o = r?.defaultColorVariants || [];
|
|
11934
11934
|
if (o.length !== 0) {
|
|
11935
11935
|
const s = {};
|
|
11936
11936
|
return o.forEach((l) => {
|
|
@@ -11942,7 +11942,7 @@ class il extends tt {
|
|
|
11942
11942
|
}), this.step.stepName === "d724f23b-162f-e40c-5049-c4470c80c839" && console.log(`LOG: asset config case ${JSON.stringify(s, null, 2)}`), s;
|
|
11943
11943
|
}
|
|
11944
11944
|
try {
|
|
11945
|
-
return this.step.stepName === "d724f23b-162f-e40c-5049-c4470c80c839" && console.log(`LOG: standard case ${JSON.stringify(a, null, 2)}`), a;
|
|
11945
|
+
return this.step.stepName === "d724f23b-162f-e40c-5049-c4470c80c839" && console.log(`LOG: standard case ${JSON.stringify(a, null, 2)} | searched for el ${t[0].id} of ${JSON.stringify(t, null, 2)} and found ${JSON.stringify(e, null, 2)}`), a;
|
|
11946
11946
|
} catch (s) {
|
|
11947
11947
|
console.error(s);
|
|
11948
11948
|
}
|
|
@@ -16202,7 +16202,7 @@ class $d {
|
|
|
16202
16202
|
} catch (a) {
|
|
16203
16203
|
throw console.error(a), new mt("Critical - Unable to synchronize workflow state with server.");
|
|
16204
16204
|
}
|
|
16205
|
-
}, this.options = t, this.options.applicationKey && rr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 33.13.4"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
16205
|
+
}, this.options = t, this.options.applicationKey && rr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 33.13.4-beta.3775e146-5ec5-5c55-ae4d-808f77f90dd6"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
16206
16206
|
}
|
|
16207
16207
|
configure(t) {
|
|
16208
16208
|
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);
|