@solana/web3.js 1.77.1 → 1.77.3
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 +9 -1
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +9 -1
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +9 -1
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.esm.js +9 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +9 -1
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +1 -1
- package/lib/index.iife.min.js.map +1 -1
- package/lib/index.native.js +9 -1
- package/lib/index.native.js.map +1 -1
- package/package.json +5 -5
- package/src/connection.ts +1 -1
- package/src/errors.ts +1 -1
- package/src/transaction/legacy.ts +11 -1
package/lib/index.native.js
CHANGED
|
@@ -1413,7 +1413,15 @@ class Transaction {
|
|
|
1413
1413
|
return x.isWritable ? -1 : 1;
|
|
1414
1414
|
}
|
|
1415
1415
|
// Otherwise, sort by pubkey, stringwise.
|
|
1416
|
-
|
|
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
|