@spiffcommerce/core 34.2.0-beta.8768fb84-fcf9-5f74-887a-269c132438f2 → 34.3.0

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
@@ -10935,7 +10935,7 @@ const Nd = (n, t) => {
10935
10935
  bundleDelete(id: $id)
10936
10936
  }
10937
10937
  `, al = C`
10938
- mutation FindBundleForTransactions($ids: [String!]!) {
10938
+ query FindBundleForTransactions($ids: [String!]!) {
10939
10939
  transactions(ids: $ids) {
10940
10940
  id
10941
10941
  bundle {
@@ -16167,7 +16167,7 @@ class Ld {
16167
16167
  } catch (a) {
16168
16168
  throw console.error(a), new gt("Critical - Unable to synchronize workflow state with server.");
16169
16169
  }
16170
- }, this.options = t, this.options.applicationKey && ir(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 34.2.0-beta.72ed91da-b1c4-541e-88ce-25cf7d5b1199"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16170
+ }, this.options = t, this.options.applicationKey && ir(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 34.3.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
16171
16171
  }
16172
16172
  configure(t) {
16173
16173
  pt.setHubUrl(t.hubUrl), pt.setServerUrl(t.serverUrl), pt.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 && or(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
@@ -16895,7 +16895,7 @@ const qd = async (n) => {
16895
16895
  }
16896
16896
  });
16897
16897
  if (!e.data?.transactions || e.data.transactions.length !== 1 || e.data.transactions[0].id !== n)
16898
- throw new Error(`Failed to find transaction to read bundle id: ${e.errors}`);
16898
+ throw new Error(`Failed to find transaction to read bundle id: ${JSON.stringify(e.errors)}`);
16899
16899
  return e.data.transactions[0].bundle?.id;
16900
16900
  };
16901
16901
  function uc(n, t, e, a) {