@solana/web3.js 1.43.6 → 1.44.0
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 +4 -0
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +4 -0
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +4 -0
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.esm.js +4 -0
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +4 -0
- 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/system-program.ts +9 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solana/web3.js",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.44.0",
|
|
4
4
|
"description": "Solana Javascript API",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api",
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
"rollup-plugin-dts": "^4.0.0",
|
|
127
127
|
"rollup-plugin-node-polyfills": "^0.2.1",
|
|
128
128
|
"rollup-plugin-terser": "^7.0.2",
|
|
129
|
-
"semantic-release": "^
|
|
129
|
+
"semantic-release": "^19.0.3",
|
|
130
130
|
"sinon": "^13.0.2",
|
|
131
131
|
"sinon-chai": "^3.7.0",
|
|
132
132
|
"start-server-and-test": "^1.12.0",
|
package/src/system-program.ts
CHANGED
|
@@ -566,7 +566,8 @@ export type SystemInstructionType =
|
|
|
566
566
|
| 'InitializeNonceAccount'
|
|
567
567
|
| 'Transfer'
|
|
568
568
|
| 'TransferWithSeed'
|
|
569
|
-
| 'WithdrawNonceAccount'
|
|
569
|
+
| 'WithdrawNonceAccount'
|
|
570
|
+
| 'UpgradeNonceAccount';
|
|
570
571
|
|
|
571
572
|
type SystemInstructionInputData = {
|
|
572
573
|
AdvanceNonceAccount: IInstructionInputData;
|
|
@@ -616,6 +617,7 @@ type SystemInstructionInputData = {
|
|
|
616
617
|
WithdrawNonceAccount: IInstructionInputData & {
|
|
617
618
|
lamports: number;
|
|
618
619
|
};
|
|
620
|
+
UpgradeNonceAccount: IInstructionInputData;
|
|
619
621
|
};
|
|
620
622
|
|
|
621
623
|
/**
|
|
@@ -724,6 +726,12 @@ export const SYSTEM_INSTRUCTION_LAYOUTS = Object.freeze<{
|
|
|
724
726
|
],
|
|
725
727
|
),
|
|
726
728
|
},
|
|
729
|
+
UpgradeNonceAccount: {
|
|
730
|
+
index: 12,
|
|
731
|
+
layout: BufferLayout.struct<
|
|
732
|
+
SystemInstructionInputData['UpgradeNonceAccount']
|
|
733
|
+
>([BufferLayout.u32('instruction')]),
|
|
734
|
+
},
|
|
727
735
|
});
|
|
728
736
|
|
|
729
737
|
/**
|