@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.
@@ -1385,7 +1385,15 @@ class Transaction {
1385
1385
  return x.isWritable ? -1 : 1;
1386
1386
  }
1387
1387
  // Otherwise, sort by pubkey, stringwise.
1388
- return x.pubkey.toBase58().localeCompare(y.pubkey.toBase58());
1388
+ const options = {
1389
+ localeMatcher: 'best fit',
1390
+ usage: 'sort',
1391
+ sensitivity: 'variant',
1392
+ ignorePunctuation: false,
1393
+ numeric: false,
1394
+ caseFirst: 'lower'
1395
+ };
1396
+ return x.pubkey.toBase58().localeCompare(y.pubkey.toBase58(), 'en', options);
1389
1397
  });
1390
1398
 
1391
1399
  // Move fee payer to the front
@@ -9170,7 +9178,7 @@ class VoteProgram {
9170
9178
  }
9171
9179
  }
9172
9180
  VoteProgram.programId = new PublicKey('Vote111111111111111111111111111111111111111');
9173
- VoteProgram.space = process.env.TEST_LIVE ? 3762 : 3731;
9181
+ VoteProgram.space = 3731;
9174
9182
 
9175
9183
  const VALIDATOR_INFO_KEY = new PublicKey('Va1idator1nfo111111111111111111111111111111');
9176
9184