@spiffcommerce/core 31.2.4-beta.deb69c8f-1db2-5c9d-aec1-f3e61315a90a → 31.3.0-beta.8aeade77-41a6-54bd-82fd-d7fdbf2014de
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/CHANGELOG.md +7 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -5903,7 +5903,9 @@ function On(r, t) {
|
|
5903
5903
|
}
|
5904
5904
|
const ss = (r) => {
|
5905
5905
|
const e = (r.rotation || 0) * Math.PI / 180, a = Math.cos(e), n = -Math.sin(e), i = `text-path-${r.id}`, s = `text-fill-${r.id}`, o = r.x + (r.curved ? 0 : r.width / 2), l = r.y + (r.curved ? 0 : r.height / 2), c = On(r.text || "", r._renderingConfiguration?.templatingContext), d = c.split(`
|
5906
|
-
`)
|
5906
|
+
`);
|
5907
|
+
console.log({ text: c, config: r._renderingConfiguration?.templatingContext });
|
5908
|
+
const A = r.strokeColor?.browserValue && r.strokeThickness ? r.strokeColor?.browserValue : void 0, u = r.strokeColor?.browserValue && r.strokeThickness ? r.strokeThickness : void 0;
|
5907
5909
|
if (r.curved && !r.paths || !r.fontData)
|
5908
5910
|
return null;
|
5909
5911
|
const h = () => r.textFillImage ? `url("#${s}")` : r._renderingConfiguration?.spotColors && r.fillSpotColorDefinition ? `${r.fill} ${wn(r.fillSpotColorDefinition)}` : r.fill;
|
@@ -14360,7 +14362,7 @@ class ar {
|
|
14360
14362
|
link: "And",
|
14361
14363
|
metafields: a
|
14362
14364
|
} : void 0,
|
14363
|
-
|
14365
|
+
productWorkflowFilters: l ? {
|
14364
14366
|
link: "And",
|
14365
14367
|
metafields: l
|
14366
14368
|
} : void 0,
|
@@ -15962,7 +15964,7 @@ class md {
|
|
15962
15964
|
} catch (a) {
|
15963
15965
|
throw console.error(a), new ht("Critical - Unable to synchronize workflow state with server.");
|
15964
15966
|
}
|
15965
|
-
}, this.options = t, this.options.applicationKey && Lr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 31.
|
15967
|
+
}, this.options = t, this.options.applicationKey && Lr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 31.3.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
15966
15968
|
}
|
15967
15969
|
configure(t) {
|
15968
15970
|
gt.setHubUrl(t.hubUrl), gt.setServerUrl(t.serverUrl), gt.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 && zr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
|