@haven-fi/solauto-sdk 1.0.248 → 1.0.249
Sign up to get free protection for your applications and to get access to all the features.
@@ -258,9 +258,9 @@ class TransactionsManager {
|
|
258
258
|
? count + 1
|
259
259
|
: count;
|
260
260
|
}, 0);
|
261
|
-
isolatedLutTx = newAccountsUsage
|
261
|
+
isolatedLutTx = Boolean(newAccountsUsage);
|
262
262
|
}
|
263
|
-
if (updateLookupTable &&
|
263
|
+
if (updateLookupTable && updateLookupTable?.new) {
|
264
264
|
await this.updateLut(updateLookupTable.tx);
|
265
265
|
}
|
266
266
|
this.lookupTables.defaultLuts = client.defaultLookupTables();
|
package/package.json
CHANGED
@@ -381,9 +381,9 @@ export class TransactionsManager {
|
|
381
381
|
? count + 1
|
382
382
|
: count;
|
383
383
|
}, 0);
|
384
|
-
isolatedLutTx = newAccountsUsage
|
384
|
+
isolatedLutTx = Boolean(newAccountsUsage);
|
385
385
|
}
|
386
|
-
if (updateLookupTable &&
|
386
|
+
if (updateLookupTable && updateLookupTable?.new) {
|
387
387
|
await this.updateLut(updateLookupTable.tx);
|
388
388
|
}
|
389
389
|
this.lookupTables.defaultLuts = client.defaultLookupTables();
|