@spiffcommerce/core 32.3.1-beta.7e1fac88-56cd-5d23-8ec7-234fa4b8cf53 → 32.3.1-beta.cb99cb5d-bbe6-57e1-9338-6d75af0a506b

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
@@ -14635,9 +14635,7 @@ class he {
14635
14635
  if (a) return new qt(a);
14636
14636
  }
14637
14637
  if (t.length === 1)
14638
- return console.warn(
14639
- "Called getDefaultWorkflow() but no default was configured. There is only one workflow available so we will fall back to using this!"
14640
- ), new qt(t[0]);
14638
+ return new qt(t[0]);
14641
14639
  throw new ht(
14642
14640
  "Called getDefaultWorkflow() but no default workflow is configured for the requested product. Multiple workflows exist so we can't assume!"
14643
14641
  );
@@ -16142,7 +16140,7 @@ class bd {
16142
16140
  } catch (a) {
16143
16141
  throw console.error(a), new ht("Critical - Unable to synchronize workflow state with server.");
16144
16142
  }
16145
- }, this.options = t, this.options.applicationKey && qr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 32.3.1-beta.bc3e9a67-6573-5ede-81af-82d397d33621"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16143
+ }, this.options = t, this.options.applicationKey && qr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 32.3.1-beta.7e1fac88-56cd-5d23-8ec7-234fa4b8cf53"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16146
16144
  }
16147
16145
  configure(t) {
16148
16146
  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 && jr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);