@spiffcommerce/core 34.4.1-beta.bf5c28f5-8552-52a0-841f-46d5240fb5bd → 34.4.1-beta.d6d7bd56-1aec-57cf-9351-1ccdcad29944
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -8750,9 +8750,7 @@ 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)
|
|
8754
|
-
console.log(`log: default ${JSON.stringify(c, null, 2)}`);
|
|
8755
|
-
const d = c?.color ? {
|
|
8753
|
+
} : void 0, c = this.getDefaultStrokeColorVariant(t.data), d = t.data.strokeEnabled && c?.color ? {
|
|
8756
8754
|
browserValue: c.color,
|
|
8757
8755
|
pmsValue: c.name
|
|
8758
8756
|
} : void 0;
|
|
@@ -9089,7 +9087,7 @@ class Xo {
|
|
|
9089
9087
|
}
|
|
9090
9088
|
getDefaultStrokeColorVariant(t) {
|
|
9091
9089
|
const e = t.strokeOption;
|
|
9092
|
-
if (
|
|
9090
|
+
if (e)
|
|
9093
9091
|
return V.getDefaultVariant(e);
|
|
9094
9092
|
}
|
|
9095
9093
|
async fontDataFromVariant(t) {
|
|
@@ -16169,7 +16167,7 @@ class Ud {
|
|
|
16169
16167
|
} catch (a) {
|
|
16170
16168
|
throw console.error(a), new gt("Critical - Unable to synchronize workflow state with server.");
|
|
16171
16169
|
}
|
|
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.
|
|
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-beta.9cf5a3f6-8972-5c5e-b74e-ca7edaa78541"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
16173
16171
|
}
|
|
16174
16172
|
configure(t) {
|
|
16175
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);
|