Skip to content

Commit 61d39b9

Browse files
committed
fix: add deprecation notice for getConfirmedSignaturesForAddress2 and update other deprecation notices' validator versions
1 parent 43c4d05 commit 61d39b9

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

packages/library-legacy/src/connection.ts

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4490,7 +4490,7 @@ export class Connection {
44904490
* Fetch a recent blockhash from the cluster, return with context
44914491
* @return {Promise<RpcResponseAndContext<{blockhash: Blockhash, feeCalculator: FeeCalculator}>>}
44924492
*
4493-
* @deprecated Deprecated since Solana v1.8.0. Please use {@link getLatestBlockhash} instead.
4493+
* @deprecated Deprecated since Solana v1.9.0. Please use {@link getLatestBlockhash} instead.
44944494
*/
44954495
async getRecentBlockhashAndContext(commitment?: Commitment): Promise<
44964496
RpcResponseAndContext<{
@@ -4532,7 +4532,7 @@ export class Connection {
45324532
/**
45334533
* Fetch the fee calculator for a recent blockhash from the cluster, return with context
45344534
*
4535-
* @deprecated Deprecated since Solana v1.8.0. Please use {@link getFeeForMessage} instead.
4535+
* @deprecated Deprecated since Solana v1.9.0. Please use {@link getFeeForMessage} instead.
45364536
*/
45374537
async getFeeCalculatorForBlockhash(
45384538
blockhash: Blockhash,
@@ -5149,7 +5149,7 @@ export class Connection {
51495149
* Fetch a list of Transactions and transaction statuses from the cluster
51505150
* for a confirmed block.
51515151
*
5152-
* @deprecated Deprecated since v1.13.0. Please use {@link getBlock} instead.
5152+
* @deprecated Deprecated since v1.7.0. Please use {@link getBlock} instead.
51535153
*/
51545154
async getConfirmedBlock(
51555155
slot: number,
@@ -5247,7 +5247,7 @@ export class Connection {
52475247
/**
52485248
* Fetch a list of Signatures from the cluster for a confirmed block, excluding rewards
52495249
*
5250-
* @deprecated Deprecated since Solana v1.8.0. Please use {@link getBlockSignatures} instead.
5250+
* @deprecated Deprecated since Solana v1.7.0. Please use {@link getBlockSignatures} instead.
52515251
*/
52525252
async getConfirmedBlockSignatures(
52535253
slot: number,
@@ -5277,7 +5277,7 @@ export class Connection {
52775277
/**
52785278
* Fetch a transaction details for a confirmed transaction
52795279
*
5280-
* @deprecated Deprecated since Solana v1.8.0. Please use {@link getTransaction} instead.
5280+
* @deprecated Deprecated since Solana v1.7.0. Please use {@link getTransaction} instead.
52815281
*/
52825282
async getConfirmedTransaction(
52835283
signature: TransactionSignature,
@@ -5304,7 +5304,7 @@ export class Connection {
53045304
/**
53055305
* Fetch parsed transaction details for a confirmed transaction
53065306
*
5307-
* @deprecated Deprecated since Solana v1.8.0. Please use {@link getParsedTransaction} instead.
5307+
* @deprecated Deprecated since Solana v1.7.0. Please use {@link getParsedTransaction} instead.
53085308
*/
53095309
async getParsedConfirmedTransaction(
53105310
signature: TransactionSignature,
@@ -5329,7 +5329,7 @@ export class Connection {
53295329
/**
53305330
* Fetch parsed transaction details for a batch of confirmed transactions
53315331
*
5332-
* @deprecated Deprecated since Solana v1.8.0. Please use {@link getParsedTransactions} instead.
5332+
* @deprecated Deprecated since Solana v1.7.0. Please use {@link getParsedTransactions} instead.
53335333
*/
53345334
async getParsedConfirmedTransactions(
53355335
signatures: TransactionSignature[],
@@ -5437,9 +5437,7 @@ export class Connection {
54375437
* Returns confirmed signatures for transactions involving an
54385438
* address backwards in time from the provided signature or most recent confirmed block
54395439
*
5440-
*
5441-
* @param address queried address
5442-
* @param options
5440+
* @deprecated Deprecated since v1.7.0. Please use {@link getSignaturesForAddress} instead.
54435441
*/
54445442
async getConfirmedSignaturesForAddress2(
54455443
address: PublicKey,

0 commit comments

Comments
 (0)