@haven-fi/solauto-sdk 1.0.263 → 1.0.265
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.
|
@@ -342,7 +342,7 @@ class TransactionsManager {
|
|
|
342
342
|
if (newItemSets.length > 1) {
|
|
343
343
|
itemSets.splice(currentIndex + 1, itemSets.length - currentIndex - 1, ...newItemSets.slice(1));
|
|
344
344
|
const startOfQueuedStatuses = this.statuses.findIndex(x => x.status === TransactionStatus.Queued);
|
|
345
|
-
this.statuses.splice(startOfQueuedStatuses, this.statuses.length - startOfQueuedStatuses, ...newItemSets.map(x => ({
|
|
345
|
+
this.statuses.splice(startOfQueuedStatuses - 1, this.statuses.length - startOfQueuedStatuses - 2, ...newItemSets.map(x => ({
|
|
346
346
|
name: x.name(),
|
|
347
347
|
attemptNum: 0,
|
|
348
348
|
status: TransactionStatus.Queued,
|
package/package.json
CHANGED
|
@@ -533,8 +533,8 @@ export class TransactionsManager {
|
|
|
533
533
|
);
|
|
534
534
|
const startOfQueuedStatuses = this.statuses.findIndex(x => x.status === TransactionStatus.Queued);
|
|
535
535
|
this.statuses.splice(
|
|
536
|
-
startOfQueuedStatuses,
|
|
537
|
-
this.statuses.length - startOfQueuedStatuses,
|
|
536
|
+
startOfQueuedStatuses - 1,
|
|
537
|
+
this.statuses.length - startOfQueuedStatuses - 2,
|
|
538
538
|
...newItemSets.map(x => ({
|
|
539
539
|
name: x.name(),
|
|
540
540
|
attemptNum: 0,
|