@spiffcommerce/core 42.1.1 → 42.1.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-CWNkTn4C.js → index-C1NpAqMF.js} +7 -4
- package/dist/{index-CWNkTn4C.js.map → index-C1NpAqMF.js.map} +1 -1
- package/dist/{index-B8JE02zC.cjs → index-D-XZA7P1.cjs} +3 -3
- package/dist/{index-B8JE02zC.cjs.map → index-D-XZA7P1.cjs.map} +1 -1
- package/dist/{index-Do7uW28H.cjs → index-Dd616mcc.cjs} +2 -2
- package/dist/{index-Do7uW28H.cjs.map → index-Dd616mcc.cjs.map} +1 -1
- package/dist/{index-BzvKdSKs.js → index-Dq7iXZav.js} +2 -2
- package/dist/{index-BzvKdSKs.js.map → index-Dq7iXZav.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -71505,7 +71505,7 @@ class SV extends CV {
|
|
|
71505
71505
|
});
|
|
71506
71506
|
}
|
|
71507
71507
|
async loadEventStreamCapability() {
|
|
71508
|
-
const { EventStreamSerde: e } = await import("./index-
|
|
71508
|
+
const { EventStreamSerde: e } = await import("./index-Dq7iXZav.js");
|
|
71509
71509
|
return new e({
|
|
71510
71510
|
marshaller: this.getEventStreamMarshaller(),
|
|
71511
71511
|
serializer: this.serializer,
|
|
@@ -79068,7 +79068,7 @@ class LQ {
|
|
|
79068
79068
|
} catch (n) {
|
|
79069
79069
|
throw console.error(n), new lo("Critical - Unable to synchronize workflow state with server.");
|
|
79070
79070
|
}
|
|
79071
|
-
}, this.options = e, this.options.applicationKey && X4(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 42.1.
|
|
79071
|
+
}, this.options = e, this.options.applicationKey && X4(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 42.1.2"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
79072
79072
|
}
|
|
79073
79073
|
configure(e) {
|
|
79074
79074
|
mo.setHubUrl(e.hubUrl), mo.setServerUrl(e.serverUrl), mo.setServicesApiUrl(e.servicesApiUrl), this.marketplaceThemeInstallId = e.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = e.marketplaceThemeInstallConfigurationId, this.userPoolClientId = e.userPoolClientId, this.userPoolRegion = e.userPoolRegion, this.spiffRegion = e.spiffRegion, e.bearerAuthenticationToken && K4(e.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Of.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
|
|
@@ -79519,7 +79519,10 @@ class LQ {
|
|
|
79519
79519
|
...c.map(g)
|
|
79520
79520
|
])).flat(), y = [
|
|
79521
79521
|
...new Set(v.map((W) => W.transaction.integrationProductId))
|
|
79522
|
-
].filter((W) => !!W)
|
|
79522
|
+
].filter((W) => !!W);
|
|
79523
|
+
let A = [...new Set(v.map((W) => W.workflowId))].filter((W) => !!W);
|
|
79524
|
+
A = A.filter((W) => !!W);
|
|
79525
|
+
const [x, k] = await Promise.all([
|
|
79523
79526
|
(async () => y.length > 0 ? await xW(y) : [])(),
|
|
79524
79527
|
(async () => A.length > 0 ? await XI(A, t) : [])()
|
|
79525
79528
|
]), T = new Map(x.map((W) => [W.id, W])), S = new Map(k.map((W) => [W.id, W])), R = v.map(async (W) => {
|
|
@@ -81159,4 +81162,4 @@ export {
|
|
|
81159
81162
|
r7 as y,
|
|
81160
81163
|
e7 as z
|
|
81161
81164
|
};
|
|
81162
|
-
//# sourceMappingURL=index-
|
|
81165
|
+
//# sourceMappingURL=index-C1NpAqMF.js.map
|