@haven-fi/solauto-sdk 1.0.251 → 1.0.252

Sign up to get free protection for your applications and to get access to all the features.
@@ -260,7 +260,7 @@ class TransactionsManager {
260
260
  }, 0);
261
261
  isolatedLutTx = Boolean(newAccountsUsage);
262
262
  }
263
- if (updateLookupTable && updateLookupTable?.new) {
263
+ if (updateLookupTable && isolatedLutTx) {
264
264
  await this.updateLut(updateLookupTable.tx);
265
265
  }
266
266
  this.lookupTables.defaultLuts = client.defaultLookupTables();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haven-fi/solauto-sdk",
3
- "version": "1.0.251",
3
+ "version": "1.0.252",
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",
@@ -383,7 +383,7 @@ export class TransactionsManager {
383
383
  }, 0);
384
384
  isolatedLutTx = Boolean(newAccountsUsage);
385
385
  }
386
- if (updateLookupTable && updateLookupTable?.new) {
386
+ if (updateLookupTable && isolatedLutTx) {
387
387
  await this.updateLut(updateLookupTable.tx);
388
388
  }
389
389
  this.lookupTables.defaultLuts = client.defaultLookupTables();