@spiffcommerce/core 26.21.0 → 26.21.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/CHANGELOG.md +6 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -13595,8 +13595,8 @@ class jo {
|
|
|
13595
13595
|
l.value = e, l.type = i.type, l.channel = n, a !== void 0 && (l.storage = a !== null ? a : void 0);
|
|
13596
13596
|
else {
|
|
13597
13597
|
if (n === 1) {
|
|
13598
|
-
const c =
|
|
13599
|
-
this.globalPropertyState.aspects.splice(c, 1);
|
|
13598
|
+
const c = this.globalPropertyState.aspects.findIndex((d) => !d.channel && d.name === t);
|
|
13599
|
+
c && c > 0 && this.globalPropertyState.aspects.splice(c, 1);
|
|
13600
13600
|
}
|
|
13601
13601
|
this.globalPropertyState.aspects.push({
|
|
13602
13602
|
name: t,
|
|
@@ -15213,7 +15213,7 @@ class kc {
|
|
|
15213
15213
|
} catch (a) {
|
|
15214
15214
|
throw console.error(a), new ut("Critical - Unable to synchronize workflow state with server.");
|
|
15215
15215
|
}
|
|
15216
|
-
}, this.options = t, this.options.applicationKey && xr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.21.
|
|
15216
|
+
}, this.options = t, this.options.applicationKey && xr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 26.21.1"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
15217
15217
|
}
|
|
15218
15218
|
configure(t) {
|
|
15219
15219
|
wt.setHubUrl(t.hubUrl), wt.setServerUrl(t.serverUrl), wt.setServicesApiUrl(t.servicesApiUrl), this.marketplaceThemeInstallId = t.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = t.marketplaceThemeInstallConfigurationId, t.bearerAuthenticationToken && kr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration();
|