@spiffcommerce/core 40.3.11 → 40.3.12

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.
@@ -70956,7 +70956,7 @@ class fV extends cV {
70956
70956
  });
70957
70957
  }
70958
70958
  async loadEventStreamCapability() {
70959
- const { EventStreamSerde: e } = await import("./index-CkncM82g.js");
70959
+ const { EventStreamSerde: e } = await import("./index-eRS5bBM0.js");
70960
70960
  return new e({
70961
70961
  marshaller: this.getEventStreamMarshaller(),
70962
70962
  serializer: this.serializer,
@@ -78519,7 +78519,7 @@ class AW {
78519
78519
  } catch (n) {
78520
78520
  throw console.error(n), new oo("Critical - Unable to synchronize workflow state with server.");
78521
78521
  }
78522
- }, this.options = e, this.options.applicationKey && j4(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 40.3.10"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
78522
+ }, this.options = e, this.options.applicationKey && j4(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 40.3.11"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
78523
78523
  }
78524
78524
  configure(e) {
78525
78525
  go.setHubUrl(e.hubUrl), go.setServerUrl(e.serverUrl), go.setServicesApiUrl(e.servicesApiUrl), this.marketplaceThemeInstallId = e.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = e.marketplaceThemeInstallConfigurationId, this.userPoolClientId = e.userPoolClientId, this.userPoolRegion = e.userPoolRegion, this.spiffRegion = e.spiffRegion, e.bearerAuthenticationToken && $4(e.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Pf.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
@@ -79374,18 +79374,22 @@ class hQ {
79374
79374
  const s = this.workflowManager.getRegionElements(this.stepName || ""), o = this.workflowManager.getCommandDispatcher();
79375
79375
  this.targetElements.forEach((l, u) => {
79376
79376
  let c = s.find((h) => h.id === l)?.regionIndex ?? u;
79377
- c >= e.length && (c = u), o(
79378
- new _n([
79379
- new QN(l, t, e[c]),
79380
- new WN(
79381
- l,
79382
- i.useThreshold,
79383
- i.invertThreshold,
79384
- i.threshold,
79385
- i.thresholdSaturation
79386
- )
79387
- ])
79388
- );
79377
+ c >= e.length && (c = u);
79378
+ try {
79379
+ o(
79380
+ new _n([
79381
+ new QN(l, t, e[c]),
79382
+ new WN(
79383
+ l,
79384
+ i.useThreshold,
79385
+ i.invertThreshold,
79386
+ i.threshold,
79387
+ i.thresholdSaturation
79388
+ )
79389
+ ])
79390
+ );
79391
+ } catch {
79392
+ }
79389
79393
  }), this.stepName && this.workflowManager.updateStorage(this.stepName, {
79390
79394
  frameOffsetsList: e
79391
79395
  }), a && a();
@@ -80348,4 +80352,4 @@ export {
80348
80352
  qN as y,
80349
80353
  GN as z
80350
80354
  };
80351
- //# sourceMappingURL=index-DAsc4Ftt.js.map
80355
+ //# sourceMappingURL=index-C5BLW3rS.js.map