@spiffcommerce/core 22.4.5 → 22.4.7
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 +5 -5
- package/dist/index.umd.cjs +3 -3
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1565,7 +1565,7 @@ class BA {
|
|
|
1565
1565
|
* Disabling processing will not cancel any active promises.
|
|
1566
1566
|
*/
|
|
1567
1567
|
set enabled(e) {
|
|
1568
|
-
!this.isEnabled && e && !this.activePromise && (this.activePromise = this.dequeue()), this.isEnabled = e;
|
|
1568
|
+
!this.isEnabled && e && !this.activePromise && this.getRemainingQueueSize() > 0 && (this.activePromise = this.dequeue()), this.isEnabled = e;
|
|
1569
1569
|
}
|
|
1570
1570
|
/**
|
|
1571
1571
|
* @returns Returns true when work is being actively processed by this queue.
|
|
@@ -8473,9 +8473,9 @@ class Mn {
|
|
|
8473
8473
|
return { transaction: JSON.stringify(this.dehydrateState(he(e.transaction))) };
|
|
8474
8474
|
}
|
|
8475
8475
|
dehydrateState(e) {
|
|
8476
|
-
var t
|
|
8477
|
-
for (const
|
|
8478
|
-
|
|
8476
|
+
var t;
|
|
8477
|
+
for (const A of Object.values(e.layouts).map((a) => a.elements).flat())
|
|
8478
|
+
A.type === "illustration" && (delete A.cachedObjectURL, A.src && delete A.svg), A.type === "frame" && ((t = A.pattern) == null || delete t.svg);
|
|
8479
8479
|
return e;
|
|
8480
8480
|
}
|
|
8481
8481
|
async outstandingRequestsPromise() {
|
|
@@ -13553,7 +13553,7 @@ class es {
|
|
|
13553
13553
|
} catch (A) {
|
|
13554
13554
|
throw console.error(A), new H("Critical - Unable to synchronize workflow state with server.");
|
|
13555
13555
|
}
|
|
13556
|
-
}, this.initialized = !1, this.options = e, this.options.applicationKey && ca(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 22.4.
|
|
13556
|
+
}, this.initialized = !1, this.options = e, this.options.applicationKey && ca(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 22.4.7"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
13557
13557
|
}
|
|
13558
13558
|
/** @deprecated Use `configure` instead */
|
|
13559
13559
|
configureUrls(e, t, A) {
|