@solana/web3.js 1.43.4 → 1.43.5
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 +2 -2
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +2 -2
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +2 -2
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.esm.js +2 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +2 -2
- 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/package.json +2 -2
- package/src/transaction.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solana/web3.js",
|
|
3
|
-
"version": "1.43.
|
|
3
|
+
"version": "1.43.5",
|
|
4
4
|
"description": "Solana Javascript API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"@babel/preset-env": "^7.12.11",
|
|
81
81
|
"@babel/preset-typescript": "^7.12.16",
|
|
82
82
|
"@babel/register": "^7.12.13",
|
|
83
|
-
"@commitlint/config-conventional": "^
|
|
83
|
+
"@commitlint/config-conventional": "^17.0.2",
|
|
84
84
|
"@commitlint/travis-cli": "^17.0.0",
|
|
85
85
|
"@rollup/plugin-alias": "^3.1.9",
|
|
86
86
|
"@rollup/plugin-babel": "^5.2.3",
|
package/src/transaction.ts
CHANGED
|
@@ -403,8 +403,8 @@ export class Transaction {
|
|
|
403
403
|
// Writable accounts always come before read-only accounts
|
|
404
404
|
return x.isWritable ? -1 : 1;
|
|
405
405
|
}
|
|
406
|
-
// Otherwise, sort by pubkey.
|
|
407
|
-
return x.pubkey.
|
|
406
|
+
// Otherwise, sort by pubkey, stringwise.
|
|
407
|
+
return x.pubkey.toBase58().localeCompare(y.pubkey.toBase58());
|
|
408
408
|
});
|
|
409
409
|
|
|
410
410
|
// Move fee payer to the front
|