@spiffcommerce/core 27.3.0-beta.12659d34-cdc8-572e-8445-7a8328757a54 → 27.3.0-beta.6be7f001-355c-5c90-9a12-0f7223284f2f

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
@@ -10291,11 +10291,11 @@ class Co {
10291
10291
  var w;
10292
10292
  this.workflowStatePromiseQueue = new kn(1), this.initialized = !1, this.readOnly = !1, this.isReloadedTransaction = !1, this.singleVariantsRenderable = !1, this.stepTags = {}, this.renderLayouts = () => {
10293
10293
  var E;
10294
- if (console.log("rendering layouts"), !this.previewService)
10294
+ if (console.log("LOG: rendering layouts"), !this.previewService)
10295
10295
  return;
10296
10296
  const S = this.getCommandContext().getAllLayouts(), y = (E = this.getLayoutPreviewService()) == null ? void 0 : E.getAll();
10297
10297
  if (y) {
10298
- console.log(`${y.size} layouts to render`);
10298
+ console.log(`LOG: ${y.size} layouts to render`);
10299
10299
  for (const [, b] of y)
10300
10300
  b.render(S);
10301
10301
  }
@@ -11530,7 +11530,7 @@ class Bo extends it {
11530
11530
  this.step.data,
11531
11531
  (l == null ? void 0 : l.customiseAllText) ?? !1
11532
11532
  );
11533
- if (s)
11533
+ if (console.log(`LOG: setting text to ${a.length} regions`), s)
11534
11534
  i || this.manager.updateMetadata(this.step.stepName, {
11535
11535
  text: c
11536
11536
  });
@@ -13762,7 +13762,7 @@ class sl extends Ia {
13762
13762
  * Set the text.
13763
13763
  */
13764
13764
  async setText(t) {
13765
- await Promise.all([
13765
+ console.log(`LOG: global setting text ${t}`), await Promise.all([
13766
13766
  this.bundle.getGlobalPropertyStateManager().setAspect(this.property.name, t),
13767
13767
  this.applyTextSelection(t)
13768
13768
  ]);
@@ -13795,7 +13795,7 @@ class tr extends Ia {
13795
13795
  return n.id === ((s = (i = this.optionResource) == null ? void 0 : i.defaultVariant) == null ? void 0 : s.id);
13796
13796
  }
13797
13797
  );
13798
- console.log("Checking for default variant"), t && (console.log("Found default variant"), await this.selectVariant(new st(t)));
13798
+ t && await this.selectVariant(new st(t));
13799
13799
  }
13800
13800
  /**
13801
13801
  * Gets the currently selected variant, or undefined if no variant is selected.
@@ -15972,7 +15972,7 @@ class Ad {
15972
15972
  } catch (a) {
15973
15973
  throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
15974
15974
  }
15975
- }, this.options = t, this.options.applicationKey && Ur(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 27.3.0-beta.d1bf733e-18e9-59ae-9db5-784cf3676f5f"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15975
+ }, this.options = t, this.options.applicationKey && Ur(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 27.3.0-beta.12659d34-cdc8-572e-8445-7a8328757a54"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15976
15976
  }
15977
15977
  configure(t) {
15978
15978
  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 && Vr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);