@spiffcommerce/core 34.4.1-beta.9cf5a3f6-8972-5c5e-b74e-ca7edaa78541 → 34.4.1-beta.bf5c28f5-8552-52a0-841f-46d5240fb5bd
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 +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8750,7 +8750,9 @@ class Xo {
|
|
|
8750
8750
|
height: s.height,
|
|
8751
8751
|
width: s.width,
|
|
8752
8752
|
scale: t.data.imageFillScale || 1
|
|
8753
|
-
} : void 0, c = this.getDefaultStrokeColorVariant(t.data)
|
|
8753
|
+
} : void 0, c = this.getDefaultStrokeColorVariant(t.data);
|
|
8754
|
+
console.log(`log: default ${JSON.stringify(c, null, 2)}`);
|
|
8755
|
+
const d = c?.color ? {
|
|
8754
8756
|
browserValue: c.color,
|
|
8755
8757
|
pmsValue: c.name
|
|
8756
8758
|
} : void 0;
|
|
@@ -9087,7 +9089,7 @@ class Xo {
|
|
|
9087
9089
|
}
|
|
9088
9090
|
getDefaultStrokeColorVariant(t) {
|
|
9089
9091
|
const e = t.strokeOption;
|
|
9090
|
-
if (e)
|
|
9092
|
+
if (console.log(`log: stroke option for step is ${JSON.stringify(e, null, 2)}`), !!e)
|
|
9091
9093
|
return V.getDefaultVariant(e);
|
|
9092
9094
|
}
|
|
9093
9095
|
async fontDataFromVariant(t) {
|
|
@@ -10984,7 +10986,7 @@ const nl = (n) => n.sort((t, e) => t.index - e.index).map((t) => ({
|
|
|
10984
10986
|
throw console.error(g), this.initialized = !1, new Error("Workflow initialization failed due to an error. See console.");
|
|
10985
10987
|
}), this.initializationPromise.finally(
|
|
10986
10988
|
() => this.commandContext.registerStateCallback(() => {
|
|
10987
|
-
this.updateStateWithServer(), this.renderLayouts();
|
|
10989
|
+
console.log("log: state callback"), this.updateStateWithServer(), this.renderLayouts();
|
|
10988
10990
|
})
|
|
10989
10991
|
), h && await this.injectIntoPreviewService(h, !0);
|
|
10990
10992
|
}, this.renderLayouts = () => {
|
|
@@ -16167,7 +16169,7 @@ class Ud {
|
|
|
16167
16169
|
} catch (a) {
|
|
16168
16170
|
throw console.error(a), new gt("Critical - Unable to synchronize workflow state with server.");
|
|
16169
16171
|
}
|
|
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("------------------------");
|
|
16172
|
+
}, this.options = t, this.options.applicationKey && nr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 34.4.1-beta.ba0b3078-f186-5da9-9ea7-a1c70c98b862"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
16171
16173
|
}
|
|
16172
16174
|
configure(t) {
|
|
16173
16175
|
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);
|