Skip to content

Commit

Permalink
fix: add deprecation notice for getConfirmedSignatureForAddress2 an…
Browse files Browse the repository at this point in the history
…d update other deprecation notices' validator versions
  • Loading branch information
steveluscher committed Jun 27, 2024
1 parent 43c4d05 commit 8015bf4
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions packages/library-legacy/src/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4490,7 +4490,7 @@ export class Connection {
* Fetch a recent blockhash from the cluster, return with context
* @return {Promise<RpcResponseAndContext<{blockhash: Blockhash, feeCalculator: FeeCalculator}>>}
*
* @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<{
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand All @@ -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,
Expand All @@ -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[],
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 8015bf4

Please sign in to comment.