@spiffcommerce/core 34.4.1-beta.9cf5a3f6-8972-5c5e-b74e-ca7edaa78541 → 34.4.1-beta.ba0b3078-f186-5da9-9ea7-a1c70c98b862

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.mjs CHANGED
@@ -8750,7 +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), d = t.data.strokeEnabled && c?.color ? {
8753
+ } : void 0, c = this.getDefaultStrokeColorVariant(t.data), d = c?.color ? {
8754
8754
  browserValue: c.color,
8755
8755
  pmsValue: c.name
8756
8756
  } : void 0;
@@ -9087,7 +9087,7 @@ class Xo {
9087
9087
  }
9088
9088
  getDefaultStrokeColorVariant(t) {
9089
9089
  const e = t.strokeOption;
9090
- if (e)
9090
+ if (console.log(`log: stroke option for step is ${JSON.stringify(e, null, 2)}`), !!e)
9091
9091
  return V.getDefaultVariant(e);
9092
9092
  }
9093
9093
  async fontDataFromVariant(t) {
@@ -10984,7 +10984,7 @@ const nl = (n) => n.sort((t, e) => t.index - e.index).map((t) => ({
10984
10984
  throw console.error(g), this.initialized = !1, new Error("Workflow initialization failed due to an error. See console.");
10985
10985
  }), this.initializationPromise.finally(
10986
10986
  () => this.commandContext.registerStateCallback(() => {
10987
- this.updateStateWithServer(), this.renderLayouts();
10987
+ console.log("log: state callback"), this.updateStateWithServer(), this.renderLayouts();
10988
10988
  })
10989
10989
  ), h && await this.injectIntoPreviewService(h, !0);
10990
10990
  }, this.renderLayouts = () => {
@@ -16167,7 +16167,7 @@ class Ud {
16167
16167
  } catch (a) {
16168
16168
  throw console.error(a), new gt("Critical - Unable to synchronize workflow state with server.");
16169
16169
  }
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("------------------------");
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.827901f8-3412-509a-84d5-bf0bf6d771b0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16171
16171
  }
16172
16172
  configure(t) {
16173
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);