@spiffcommerce/core 32.3.0 → 32.3.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.d.ts +3 -1
- package/dist/index.js +27 -27
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -12201,7 +12201,7 @@ const Xe = new Go(), Wo = w`
|
|
12201
12201
|
}
|
12202
12202
|
}
|
12203
12203
|
`;
|
12204
|
-
var jo = /* @__PURE__ */ ((n) => (n.QuantityChanged = "QuantityChanged", n.PriceBreakChanged = "PriceBreakChanged", n))(jo || {});
|
12204
|
+
var jo = /* @__PURE__ */ ((n) => (n.QuantityChanged = "QuantityChanged", n.PriceBreakChanged = "PriceBreakChanged", n.SelectionChanged = "SelectionChanged", n))(jo || {});
|
12205
12205
|
class Yo {
|
12206
12206
|
constructor(t, e) {
|
12207
12207
|
if (this.cachedStepHandles = /* @__PURE__ */ new Map(), this.currentPriceBreak = 1, this.renderableScenes = [], this.renderableSceneCallbacks = [], this.eventCallbacks = /* @__PURE__ */ new Map(), this.debouncedSavedDesignUpdate = un(async () => {
|
@@ -12259,7 +12259,10 @@ class Yo {
|
|
12259
12259
|
workflowScene: s
|
12260
12260
|
};
|
12261
12261
|
});
|
12262
|
-
this.renderableScenes = i, this.renderableSceneCallbacks.forEach((s) => s(i))
|
12262
|
+
this.renderableScenes = i, this.renderableSceneCallbacks.forEach((s) => s(i)), this.callEvent(
|
12263
|
+
"SelectionChanged"
|
12264
|
+
/* SelectionChanged */
|
12265
|
+
);
|
12263
12266
|
}), this.currentPriceBreak = this.priceBreakToBeApplied();
|
12264
12267
|
}
|
12265
12268
|
async attachAddress(t, e, a, r, i, s) {
|
@@ -15996,7 +15999,7 @@ class Ed {
|
|
15996
15999
|
} catch (a) {
|
15997
16000
|
throw console.error(a), new ht("Critical - Unable to synchronize workflow state with server.");
|
15998
16001
|
}
|
15999
|
-
}, this.options = t, this.options.applicationKey && Wr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 32.3.
|
16002
|
+
}, this.options = t, this.options.applicationKey && Wr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 32.3.1"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
16000
16003
|
}
|
16001
16004
|
configure(t) {
|
16002
16005
|
gt.setHubUrl(t.hubUrl), gt.setServerUrl(t.serverUrl), gt.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 && Hr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
|