@haven-fi/solauto-sdk 1.0.264 → 1.0.265
Sign up to get free protection for your applications and to get access to all the features.
@@ -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
|
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,
|