@solana/web3.js 1.43.4 → 1.44.0

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
@@ -14285,10 +14285,10 @@ var solanaWeb3 = (function (exports) {
14285
14285
  if (x.isWritable !== y.isWritable) {
14286
14286
  // Writable accounts always come before read-only accounts
14287
14287
  return x.isWritable ? -1 : 1;
14288
- } // Otherwise, sort by pubkey.
14288
+ } // Otherwise, sort by pubkey, stringwise.
14289
14289
 
14290
14290
 
14291
- return x.pubkey._bn.cmp(y.pubkey._bn);
14291
+ return x.pubkey.toBase58().localeCompare(y.pubkey.toBase58());
14292
14292
  }); // Move fee payer to the front
14293
14293
 
14294
14294
  const feePayerIndex = uniqueMetas.findIndex(x => {
@@ -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
  /**