@spiffcommerce/core 27.2.1-beta.f00f15a6-0222-5820-93a8-912f98bdbdfe → 27.2.1-beta.f3c9817f-fe9e-57f7-8eec-983456841dd1

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
@@ -8437,17 +8437,14 @@ class ws {
8437
8437
  const jn = new ws();
8438
8438
  class ys {
8439
8439
  async init(t, e, a) {
8440
- console.log("LOG: q init");
8441
8440
  const n = t.option;
8442
8441
  if (!n)
8443
- return console.log("LOG: q no option"), null;
8442
+ return null;
8444
8443
  if (a)
8445
- console.log("LOG: q reload"), await this.reload(t, e, a);
8444
+ await this.reload(t, e, a);
8446
8445
  else {
8447
- console.log("LOG: q no reload");
8448
8446
  const i = n.variants;
8449
8447
  if (Y.getDefaultVariant(n)) {
8450
- console.log("LOG: q default");
8451
8448
  const o = i == null ? void 0 : i.find((l) => {
8452
8449
  var c;
8453
8450
  return l.id === ((c = n.defaultVariant) == null ? void 0 : c.id);
@@ -8455,7 +8452,7 @@ class ys {
8455
8452
  return this.selectVariantLambda(t, (o == null ? void 0 : o.id) || "", e);
8456
8453
  }
8457
8454
  }
8458
- return console.log("LOG: q end"), null;
8455
+ return null;
8459
8456
  }
8460
8457
  async reload(t, e, a) {
8461
8458
  var s;
@@ -15904,7 +15901,7 @@ class rd {
15904
15901
  } catch (a) {
15905
15902
  throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
15906
15903
  }
15907
- }, this.options = t, this.options.applicationKey && Rr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 27.2.1-beta.f3c9817f-fe9e-57f7-8eec-983456841dd1"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15904
+ }, this.options = t, this.options.applicationKey && Rr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 27.2.1-beta.18d38888-19ca-5144-b378-0ea4ef812e79"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15908
15905
  }
15909
15906
  configure(t) {
15910
15907
  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);