@spiffcommerce/core 40.3.2 → 40.3.3

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
@@ -7469,7 +7469,7 @@ class De {
7469
7469
  t.mandatory && e.setMandatoryFulfilled(t.stepName, !1), e.markStepsAsInitialised([t.stepName]);
7470
7470
  let r;
7471
7471
  const s = e.getWorkflowExperience().getBundle();
7472
- if (s && t.globalPropertyAspectConfigurations) {
7472
+ if (s && t.globalPropertyAspectConfigurations && t.globalPropertyAspectConfigurations.length > 0) {
7473
7473
  const l = s.getGlobalPropertyStateManager(), c = t.globalPropertyAspectConfigurations[0], d = l.getAspectStorage(c.aspectName);
7474
7474
  d && d.originalAssetKey && (r = (await H.getLocalOrFromServer(d.originalAssetKey)).fileLink);
7475
7475
  }
@@ -16278,7 +16278,7 @@ class Wd {
16278
16278
  } catch (a) {
16279
16279
  throw console.error(a), new pt("Critical - Unable to synchronize workflow state with server.");
16280
16280
  }
16281
- }, this.options = t, this.options.applicationKey && Ar(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 40.3.2"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16281
+ }, this.options = t, this.options.applicationKey && Ar(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 40.3.3"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16282
16282
  }
16283
16283
  configure(t) {
16284
16284
  yt.setHubUrl(t.hubUrl), yt.setServerUrl(t.serverUrl), yt.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 && gr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Gt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);