@spiffcommerce/core 26.26.0 → 26.26.1

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
@@ -13484,7 +13484,7 @@ class _n extends Ba {
13484
13484
  * @param variant The variant to select.
13485
13485
  */
13486
13486
  async selectVariant(t, e) {
13487
- console.log(`Selecting variant ${t.getId()} for option global property handle (channel ${e})`), await Promise.all([
13487
+ await Promise.all([
13488
13488
  this.bundle.getGlobalPropertyStateManager().setAspect(this.property.name, t.getId(), void 0, e),
13489
13489
  this.applyVariantSelection(t)
13490
13490
  ]);
@@ -13511,9 +13511,7 @@ class Ha extends _n {
13511
13511
  * @param variant The variant to select.
13512
13512
  */
13513
13513
  async selectVariant(t, e) {
13514
- console.log(
13515
- `Selecting variant ${t.getId()} for color option global property handle (channel ${e})`
13516
- ), await Promise.all([
13514
+ await Promise.all([
13517
13515
  this.bundle.getGlobalPropertyStateManager().setAspect(this.property.name, t.getId(), void 0, e),
13518
13516
  this.applyColorVariant(t, void 0, e)
13519
13517
  ]);
@@ -15365,7 +15363,7 @@ class Nc {
15365
15363
  } catch (a) {
15366
15364
  throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
15367
15365
  }
15368
- }, this.options = t, this.options.applicationKey && Fr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.26.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15366
+ }, this.options = t, this.options.applicationKey && Fr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.26.1"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15369
15367
  }
15370
15368
  configure(t) {
15371
15369
  wt.setHubUrl(t.hubUrl), wt.setServerUrl(t.serverUrl), wt.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, t.bearerAuthenticationToken && kr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration();