From d7ed86a68c21238d8c66f9b1f9b3a7a2e9a92c8e Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Wed, 10 Aug 2022 21:35:30 +0100 Subject: [PATCH] chore: annotate more types as deprecated (#27067) --- src/connection.ts | 6 +++++- src/fee-calculator.ts | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/connection.ts b/src/connection.ts index 9b45eb4b92db..4da88bd6422a 100644 --- a/src/connection.ts +++ b/src/connection.ts @@ -884,6 +884,8 @@ export type TransactionResponse = { /** * A confirmed transaction on the ledger + * + * @deprecated Deprecated since Solana v1.8.0. */ export type ConfirmedTransaction = { /** The slot during which the transaction was processed */ @@ -1013,7 +1015,9 @@ export type BlockResponse = { }; /** - * A ConfirmedBlock on the ledger + * A confirmed block on the ledger + * + * @deprecated Deprecated since Solana v1.8.0. */ export type ConfirmedBlock = { /** Blockhash of this block */ diff --git a/src/fee-calculator.ts b/src/fee-calculator.ts index f4caacf7d94f..eca886ac33bf 100644 --- a/src/fee-calculator.ts +++ b/src/fee-calculator.ts @@ -9,6 +9,8 @@ export const FeeCalculatorLayout = BufferLayout.nu64('lamportsPerSignature'); /** * Calculator for transaction fees. + * + * @deprecated Deprecated since Solana v1.8.0. */ export interface FeeCalculator { /** Cost in lamports to validate a signature. */