@spiffcommerce/core 27.1.0-beta.a8655933-c975-59bd-aacc-b66e4a8fd124 → 27.1.0-beta.de59798c-64e3-5d17-b483-6b76ccac8338
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 +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -10857,9 +10857,10 @@ class mo {
|
|
|
10857
10857
|
await this.onSelectionChange(), n && await n();
|
|
10858
10858
|
}
|
|
10859
10859
|
async ensureStepsAreLoaded() {
|
|
10860
|
+
console.log("ensuring steps loaded"), console.trace();
|
|
10860
10861
|
const e = Dt(this.allScenes, this.stepSelections).map((l) => l.renderableSteps), a = [], n = e.flat();
|
|
10861
10862
|
for (const l of n)
|
|
10862
|
-
if (!this.stepInitialised[l.stepName])
|
|
10863
|
+
if (console.log(`checking step ${l.stepName} (${this.stepInitialised[l.stepName]})`), !this.stepInitialised[l.stepName])
|
|
10863
10864
|
switch (this.stepInitialised[l.stepName] = !0, l.type) {
|
|
10864
10865
|
case P.DigitalContent:
|
|
10865
10866
|
a.push(
|
|
@@ -10907,7 +10908,7 @@ class mo {
|
|
|
10907
10908
|
a.push(zt.init(l, this, this.reloadedState));
|
|
10908
10909
|
break;
|
|
10909
10910
|
case P.Text:
|
|
10910
|
-
a.push(W.init(l, this, this.reloadedState));
|
|
10911
|
+
console.log(`initing for ${l.stepName}`), a.push(W.init(l, this, this.reloadedState));
|
|
10911
10912
|
break;
|
|
10912
10913
|
}
|
|
10913
10914
|
const i = (await Promise.allSettled(a)).map((l) => {
|
|
@@ -15829,7 +15830,7 @@ class rd {
|
|
|
15829
15830
|
} catch (a) {
|
|
15830
15831
|
throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
|
|
15831
15832
|
}
|
|
15832
|
-
}, this.options = t, this.options.applicationKey && Rr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 27.1.0-beta.
|
|
15833
|
+
}, this.options = t, this.options.applicationKey && Rr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 27.1.0-beta.a8655933-c975-59bd-aacc-b66e4a8fd124"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
15833
15834
|
}
|
|
15834
15835
|
configure(t) {
|
|
15835
15836
|
mt.setHubUrl(t.hubUrl), mt.setServerUrl(t.serverUrl), mt.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 && $r(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
|