@solana/web3.js 1.77.0 → 1.77.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.
@@ -1413,7 +1413,15 @@ class Transaction {
1413
1413
  return x.isWritable ? -1 : 1;
1414
1414
  }
1415
1415
  // Otherwise, sort by pubkey, stringwise.
1416
- return x.pubkey.toBase58().localeCompare(y.pubkey.toBase58());
1416
+ const options = {
1417
+ localeMatcher: 'best fit',
1418
+ usage: 'sort',
1419
+ sensitivity: 'variant',
1420
+ ignorePunctuation: false,
1421
+ numeric: false,
1422
+ caseFirst: 'lower'
1423
+ };
1424
+ return x.pubkey.toBase58().localeCompare(y.pubkey.toBase58(), 'en', options);
1417
1425
  });
1418
1426
 
1419
1427
  // Move fee payer to the front
@@ -9198,7 +9206,7 @@ class VoteProgram {
9198
9206
  }
9199
9207
  }
9200
9208
  VoteProgram.programId = new PublicKey('Vote111111111111111111111111111111111111111');
9201
- VoteProgram.space = process.env.TEST_LIVE ? 3762 : 3731;
9209
+ VoteProgram.space = 3731;
9202
9210
 
9203
9211
  const VALIDATOR_INFO_KEY = new PublicKey('Va1idator1nfo111111111111111111111111111111');
9204
9212