@spiffcommerce/core 26.7.0 → 26.7.1

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
@@ -7666,7 +7666,7 @@ class es {
7666
7666
  patternSource(t) {
7667
7667
  var a;
7668
7668
  const e = (a = t.versions) == null ? void 0 : a.find((n) => n.name === "svg");
7669
- if (e)
7669
+ if (e != null && e.link)
7670
7670
  return e.link;
7671
7671
  const A = t.fileLink;
7672
7672
  if (A)
@@ -11800,8 +11800,8 @@ class $s {
11800
11800
  }, this.removeElements(d);
11801
11801
  const C = this.workflow.steps.find((p) => p.stepName === t);
11802
11802
  if ((C == null ? void 0 : C.type) === M.Frame) {
11803
- const p = this.getStepSpecificServices(t);
11804
- (Q = p == null ? void 0 : p.frameService) == null || Q.setTargetElements(A.map((D) => D.id));
11803
+ const p = (Q = this.getWorkflowExperience().getStepById(C.stepName)) == null ? void 0 : Q.frameService;
11804
+ p == null || p.setTargetElements(A.map((D) => D.id));
11805
11805
  }
11806
11806
  const w = d.map((p) => new ft(p.id)), u = new RA(this.constructSerializableWorkflow()), E = [...h, ...w, u];
11807
11807
  E.length > 0 && this.commandContext.apply(new G(E), !0), await this.ensureStepsAreLoaded(), this.onElementsChange();
@@ -16111,7 +16111,7 @@ class Cc {
16111
16111
  } catch (A) {
16112
16112
  throw console.error(A), new rt("Critical - Unable to synchronize workflow state with server.");
16113
16113
  }
16114
- }, this.options = t, this.options.applicationKey && Ii(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.7.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16114
+ }, this.options = t, this.options.applicationKey && Ii(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.7.1"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16115
16115
  }
16116
16116
  configure(t) {
16117
16117
  ut.setHubUrl(t.hubUrl), ut.setServerUrl(t.serverUrl), ut.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, t.bearerAuthenticationToken && yi(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration();