@solana/web3.js 1.93.3 → 1.93.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana/web3.js",
3
- "version": "1.93.3",
3
+ "version": "1.93.4",
4
4
  "description": "Solana Javascript API",
5
5
  "keywords": [
6
6
  "api",
package/src/connection.ts CHANGED
@@ -1007,7 +1007,7 @@ export type TokenBalance = {
1007
1007
  /**
1008
1008
  * Metadata for a parsed confirmed transaction on the ledger
1009
1009
  *
1010
- * @deprecated Deprecated since Solana v1.8.0. Please use {@link ParsedTransactionMeta} instead.
1010
+ * @deprecated Deprecated since RPC v1.8.0. Please use {@link ParsedTransactionMeta} instead.
1011
1011
  */
1012
1012
  export type ParsedConfirmedTransactionMeta = ParsedTransactionMeta;
1013
1013
 
@@ -1130,7 +1130,7 @@ type MessageResponse = {
1130
1130
  /**
1131
1131
  * A confirmed transaction on the ledger
1132
1132
  *
1133
- * @deprecated Deprecated since Solana v1.8.0.
1133
+ * @deprecated Deprecated since RPC v1.8.0.
1134
1134
  */
1135
1135
  export type ConfirmedTransaction = {
1136
1136
  /** The slot during which the transaction was processed */
@@ -1220,7 +1220,7 @@ export type ParsedTransaction = {
1220
1220
  /**
1221
1221
  * A parsed and confirmed transaction on the ledger
1222
1222
  *
1223
- * @deprecated Deprecated since Solana v1.8.0. Please use {@link ParsedTransactionWithMeta} instead.
1223
+ * @deprecated Deprecated since RPC v1.8.0. Please use {@link ParsedTransactionWithMeta} instead.
1224
1224
  */
1225
1225
  export type ParsedConfirmedTransaction = ParsedTransactionWithMeta;
1226
1226
 
@@ -1427,7 +1427,7 @@ export type VersionedNoneModeBlockResponse = Omit<
1427
1427
  /**
1428
1428
  * A confirmed block on the ledger
1429
1429
  *
1430
- * @deprecated Deprecated since Solana v1.8.0.
1430
+ * @deprecated Deprecated since RPC v1.8.0.
1431
1431
  */
1432
1432
  export type ConfirmedBlock = {
1433
1433
  /** Blockhash of this block */
@@ -2483,7 +2483,7 @@ const GetParsedNoneModeBlockRpcResult = jsonRpcResult(
2483
2483
  /**
2484
2484
  * Expected JSON RPC response for the "getConfirmedBlock" message
2485
2485
  *
2486
- * @deprecated Deprecated since Solana v1.8.0. Please use {@link GetBlockRpcResult} instead.
2486
+ * @deprecated Deprecated since RPC v1.8.0. Please use {@link GetBlockRpcResult} instead.
2487
2487
  */
2488
2488
  const GetConfirmedBlockRpcResult = jsonRpcResult(
2489
2489
  nullable(
@@ -2551,7 +2551,7 @@ const GetParsedTransactionRpcResult = jsonRpcResult(
2551
2551
  /**
2552
2552
  * Expected JSON RPC response for the "getRecentBlockhash" message
2553
2553
  *
2554
- * @deprecated Deprecated since Solana v1.8.0. Please use {@link GetLatestBlockhashRpcResult} instead.
2554
+ * @deprecated Deprecated since RPC v1.8.0. Please use {@link GetLatestBlockhashRpcResult} instead.
2555
2555
  */
2556
2556
  const GetRecentBlockhashAndContextRpcResult = jsonRpcResultAndContext(
2557
2557
  pick({
@@ -3640,6 +3640,8 @@ export class Connection {
3640
3640
 
3641
3641
  /**
3642
3642
  * Returns epoch activation information for a stake account that has been delegated
3643
+ *
3644
+ * @deprecated Deprecated since RPC v1.18; will be removed in a future version.
3643
3645
  */
3644
3646
  async getStakeActivation(
3645
3647
  publicKey: PublicKey,
@@ -4345,7 +4347,7 @@ export class Connection {
4345
4347
  /**
4346
4348
  * Fetch the current total currency supply of the cluster in lamports
4347
4349
  *
4348
- * @deprecated Deprecated since v1.2.8. Please use {@link getSupply} instead.
4350
+ * @deprecated Deprecated since RPC v1.2.8. Please use {@link getSupply} instead.
4349
4351
  */
4350
4352
  async getTotalSupply(commitment?: Commitment): Promise<number> {
4351
4353
  const result = await this.getSupply({
@@ -4488,7 +4490,7 @@ export class Connection {
4488
4490
  * Fetch a recent blockhash from the cluster, return with context
4489
4491
  * @return {Promise<RpcResponseAndContext<{blockhash: Blockhash, feeCalculator: FeeCalculator}>>}
4490
4492
  *
4491
- * @deprecated Deprecated since Solana v1.8.0. Please use {@link getLatestBlockhash} instead.
4493
+ * @deprecated Deprecated since RPC v1.9.0. Please use {@link getLatestBlockhash} instead.
4492
4494
  */
4493
4495
  async getRecentBlockhashAndContext(commitment?: Commitment): Promise<
4494
4496
  RpcResponseAndContext<{
@@ -4530,7 +4532,7 @@ export class Connection {
4530
4532
  /**
4531
4533
  * Fetch the fee calculator for a recent blockhash from the cluster, return with context
4532
4534
  *
4533
- * @deprecated Deprecated since Solana v1.8.0. Please use {@link getFeeForMessage} instead.
4535
+ * @deprecated Deprecated since RPC v1.9.0. Please use {@link getFeeForMessage} instead.
4534
4536
  */
4535
4537
  async getFeeCalculatorForBlockhash(
4536
4538
  blockhash: Blockhash,
@@ -4599,7 +4601,7 @@ export class Connection {
4599
4601
  * Fetch a recent blockhash from the cluster
4600
4602
  * @return {Promise<{blockhash: Blockhash, feeCalculator: FeeCalculator}>}
4601
4603
  *
4602
- * @deprecated Deprecated since Solana v1.8.0. Please use {@link getLatestBlockhash} instead.
4604
+ * @deprecated Deprecated since RPC v1.8.0. Please use {@link getLatestBlockhash} instead.
4603
4605
  */
4604
4606
  async getRecentBlockhash(
4605
4607
  commitment?: Commitment,
@@ -5147,7 +5149,7 @@ export class Connection {
5147
5149
  * Fetch a list of Transactions and transaction statuses from the cluster
5148
5150
  * for a confirmed block.
5149
5151
  *
5150
- * @deprecated Deprecated since v1.13.0. Please use {@link getBlock} instead.
5152
+ * @deprecated Deprecated since RPC v1.7.0. Please use {@link getBlock} instead.
5151
5153
  */
5152
5154
  async getConfirmedBlock(
5153
5155
  slot: number,
@@ -5245,7 +5247,7 @@ export class Connection {
5245
5247
  /**
5246
5248
  * Fetch a list of Signatures from the cluster for a confirmed block, excluding rewards
5247
5249
  *
5248
- * @deprecated Deprecated since Solana v1.8.0. Please use {@link getBlockSignatures} instead.
5250
+ * @deprecated Deprecated since RPC v1.7.0. Please use {@link getBlockSignatures} instead.
5249
5251
  */
5250
5252
  async getConfirmedBlockSignatures(
5251
5253
  slot: number,
@@ -5275,7 +5277,7 @@ export class Connection {
5275
5277
  /**
5276
5278
  * Fetch a transaction details for a confirmed transaction
5277
5279
  *
5278
- * @deprecated Deprecated since Solana v1.8.0. Please use {@link getTransaction} instead.
5280
+ * @deprecated Deprecated since RPC v1.7.0. Please use {@link getTransaction} instead.
5279
5281
  */
5280
5282
  async getConfirmedTransaction(
5281
5283
  signature: TransactionSignature,
@@ -5302,7 +5304,7 @@ export class Connection {
5302
5304
  /**
5303
5305
  * Fetch parsed transaction details for a confirmed transaction
5304
5306
  *
5305
- * @deprecated Deprecated since Solana v1.8.0. Please use {@link getParsedTransaction} instead.
5307
+ * @deprecated Deprecated since RPC v1.7.0. Please use {@link getParsedTransaction} instead.
5306
5308
  */
5307
5309
  async getParsedConfirmedTransaction(
5308
5310
  signature: TransactionSignature,
@@ -5327,7 +5329,7 @@ export class Connection {
5327
5329
  /**
5328
5330
  * Fetch parsed transaction details for a batch of confirmed transactions
5329
5331
  *
5330
- * @deprecated Deprecated since Solana v1.8.0. Please use {@link getParsedTransactions} instead.
5332
+ * @deprecated Deprecated since RPC v1.7.0. Please use {@link getParsedTransactions} instead.
5331
5333
  */
5332
5334
  async getParsedConfirmedTransactions(
5333
5335
  signatures: TransactionSignature[],
@@ -5364,7 +5366,7 @@ export class Connection {
5364
5366
  * Fetch a list of all the confirmed signatures for transactions involving an address
5365
5367
  * within a specified slot range. Max range allowed is 10,000 slots.
5366
5368
  *
5367
- * @deprecated Deprecated since v1.3. Please use {@link getConfirmedSignaturesForAddress2} instead.
5369
+ * @deprecated Deprecated since RPC v1.3. Please use {@link getConfirmedSignaturesForAddress2} instead.
5368
5370
  *
5369
5371
  * @param address queried address
5370
5372
  * @param startSlot start slot, inclusive
@@ -5435,9 +5437,7 @@ export class Connection {
5435
5437
  * Returns confirmed signatures for transactions involving an
5436
5438
  * address backwards in time from the provided signature or most recent confirmed block
5437
5439
  *
5438
- *
5439
- * @param address queried address
5440
- * @param options
5440
+ * @deprecated Deprecated since RPC v1.7.0. Please use {@link getSignaturesForAddress} instead.
5441
5441
  */
5442
5442
  async getConfirmedSignaturesForAddress2(
5443
5443
  address: PublicKey,