@solana/web3.js 1.43.6 → 1.44.2

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.
package/lib/index.iife.js CHANGED
@@ -15304,6 +15304,10 @@ var solanaWeb3 = (function (exports) {
15304
15304
  TransferWithSeed: {
15305
15305
  index: 11,
15306
15306
  layout: struct([u32('instruction'), u64('lamports'), rustString('seed'), publicKey('programId')])
15307
+ },
15308
+ UpgradeNonceAccount: {
15309
+ index: 12,
15310
+ layout: struct([u32('instruction')])
15307
15311
  }
15308
15312
  });
15309
15313
  /**
@@ -21578,7 +21582,13 @@ var solanaWeb3 = (function (exports) {
21578
21582
  throw new Error('failed to get transactions: ' + res.error.message);
21579
21583
  }
21580
21584
 
21581
- return res.result;
21585
+ const result = res.result;
21586
+ if (!result) return result;
21587
+ return { ...result,
21588
+ transaction: { ...result.transaction,
21589
+ message: new Message(result.transaction.message)
21590
+ }
21591
+ };
21582
21592
  });
21583
21593
  return res;
21584
21594
  }
@@ -30271,6 +30281,8 @@ var solanaWeb3 = (function (exports) {
30271
30281
  exports.SystemInstruction = SystemInstruction;
30272
30282
  exports.SystemProgram = SystemProgram;
30273
30283
  exports.Transaction = Transaction;
30284
+ exports.TransactionExpiredBlockheightExceededError = TransactionExpiredBlockheightExceededError;
30285
+ exports.TransactionExpiredTimeoutError = TransactionExpiredTimeoutError;
30274
30286
  exports.TransactionInstruction = TransactionInstruction;
30275
30287
  exports.VALIDATOR_INFO_KEY = VALIDATOR_INFO_KEY;
30276
30288
  exports.VOTE_PROGRAM_ID = VOTE_PROGRAM_ID;