@spiffcommerce/core 31.2.2 → 31.2.3

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
@@ -15170,6 +15170,7 @@ class _e {
15170
15170
  name: this.getName(),
15171
15171
  dispatchDate: this.getDispatchDate() || "",
15172
15172
  purchaseOrder: this.getPurchaseOrder() || "",
15173
+ collectionId: this.getProductCollection()?.getId() || "",
15173
15174
  collectionName: this.getProductCollection()?.getName() || "",
15174
15175
  items: [],
15175
15176
  bundleOwnerId: this.ownerId
@@ -15202,6 +15203,7 @@ class _e {
15202
15203
  name: this.getName(),
15203
15204
  dispatchDate: this.getDispatchDate() || "",
15204
15205
  purchaseOrder: this.getPurchaseOrder() || "",
15206
+ collectionId: this.getProductCollection()?.getId() || "",
15205
15207
  collectionName: this.getProductCollection()?.getName() || "",
15206
15208
  items: a,
15207
15209
  bundleOwnerId: this.ownerId
@@ -15947,7 +15949,7 @@ class md {
15947
15949
  } catch (a) {
15948
15950
  throw console.error(a), new ht("Critical - Unable to synchronize workflow state with server.");
15949
15951
  }
15950
- }, this.options = t, this.options.applicationKey && Lr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 31.2.2"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15952
+ }, this.options = t, this.options.applicationKey && Lr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 31.2.3"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
15951
15953
  }
15952
15954
  configure(t) {
15953
15955
  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 && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);