@spiffcommerce/core 27.1.0-beta.0ac5c474-b5b4-51a7-80c4-5462b0e68fd8 → 27.1.0-beta.4b701db0-4aa9-5e94-b640-cd096f19527b

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
@@ -9004,7 +9004,7 @@ class bs {
9004
9004
  }
9005
9005
  return !a.data.curved && e.length > 0 && !Array.from(d.values()).every((u) => u) ? (o.errorData || (o.errorData = {}), o.errorData.doesNotFit = !0, o) : (n.updateStorage(a.stepName, { text: t }), n.updateMetadata(a.stepName, {
9006
9006
  text: s
9007
- }), (i.defaultCleared || !a.data.deleteDefaultOnFocus) && s.trim() !== "" && n.setMandatoryFulfilled(a.stepName, !0), o.command = new $(l), o);
9007
+ }), (i != null && i.defaultCleared || !a.data.deleteDefaultOnFocus) && s.trim() !== "" && n.setMandatoryFulfilled(a.stepName, !0), o.command = new $(l), o);
9008
9008
  }
9009
9009
  async selectVariant(t, e, a, n, i) {
9010
9010
  const s = await this.selectVariantCommand(
@@ -15826,7 +15826,7 @@ class rd {
15826
15826
  } catch (a) {
15827
15827
  throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
15828
15828
  }
15829
- }, this.options = t, this.options.applicationKey && Rr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 27.1.0-beta.2ef99307-3cf1-5417-a8f2-08bd6109eb47"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15829
+ }, this.options = t, this.options.applicationKey && Rr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 27.1.0-beta.0ac5c474-b5b4-51a7-80c4-5462b0e68fd8"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15830
15830
  }
15831
15831
  configure(t) {
15832
15832
  mt.setHubUrl(t.hubUrl), mt.setServerUrl(t.serverUrl), mt.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 && $r(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);