@solana/web3.js 1.43.5 → 1.44.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana/web3.js",
3
- "version": "1.43.5",
3
+ "version": "1.44.1",
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": "^18.0.0",
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/index.ts CHANGED
@@ -25,6 +25,7 @@ export * from './errors';
25
25
  export * from './util/borsh-schema';
26
26
  export * from './util/send-and-confirm-transaction';
27
27
  export * from './util/send-and-confirm-raw-transaction';
28
+ export * from './util/tx-expiry-custom-errors';
28
29
  export * from './util/cluster';
29
30
 
30
31
  /**
@@ -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
  /**
@@ -142,6 +142,11 @@ export type TransactionCtorFields_DEPRECATED = {
142
142
  recentBlockhash?: Blockhash;
143
143
  };
144
144
 
145
+ // For backward compatibility; an unfortunate consequence of being
146
+ // forced to over-export types by the documentation generator.
147
+ // See https://github.com/solana-labs/solana/pull/25820
148
+ export type TransactionCtorFields = TransactionCtorFields_DEPRECATED;
149
+
145
150
  /**
146
151
  * List of Transaction object fields that may be initialized at construction
147
152
  */