@spiffcommerce/core 31.3.0 → 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
@@ -5097,6 +5097,7 @@ const H = new yi(), bn = w`
5097
5097
  }
5098
5098
  assetType
5099
5099
  multiLine
5100
+ limit
5100
5101
  items
5101
5102
  fields
5102
5103
  schema
@@ -10567,6 +10568,9 @@ class yo {
10567
10568
  setMandatoryFulfilled(t, e) {
10568
10569
  this.mandatorySteps[t] !== e && (this.mandatorySteps = { ...this.mandatorySteps, [t]: e }, this.onMandatoryChange());
10569
10570
  }
10571
+ getMandatoryUnfulfilledSteps() {
10572
+ return Object.entries(this.mandatorySteps).filter((a) => !a[1]).map((a) => a[0]);
10573
+ }
10570
10574
  setStepError(t, e, a) {
10571
10575
  let n = !1;
10572
10576
  if (!this.validationErrors.steps.has(t) && a)
@@ -15962,7 +15966,7 @@ class md {
15962
15966
  } catch (a) {
15963
15967
  throw console.error(a), new ht("Critical - Unable to synchronize workflow state with server.");
15964
15968
  }
15965
- }, 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("------------------------");
15966
15970
  }
15967
15971
  configure(t) {
15968
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);