@spiffcommerce/core 34.4.0-beta.01d6543a-6385-5c53-adb7-23cffa205bf5 → 34.4.1-beta.827901f8-3412-509a-84d5-bf0bf6d771b0

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
@@ -6990,7 +6990,7 @@ class ta extends O {
6990
6990
  super(), this.id = t, this.strokeColor = e, this.strokeThickness = a;
6991
6991
  }
6992
6992
  apply(t) {
6993
- this.oldState = t;
6993
+ console.log("log: apply textStrokeCommand"), this.oldState = t;
6994
6994
  const e = z(this.id, Object.values(t.layouts));
6995
6995
  if (!e.id)
6996
6996
  throw new W();
@@ -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 = () => {
@@ -11693,7 +11693,7 @@ const nl = (n) => n.sort((t, e) => t.index - e.index).map((t) => ({
11693
11693
  this.editedCallbacks.forEach((t) => t(this.editedSteps));
11694
11694
  }
11695
11695
  onElementsChange() {
11696
- this.elementsCallbacks.forEach((t) => t(this.stepElements));
11696
+ console.log("log: onElementsChange"), this.elementsCallbacks.forEach((t) => t(this.stepElements));
11697
11697
  }
11698
11698
  onInformationResultChange() {
11699
11699
  this.informationResultCallbacks.forEach((t) => t(this.informationResults));
@@ -11715,6 +11715,7 @@ const nl = (n) => n.sort((t, e) => t.index - e.index).map((t) => ({
11715
11715
  });
11716
11716
  }
11717
11717
  async onSelectionChange() {
11718
+ console.log("log: onSelectionChange");
11718
11719
  const t = await this.traversableScenes();
11719
11720
  for (const e of this.selectionCallbacks)
11720
11721
  e({
@@ -16166,7 +16167,7 @@ class Ud {
16166
16167
  } catch (a) {
16167
16168
  throw console.error(a), new gt("Critical - Unable to synchronize workflow state with server.");
16168
16169
  }
16169
- }, this.options = t, this.options.applicationKey && nr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 34.4.0"), 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.d6d7bd56-1aec-57cf-9351-1ccdcad29944"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16170
16171
  }
16171
16172
  configure(t) {
16172
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);