@spiffcommerce/core 37.0.2 → 37.0.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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -13950,10 +13950,7 @@ class Ci extends Qa {
|
|
|
13950
13950
|
* @param variant The variant to select.
|
|
13951
13951
|
*/
|
|
13952
13952
|
async selectVariant(t, e) {
|
|
13953
|
-
await
|
|
13954
|
-
this.bundle.getGlobalPropertyStateManager().setAspect(this.property.name, t.getId(), void 0, e),
|
|
13955
|
-
this.applyVariantSelection(t)
|
|
13956
|
-
]);
|
|
13953
|
+
await this.applyVariantSelection(t), await this.bundle.getGlobalPropertyStateManager().setAspect(this.property.name, t.getId(), void 0, e);
|
|
13957
13954
|
}
|
|
13958
13955
|
async applyGlobalState(t) {
|
|
13959
13956
|
const e = this.getStateValue();
|
|
@@ -16114,7 +16111,7 @@ class qd {
|
|
|
16114
16111
|
} catch (a) {
|
|
16115
16112
|
throw console.error(a), new pt("Critical - Unable to synchronize workflow state with server.");
|
|
16116
16113
|
}
|
|
16117
|
-
}, this.options = t, this.options.applicationKey && cr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 37.0.
|
|
16114
|
+
}, this.options = t, this.options.applicationKey && cr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 37.0.3"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
16118
16115
|
}
|
|
16119
16116
|
configure(t) {
|
|
16120
16117
|
Ct.setHubUrl(t.hubUrl), Ct.setServerUrl(t.serverUrl), Ct.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 && Ar(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
|