@spiffcommerce/core 32.1.1-beta.18df8ace-85d1-502e-a9ca-d42dea4f4d70 → 32.1.1-beta.dd6ba549-af6a-55a7-a5b1-c73eebc8f7e2
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 +10 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +37 -37
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -10680,6 +10680,7 @@ class So {
|
|
10680
10680
|
}
|
10681
10681
|
updateStateWithServer() {
|
10682
10682
|
if (this.readOnly) return;
|
10683
|
+
console.log("updating state");
|
10683
10684
|
const t = this.serialize();
|
10684
10685
|
this.workflowStatePromiseQueue.enqueue(
|
10685
10686
|
new Ya(async () => {
|
@@ -10698,6 +10699,7 @@ class So {
|
|
10698
10699
|
}
|
10699
10700
|
async updateStateWithServerImmediate() {
|
10700
10701
|
if (this.readOnly) return;
|
10702
|
+
console.log("updating state immediate");
|
10701
10703
|
const t = this.serialize();
|
10702
10704
|
return new Ya(async () => {
|
10703
10705
|
await this.updateTransaction({
|
@@ -15967,7 +15969,7 @@ class pd {
|
|
15967
15969
|
} catch (a) {
|
15968
15970
|
throw console.error(a), new ht("Critical - Unable to synchronize workflow state with server.");
|
15969
15971
|
}
|
15970
|
-
}, this.options = t, this.options.applicationKey && Vr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 32.1.1"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
15972
|
+
}, this.options = t, this.options.applicationKey && Vr(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 32.1.1-beta.024c12f2-73fa-5718-a179-d941802fb807"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
15971
15973
|
}
|
15972
15974
|
configure(t) {
|
15973
15975
|
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 && Gr(t.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Lt.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
|
@@ -17655,6 +17657,7 @@ export {
|
|
17655
17657
|
ua as AddonHandle,
|
17656
17658
|
dc as AddressValidationJobStatus,
|
17657
17659
|
cc as AddressValidationResultConfirmationLevel,
|
17660
|
+
An as AddressValidationStatus,
|
17658
17661
|
md as ArrayInput,
|
17659
17662
|
L as AspectType,
|
17660
17663
|
bt as AssetNotFoundError,
|