From 61d39b9d8d9ac3c7ef054d502f5bf1c8aa52a6f7 Mon Sep 17 00:00:00 2001 From: steveluscher Date: Thu, 27 Jun 2024 22:43:24 +0000 Subject: [PATCH] fix: add deprecation notice for `getConfirmedSignaturesForAddress2` and update other deprecation notices' validator versions --- packages/library-legacy/src/connection.ts | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/packages/library-legacy/src/connection.ts b/packages/library-legacy/src/connection.ts index 1af98cfbc6eb..3b4a315faebc 100644 --- a/packages/library-legacy/src/connection.ts +++ b/packages/library-legacy/src/connection.ts @@ -4490,7 +4490,7 @@ export class Connection { * Fetch a recent blockhash from the cluster, return with context * @return {Promise>} * - * @deprecated Deprecated since Solana v1.8.0. Please use {@link getLatestBlockhash} instead. + * @deprecated Deprecated since Solana v1.9.0. Please use {@link getLatestBlockhash} instead. */ async getRecentBlockhashAndContext(commitment?: Commitment): Promise< RpcResponseAndContext<{ @@ -4532,7 +4532,7 @@ export class Connection { /** * Fetch the fee calculator for a recent blockhash from the cluster, return with context * - * @deprecated Deprecated since Solana v1.8.0. Please use {@link getFeeForMessage} instead. + * @deprecated Deprecated since Solana v1.9.0. Please use {@link getFeeForMessage} instead. */ async getFeeCalculatorForBlockhash( blockhash: Blockhash, @@ -5149,7 +5149,7 @@ export class Connection { * Fetch a list of Transactions and transaction statuses from the cluster * for a confirmed block. * - * @deprecated Deprecated since v1.13.0. Please use {@link getBlock} instead. + * @deprecated Deprecated since v1.7.0. Please use {@link getBlock} instead. */ async getConfirmedBlock( slot: number, @@ -5247,7 +5247,7 @@ export class Connection { /** * Fetch a list of Signatures from the cluster for a confirmed block, excluding rewards * - * @deprecated Deprecated since Solana v1.8.0. Please use {@link getBlockSignatures} instead. + * @deprecated Deprecated since Solana v1.7.0. Please use {@link getBlockSignatures} instead. */ async getConfirmedBlockSignatures( slot: number, @@ -5277,7 +5277,7 @@ export class Connection { /** * Fetch a transaction details for a confirmed transaction * - * @deprecated Deprecated since Solana v1.8.0. Please use {@link getTransaction} instead. + * @deprecated Deprecated since Solana v1.7.0. Please use {@link getTransaction} instead. */ async getConfirmedTransaction( signature: TransactionSignature, @@ -5304,7 +5304,7 @@ export class Connection { /** * Fetch parsed transaction details for a confirmed transaction * - * @deprecated Deprecated since Solana v1.8.0. Please use {@link getParsedTransaction} instead. + * @deprecated Deprecated since Solana v1.7.0. Please use {@link getParsedTransaction} instead. */ async getParsedConfirmedTransaction( signature: TransactionSignature, @@ -5329,7 +5329,7 @@ export class Connection { /** * Fetch parsed transaction details for a batch of confirmed transactions * - * @deprecated Deprecated since Solana v1.8.0. Please use {@link getParsedTransactions} instead. + * @deprecated Deprecated since Solana v1.7.0. Please use {@link getParsedTransactions} instead. */ async getParsedConfirmedTransactions( signatures: TransactionSignature[], @@ -5437,9 +5437,7 @@ export class Connection { * Returns confirmed signatures for transactions involving an * address backwards in time from the provided signature or most recent confirmed block * - * - * @param address queried address - * @param options + * @deprecated Deprecated since v1.7.0. Please use {@link getSignaturesForAddress} instead. */ async getConfirmedSignaturesForAddress2( address: PublicKey,