@solana/web3.js 1.95.8 → 1.96.0

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/lib/index.esm.js CHANGED
@@ -5959,7 +5959,7 @@ const LogsNotificationResult = type({
5959
5959
 
5960
5960
  /** @internal */
5961
5961
  const COMMON_HTTP_HEADERS = {
5962
- 'solana-client': `js/${"1.95.8"}`
5962
+ 'solana-client': `js/${"1.0.0-maintenance"}`
5963
5963
  };
5964
5964
 
5965
5965
  /**
@@ -7577,7 +7577,7 @@ class Connection {
7577
7577
  */
7578
7578
  async getConfirmedBlock(slot, commitment) {
7579
7579
  const args = this._buildArgsAtLeastConfirmed([slot], commitment);
7580
- const unsafeRes = await this._rpcRequest('getConfirmedBlock', args);
7580
+ const unsafeRes = await this._rpcRequest('getBlock', args);
7581
7581
  const res = create(unsafeRes, GetConfirmedBlockRpcResult);
7582
7582
  if ('error' in res) {
7583
7583
  throw new SolanaJSONRPCError(res.error, 'failed to get confirmed block');
@@ -7659,7 +7659,7 @@ class Connection {
7659
7659
  transactionDetails: 'signatures',
7660
7660
  rewards: false
7661
7661
  });
7662
- const unsafeRes = await this._rpcRequest('getConfirmedBlock', args);
7662
+ const unsafeRes = await this._rpcRequest('getBlock', args);
7663
7663
  const res = create(unsafeRes, GetBlockSignaturesRpcResult);
7664
7664
  if ('error' in res) {
7665
7665
  throw new SolanaJSONRPCError(res.error, 'failed to get confirmed block');