@haven-fi/solauto-sdk 1.0.260 → 1.0.261
Sign up to get free protection for your applications and to get access to all the features.
@@ -341,7 +341,7 @@ class TransactionsManager {
|
|
341
341
|
]);
|
342
342
|
if (newItemSets.length > 1) {
|
343
343
|
itemSets.splice(currentIndex + 1, itemSets.length - currentIndex - 1, ...newItemSets.slice(1));
|
344
|
-
this.statuses.splice(this.statusesStartIdx + currentIndex + 1, itemSets.length -
|
344
|
+
this.statuses.splice(this.statusesStartIdx + currentIndex + 1, itemSets.length - 1, ...newItemSets.map((x, i) => ({
|
345
345
|
name: x.name(),
|
346
346
|
attemptNum: 0,
|
347
347
|
status: TransactionStatus.Queued,
|
package/package.json
CHANGED
@@ -533,8 +533,8 @@ export class TransactionsManager {
|
|
533
533
|
);
|
534
534
|
this.statuses.splice(
|
535
535
|
this.statusesStartIdx + currentIndex + 1,
|
536
|
-
itemSets.length -
|
537
|
-
...newItemSets.map(x => ({
|
536
|
+
itemSets.length - 1,
|
537
|
+
...newItemSets.map((x, i) => ({
|
538
538
|
name: x.name(),
|
539
539
|
attemptNum: 0,
|
540
540
|
status: TransactionStatus.Queued,
|