@haven-fi/solauto-sdk 1.0.266 → 1.0.268
Sign up to get free protection for your applications and to get access to all the features.
@@ -341,13 +341,17 @@ class TransactionsManager {
|
|
341
341
|
]);
|
342
342
|
if (newItemSets.length > 1) {
|
343
343
|
itemSets.splice(currentIndex + 1, itemSets.length - currentIndex - 1, ...newItemSets.slice(1));
|
344
|
-
const startOfQueuedStatuses = this.statuses.findIndex(x => x.status === TransactionStatus.Queued);
|
345
|
-
this.statuses.splice(
|
346
|
-
|
347
|
-
|
348
|
-
|
349
|
-
|
350
|
-
//
|
344
|
+
// const startOfQueuedStatuses = this.statuses.findIndex(x => x.status === TransactionStatus.Queued);
|
345
|
+
// this.statuses.splice(
|
346
|
+
// startOfQueuedStatuses,
|
347
|
+
// this.statuses.length - startOfQueuedStatuses,
|
348
|
+
// ...newItemSets.map(x => ({
|
349
|
+
// name: x.name(),
|
350
|
+
// attemptNum: 0,
|
351
|
+
// status: TransactionStatus.Queued,
|
352
|
+
// }))
|
353
|
+
// );
|
354
|
+
this.updateStatusForSets(newItemSets.slice(1));
|
351
355
|
}
|
352
356
|
return newItemSets[0];
|
353
357
|
}
|
package/package.json
CHANGED
@@ -531,17 +531,17 @@ export class TransactionsManager {
|
|
531
531
|
itemSets.length - currentIndex - 1,
|
532
532
|
...newItemSets.slice(1)
|
533
533
|
);
|
534
|
-
const startOfQueuedStatuses = this.statuses.findIndex(x => x.status === TransactionStatus.Queued);
|
535
|
-
this.statuses.splice(
|
536
|
-
|
537
|
-
|
538
|
-
|
539
|
-
|
540
|
-
|
541
|
-
|
542
|
-
|
543
|
-
);
|
544
|
-
|
534
|
+
// const startOfQueuedStatuses = this.statuses.findIndex(x => x.status === TransactionStatus.Queued);
|
535
|
+
// this.statuses.splice(
|
536
|
+
// startOfQueuedStatuses,
|
537
|
+
// this.statuses.length - startOfQueuedStatuses,
|
538
|
+
// ...newItemSets.map(x => ({
|
539
|
+
// name: x.name(),
|
540
|
+
// attemptNum: 0,
|
541
|
+
// status: TransactionStatus.Queued,
|
542
|
+
// }))
|
543
|
+
// );
|
544
|
+
this.updateStatusForSets(newItemSets.slice(1));
|
545
545
|
}
|
546
546
|
|
547
547
|
return newItemSets[0];
|