@spiffcommerce/core 32.2.5 → 32.2.6

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
@@ -11347,7 +11347,6 @@ class xo extends Z {
11347
11347
  super(t, e, a);
11348
11348
  }
11349
11349
  selectVariant(t) {
11350
- console.log("setting shape variant");
11351
11350
  const e = t.getResource();
11352
11351
  return zt.selectVariant(
11353
11352
  this.step,
@@ -11367,7 +11366,7 @@ class xo extends Z {
11367
11366
  * @deprecated The shape step can now pass through colors returned by getColors via selectVariant. Please swap setColor for selectVariant.
11368
11367
  */
11369
11368
  setColor(t) {
11370
- return console.log("setting shape color variant"), zt.selectVariant(
11369
+ return zt.selectVariant(
11371
11370
  this.step,
11372
11371
  t,
11373
11372
  this.manager.getRegionElements(this.step.stepName) || [],
@@ -11386,7 +11385,7 @@ class xo extends Z {
11386
11385
  * throw when a non-custom variant is selected.
11387
11386
  */
11388
11387
  setCustomColor(t) {
11389
- return console.log("setting shape variant custom"), this.getCurrentVariant()?.getColor() !== "#custom" && console.warn(
11388
+ return this.getCurrentVariant()?.getColor() !== "#custom" && console.warn(
11390
11389
  `setting custom color for step ${this.step.stepName} but color is ${this.getCurrentVariant()?.getColor()}`
11391
11390
  ), zt.setCustomColor(t, this.step, this.manager);
11392
11391
  }
@@ -16003,7 +16002,7 @@ class vd {
16003
16002
  } catch (a) {
16004
16003
  throw console.error(a), new ht("Critical - Unable to synchronize workflow state with server.");
16005
16004
  }
16006
- }, this.options = t, this.options.applicationKey && Wr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 32.2.5"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16005
+ }, this.options = t, this.options.applicationKey && Wr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 32.2.6"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16007
16006
  }
16008
16007
  configure(t) {
16009
16008
  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 && Hr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);