@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.
- package/lib/index.browser.cjs.js +10 -2
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +10 -2
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +10 -2
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.esm.js +10 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +10 -2
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +2 -2
- package/lib/index.iife.min.js.map +1 -1
- package/lib/index.native.js +10 -2
- package/lib/index.native.js.map +1 -1
- package/package.json +5 -5
- package/src/errors.ts +1 -1
- package/src/transaction/legacy.ts +11 -1
package/lib/index.cjs.js
CHANGED
|
@@ -1427,7 +1427,15 @@ class Transaction {
|
|
|
1427
1427
|
return x.isWritable ? -1 : 1;
|
|
1428
1428
|
}
|
|
1429
1429
|
// Otherwise, sort by pubkey, stringwise.
|
|
1430
|
-
|
|
1430
|
+
const options = {
|
|
1431
|
+
localeMatcher: 'best fit',
|
|
1432
|
+
usage: 'sort',
|
|
1433
|
+
sensitivity: 'variant',
|
|
1434
|
+
ignorePunctuation: false,
|
|
1435
|
+
numeric: false,
|
|
1436
|
+
caseFirst: 'lower'
|
|
1437
|
+
};
|
|
1438
|
+
return x.pubkey.toBase58().localeCompare(y.pubkey.toBase58(), 'en', options);
|
|
1431
1439
|
});
|
|
1432
1440
|
|
|
1433
1441
|
// Move fee payer to the front
|
|
@@ -11722,7 +11730,7 @@ class VoteProgram {
|
|
|
11722
11730
|
}
|
|
11723
11731
|
}
|
|
11724
11732
|
VoteProgram.programId = new PublicKey('Vote111111111111111111111111111111111111111');
|
|
11725
|
-
VoteProgram.space =
|
|
11733
|
+
VoteProgram.space = 3731;
|
|
11726
11734
|
|
|
11727
11735
|
const VALIDATOR_INFO_KEY = new PublicKey('Va1idator1nfo111111111111111111111111111111');
|
|
11728
11736
|
|