@haven-fi/solauto-sdk 1.0.421 → 1.0.422
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.
@@ -319,7 +319,7 @@ class TransactionsManager {
|
|
319
319
|
const itemSets = await this.assembleTransactionSets(items);
|
320
320
|
this.updateStatusForSets(itemSets, TransactionStatus.Queued, 0);
|
321
321
|
this.txHandler.log("Initial item sets:", itemSets.length);
|
322
|
-
if (
|
322
|
+
if (this.atomically) {
|
323
323
|
await this.processTransactionsAtomically(itemSets);
|
324
324
|
}
|
325
325
|
else {
|
package/package.json
CHANGED
@@ -510,7 +510,7 @@ export class TransactionsManager {
|
|
510
510
|
this.updateStatusForSets(itemSets, TransactionStatus.Queued, 0);
|
511
511
|
this.txHandler.log("Initial item sets:", itemSets.length);
|
512
512
|
|
513
|
-
if (
|
513
|
+
if (this.atomically) {
|
514
514
|
await this.processTransactionsAtomically(itemSets);
|
515
515
|
} else {
|
516
516
|
let currentIndex = 0;
|