@spiffcommerce/core 33.10.0-beta.d5491186-1127-55b5-8fd7-1bfb834be9ec → 33.11.0

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
@@ -14969,6 +14969,8 @@ class oa {
14969
14969
  const e = this.bundleStateManager.getState();
14970
14970
  if (e) {
14971
14971
  const a = t.filter((i) => (e.integrationProductIds ?? []).includes(i));
14972
+ if (a.length === 0)
14973
+ return;
14972
14974
  e.integrationProductIds = (e.integrationProductIds ?? []).filter((i) => !a.includes(i));
14973
14975
  const r = JSON.stringify(e);
14974
14976
  this.bundleStateManager.setState(r), this.fireEvent("bundle-integration-products-removed", {
@@ -16221,7 +16223,7 @@ class $d {
16221
16223
  } catch (a) {
16222
16224
  throw console.error(a), new mt("Critical - Unable to synchronize workflow state with server.");
16223
16225
  }
16224
- }, this.options = t, this.options.applicationKey && ii(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 33.10.0-beta.5fa0eff7-42c6-5b6e-bd12-b92e6a4b201c"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16226
+ }, this.options = t, this.options.applicationKey && ii(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 33.11.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16225
16227
  }
16226
16228
  configure(t) {
16227
16229
  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 && si(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Wt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);