@spiffcommerce/core 31.3.0-beta.b36f5921-cdc1-5db3-9fb7-0ff66d38a2c1 → 31.4.0-beta.313e588f-e8b3-5b1e-9fb4-fb2af3ac9d0e

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
@@ -10568,6 +10568,9 @@ class yo {
10568
10568
  setMandatoryFulfilled(t, e) {
10569
10569
  this.mandatorySteps[t] !== e && (this.mandatorySteps = { ...this.mandatorySteps, [t]: e }, this.onMandatoryChange());
10570
10570
  }
10571
+ getMandatoryUnfulfilledSteps() {
10572
+ return Object.entries(this.mandatorySteps).filter((a) => !a[1]).map((a) => a[0]);
10573
+ }
10571
10574
  setStepError(t, e, a) {
10572
10575
  let n = !1;
10573
10576
  if (!this.validationErrors.steps.has(t) && a)
@@ -15963,7 +15966,7 @@ class md {
15963
15966
  } catch (a) {
15964
15967
  throw console.error(a), new ht("Critical - Unable to synchronize workflow state with server.");
15965
15968
  }
15966
- }, this.options = t, this.options.applicationKey && Lr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 31.3.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15969
+ }, this.options = t, this.options.applicationKey && Lr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 31.4.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15967
15970
  }
15968
15971
  configure(t) {
15969
15972
  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 && zr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);