@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.iife.js
CHANGED
|
@@ -13151,7 +13151,15 @@ var solanaWeb3 = (function (exports) {
|
|
|
13151
13151
|
return x.isWritable ? -1 : 1;
|
|
13152
13152
|
}
|
|
13153
13153
|
// Otherwise, sort by pubkey, stringwise.
|
|
13154
|
-
|
|
13154
|
+
const options = {
|
|
13155
|
+
localeMatcher: 'best fit',
|
|
13156
|
+
usage: 'sort',
|
|
13157
|
+
sensitivity: 'variant',
|
|
13158
|
+
ignorePunctuation: false,
|
|
13159
|
+
numeric: false,
|
|
13160
|
+
caseFirst: 'lower'
|
|
13161
|
+
};
|
|
13162
|
+
return x.pubkey.toBase58().localeCompare(y.pubkey.toBase58(), 'en', options);
|
|
13155
13163
|
});
|
|
13156
13164
|
|
|
13157
13165
|
// Move fee payer to the front
|
|
@@ -25645,7 +25653,7 @@ var solanaWeb3 = (function (exports) {
|
|
|
25645
25653
|
}
|
|
25646
25654
|
}
|
|
25647
25655
|
VoteProgram.programId = new PublicKey('Vote111111111111111111111111111111111111111');
|
|
25648
|
-
VoteProgram.space =
|
|
25656
|
+
VoteProgram.space = 3731;
|
|
25649
25657
|
|
|
25650
25658
|
const VALIDATOR_INFO_KEY = new PublicKey('Va1idator1nfo111111111111111111111111111111');
|
|
25651
25659
|
|