@spiffcommerce/core 31.2.0 → 31.2.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
@@ -15168,6 +15168,10 @@ class Ke {
15168
15168
  }
15169
15169
  }), {
15170
15170
  bundleId: this.id,
15171
+ name: this.getName(),
15172
+ dispatchDate: this.getDispatchDate() || "",
15173
+ purchaseOrder: this.getPurchaseOrder() || "",
15174
+ collectionName: this.getProductCollection()?.getName() || "",
15171
15175
  items: [],
15172
15176
  bundleOwnerId: this.ownerId
15173
15177
  };
@@ -15196,6 +15200,10 @@ class Ke {
15196
15200
  );
15197
15201
  return {
15198
15202
  bundleId: this.id,
15203
+ name: this.getName(),
15204
+ dispatchDate: this.getDispatchDate() || "",
15205
+ purchaseOrder: this.getPurchaseOrder() || "",
15206
+ collectionName: this.getProductCollection()?.getName() || "",
15199
15207
  items: a,
15200
15208
  bundleOwnerId: this.ownerId
15201
15209
  };
@@ -15940,7 +15948,7 @@ class md {
15940
15948
  } catch (a) {
15941
15949
  throw console.error(a), new ht("Critical - Unable to synchronize workflow state with server.");
15942
15950
  }
15943
- }, this.options = t, this.options.applicationKey && Lr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 31.2.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15951
+ }, this.options = t, this.options.applicationKey && Lr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 31.2.1"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15944
15952
  }
15945
15953
  configure(t) {
15946
15954
  gt.setHubUrl(t.hubUrl), gt.setServerUrl(t.serverUrl), gt.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 && zr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Ut.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);