@spiffcommerce/core 27.1.0-beta.91b561f6-b5a3-516f-93cd-3bdab8dfce5c → 27.1.0-beta.a8655933-c975-59bd-aacc-b66e4a8fd124

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
@@ -13389,7 +13389,7 @@ class tl {
13389
13389
  });
13390
13390
  }
13391
13391
  async createHandle(t) {
13392
- switch (t.type) {
13392
+ switch (console.log(`creating handle ${t.name} / ${t.title}`), console.trace(), t.type) {
13393
13393
  case X.FileUpload:
13394
13394
  return new el(this.bundle, t).initialize();
13395
13395
  case X.ColorOption:
@@ -13722,12 +13722,14 @@ class al extends Ia {
13722
13722
  ]);
13723
13723
  }
13724
13724
  async applyGlobalState(t) {
13725
+ console.log("applying text global state"), console.trace();
13725
13726
  const e = this.getStateValue();
13726
13727
  if (!e)
13727
13728
  return Promise.resolve();
13728
13729
  await this.applyTextSelection(e, t);
13729
13730
  }
13730
13731
  async applyTextSelection(t, e) {
13732
+ console.log("applying text selection");
13731
13733
  const n = this.getSharedSteps(e).map((i) => {
13732
13734
  i.setText(t);
13733
13735
  });
@@ -15827,7 +15829,7 @@ class rd {
15827
15829
  } catch (a) {
15828
15830
  throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
15829
15831
  }
15830
- }, 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.4b701db0-4aa9-5e94-b640-cd096f19527b"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15832
+ }, 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.91b561f6-b5a3-516f-93cd-3bdab8dfce5c"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15831
15833
  }
15832
15834
  configure(t) {
15833
15835
  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);