@spiffcommerce/core 32.3.1-beta.0913bb04-4304-5dae-95b3-20ea61cba9ab → 32.3.1-beta.f47441d7-c6fd-544a-8448-b3ed6932599d
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 +4 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -14233,7 +14233,7 @@ class vl {
|
|
14233
14233
|
if (!this.state || !t?.getWorkflowManager()?.getModelContainer())
|
14234
14234
|
return;
|
14235
14235
|
const e = this.state.transactions.find(
|
14236
|
-
(s) => s.transactionId === t.
|
14236
|
+
(s) => s.transactionId === t.getTransaction().id
|
14237
14237
|
);
|
14238
14238
|
if (!e)
|
14239
14239
|
return;
|
@@ -14250,7 +14250,7 @@ class vl {
|
|
14250
14250
|
return t.activeTransform && t.transforms ? t.transforms[t.activeTransform] : t.transform;
|
14251
14251
|
}
|
14252
14252
|
updateWorkflowExperienceTransform(t, e, a) {
|
14253
|
-
const r = t.
|
14253
|
+
const r = t.getTransaction().id;
|
14254
14254
|
this.state ? this.state.transactions || (this.state.transactions = []) : this.state = {
|
14255
14255
|
transactions: []
|
14256
14256
|
};
|
@@ -14264,7 +14264,7 @@ class vl {
|
|
14264
14264
|
activateWorkflowExperienceTransform(t, e) {
|
14265
14265
|
if (!t?.getWorkflowManager()?.getModelContainer() || !this.state)
|
14266
14266
|
return;
|
14267
|
-
const a = t.
|
14267
|
+
const a = t.getTransaction().id, r = this.state.transactions.find((l) => l.transactionId === a), i = r?.transforms?.[e];
|
14268
14268
|
if (!i)
|
14269
14269
|
return;
|
14270
14270
|
const s = this.flipTransform(
|
@@ -16123,7 +16123,7 @@ class bd {
|
|
16123
16123
|
} catch (a) {
|
16124
16124
|
throw console.error(a), new ht("Critical - Unable to synchronize workflow state with server.");
|
16125
16125
|
}
|
16126
|
-
}, 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("------------------------");
|
16126
|
+
}, this.options = t, this.options.applicationKey && Wr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 32.3.1-beta.0913bb04-4304-5dae-95b3-20ea61cba9ab"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
16127
16127
|
}
|
16128
16128
|
configure(t) {
|
16129
16129
|
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);
|