@haven-fi/solauto-sdk 1.0.266 → 1.0.267
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.
|
@@ -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);
|
|
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);
|
|
545
545
|
}
|
|
546
546
|
|
|
547
547
|
return newItemSets[0];
|