@spiffcommerce/core 34.0.3-beta.6d7fde93-0fc9-5d74-8047-8b63fdf949f3 → 34.1.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.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -12504,7 +12504,7 @@ const pl = async (n, t) => {
|
|
|
12504
12504
|
const s = Object.entries(localStorage).find(([c, d]) => c.startsWith("CognitoIdentityServiceProvider") && c.endsWith("idToken"))?.[0] || "", l = localStorage.getItem(s);
|
|
12505
12505
|
l && !Te(l) && (e.Authorization = `Bearer ${l}`);
|
|
12506
12506
|
}
|
|
12507
|
-
return (await t.getIntegration()).partner.beta && (e["X-Spiff-Beta"] = "true"),
|
|
12507
|
+
return (await t.getIntegration()).partner.beta && (e["X-Spiff-Beta"] = "true"), (await y.getShadowGraphqlClient().mutate({
|
|
12508
12508
|
mutation: ml,
|
|
12509
12509
|
errorPolicy: "all",
|
|
12510
12510
|
fetchPolicy: "no-cache",
|
|
@@ -16158,7 +16158,7 @@ class Od {
|
|
|
16158
16158
|
} catch (a) {
|
|
16159
16159
|
throw console.error(a), new gt("Critical - Unable to synchronize workflow state with server.");
|
|
16160
16160
|
}
|
|
16161
|
-
}, this.options = t, this.options.applicationKey && nr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 34.0
|
|
16161
|
+
}, this.options = t, this.options.applicationKey && nr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 34.1.0"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
16162
16162
|
}
|
|
16163
16163
|
configure(t) {
|
|
16164
16164
|
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 && rr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
|