@spiffcommerce/core 26.21.0 → 26.21.1-beta.2b34ee5b-1f7e-5d31-8b98-09fa8952c35d

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
@@ -12979,7 +12979,9 @@ class Vo extends Dn {
12979
12979
  l = i.width, c = i.height;
12980
12980
  const d = wa(t.layoutState.layout, e, {
12981
12981
  renderingConfiguration: { purpose: Gt.ThreeD }
12982
- }), A = dn(d), u = await ca.from(this.ctx, A, {
12982
+ }), A = dn(d);
12983
+ console.log(`in execute: ${A}`);
12984
+ const u = await ca.from(this.ctx, A, {
12983
12985
  anonymousCrossOrigin: !0,
12984
12986
  ignoreDimensions: !this.nonPOTSupport,
12985
12987
  ignoreAnimation: !0,
@@ -13595,8 +13597,8 @@ class jo {
13595
13597
  l.value = e, l.type = i.type, l.channel = n, a !== void 0 && (l.storage = a !== null ? a : void 0);
13596
13598
  else {
13597
13599
  if (n === 1) {
13598
- const c = o.findIndex((d) => !d.channel);
13599
- this.globalPropertyState.aspects.splice(c, 1);
13600
+ const c = this.globalPropertyState.aspects.findIndex((d) => !d.channel && d.name === t);
13601
+ c && c > 0 && this.globalPropertyState.aspects.splice(c, 1);
13600
13602
  }
13601
13603
  this.globalPropertyState.aspects.push({
13602
13604
  name: t,
@@ -15213,7 +15215,7 @@ class kc {
15213
15215
  } catch (a) {
15214
15216
  throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
15215
15217
  }
15216
- }, this.options = t, this.options.applicationKey && xr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.21.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15218
+ }, this.options = t, this.options.applicationKey && xr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.21.1-beta.adbb6fe9-46bd-5ed3-ba1f-f43502b4dbbd"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15217
15219
  }
15218
15220
  configure(t) {
15219
15221
  wt.setHubUrl(t.hubUrl), wt.setServerUrl(t.serverUrl), wt.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, t.bearerAuthenticationToken && kr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration();
@@ -16939,6 +16941,7 @@ export {
16939
16941
  Zl as registerFetchImplementation,
16940
16942
  Xl as registerWindowImplementation,
16941
16943
  La as rehydrateSerializedLayout,
16944
+ dn as renderPapyrusComponentAsString,
16942
16945
  Lr as rgbToPms,
16943
16946
  re as rotateAroundPoint,
16944
16947
  ma as sanitizeSvgTree,