Skip to content

Commit

Permalink
chore: annotate more types as deprecated (#27067)
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarry authored Aug 10, 2022
1 parent bbfd5d3 commit d7ed86a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down Expand Up @@ -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 */
Expand Down
2 changes: 2 additions & 0 deletions src/fee-calculator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit d7ed86a

Please sign in to comment.