@haven-fi/solauto-sdk 1.0.421 → 1.0.422

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.
@@ -319,7 +319,7 @@ class TransactionsManager {
319
319
  const itemSets = await this.assembleTransactionSets(items);
320
320
  this.updateStatusForSets(itemSets, TransactionStatus.Queued, 0);
321
321
  this.txHandler.log("Initial item sets:", itemSets.length);
322
- if (itemSets.length > 1 && this.atomically) {
322
+ if (this.atomically) {
323
323
  await this.processTransactionsAtomically(itemSets);
324
324
  }
325
325
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haven-fi/solauto-sdk",
3
- "version": "1.0.421",
3
+ "version": "1.0.422",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "description": "Typescript SDK for the Solauto program on the Solana blockchain",
@@ -510,7 +510,7 @@ export class TransactionsManager {
510
510
  this.updateStatusForSets(itemSets, TransactionStatus.Queued, 0);
511
511
  this.txHandler.log("Initial item sets:", itemSets.length);
512
512
 
513
- if (itemSets.length > 1 && this.atomically) {
513
+ if (this.atomically) {
514
514
  await this.processTransactionsAtomically(itemSets);
515
515
  } else {
516
516
  let currentIndex = 0;