@spiffcommerce/core 26.11.0 → 26.12.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
@@ -5032,11 +5032,11 @@ const X = new Yr(), on = v`
5032
5032
  `, hi = v`
5033
5033
  ${on}
5034
5034
  ${Be}
5035
- query GetCurrentIntegration {
5035
+ query GetCurrentIntegration($themeConfigurationId: String) {
5036
5036
  currentIntegration {
5037
5037
  id
5038
5038
  type
5039
- marketplaceThemeInstallConfiguration(raw: false) {
5039
+ marketplaceThemeInstallConfiguration(id: $themeConfigurationId, raw: false) {
5040
5040
  ...MarketplaceThemeInstallConfigurationFields
5041
5041
  }
5042
5042
  ...ActiveIntegrationFields
@@ -14870,7 +14870,7 @@ class ic {
14870
14870
  } catch (a) {
14871
14871
  throw console.error(a), new lt("Critical - Unable to synchronize workflow state with server.");
14872
14872
  }
14873
- }, this.options = t, this.options.applicationKey && gr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.11.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
14873
+ }, this.options = t, this.options.applicationKey && gr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.12.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
14874
14874
  }
14875
14875
  configure(t) {
14876
14876
  pt.setHubUrl(t.hubUrl), pt.setServerUrl(t.serverUrl), pt.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, t.bearerAuthenticationToken && pr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration();
@@ -15482,7 +15482,7 @@ class ic {
15482
15482
  };
15483
15483
  }
15484
15484
  }
15485
- const Yo = async (r) => (await b.getShadowGraphqlClient().query({
15485
+ const Yo = async (r, t) => (await b.getShadowGraphqlClient().query({
15486
15486
  query: hi,
15487
15487
  errorPolicy: "all",
15488
15488
  fetchPolicy: "no-cache",
@@ -15490,6 +15490,9 @@ const Yo = async (r) => (await b.getShadowGraphqlClient().query({
15490
15490
  headers: {
15491
15491
  "x-application-key": r
15492
15492
  }
15493
+ },
15494
+ variables: {
15495
+ themeConfigurationId: t
15493
15496
  }
15494
15497
  })).data.currentIntegration, sc = async (r) => {
15495
15498
  const e = await b.getShadowGraphqlClient().query({