Skip to content

Commit d7ed86a

Browse files
authored
chore: annotate more types as deprecated (#27067)
1 parent bbfd5d3 commit d7ed86a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/connection.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,8 @@ export type TransactionResponse = {
884884

885885
/**
886886
* A confirmed transaction on the ledger
887+
*
888+
* @deprecated Deprecated since Solana v1.8.0.
887889
*/
888890
export type ConfirmedTransaction = {
889891
/** The slot during which the transaction was processed */
@@ -1013,7 +1015,9 @@ export type BlockResponse = {
10131015
};
10141016

10151017
/**
1016-
* A ConfirmedBlock on the ledger
1018+
* A confirmed block on the ledger
1019+
*
1020+
* @deprecated Deprecated since Solana v1.8.0.
10171021
*/
10181022
export type ConfirmedBlock = {
10191023
/** Blockhash of this block */

src/fee-calculator.ts

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ export const FeeCalculatorLayout = BufferLayout.nu64('lamportsPerSignature');
99

1010
/**
1111
* Calculator for transaction fees.
12+
*
13+
* @deprecated Deprecated since Solana v1.8.0.
1214
*/
1315
export interface FeeCalculator {
1416
/** Cost in lamports to validate a signature. */

0 commit comments

Comments
 (0)