@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.
@@ -5214,7 +5214,7 @@ const LogsNotificationResult = type({
5214
5214
 
5215
5215
  /** @internal */
5216
5216
  const COMMON_HTTP_HEADERS = {
5217
- 'solana-client': `js/${"1.95.8"}`
5217
+ 'solana-client': `js/${"1.0.0-maintenance"}`
5218
5218
  };
5219
5219
 
5220
5220
  /**
@@ -6832,7 +6832,7 @@ class Connection {
6832
6832
  */
6833
6833
  async getConfirmedBlock(slot, commitment) {
6834
6834
  const args = this._buildArgsAtLeastConfirmed([slot], commitment);
6835
- const unsafeRes = await this._rpcRequest('getConfirmedBlock', args);
6835
+ const unsafeRes = await this._rpcRequest('getBlock', args);
6836
6836
  const res = create(unsafeRes, GetConfirmedBlockRpcResult);
6837
6837
  if ('error' in res) {
6838
6838
  throw new SolanaJSONRPCError(res.error, 'failed to get confirmed block');
@@ -6914,7 +6914,7 @@ class Connection {
6914
6914
  transactionDetails: 'signatures',
6915
6915
  rewards: false
6916
6916
  });
6917
- const unsafeRes = await this._rpcRequest('getConfirmedBlock', args);
6917
+ const unsafeRes = await this._rpcRequest('getBlock', args);
6918
6918
  const res = create(unsafeRes, GetBlockSignaturesRpcResult);
6919
6919
  if ('error' in res) {
6920
6920
  throw new SolanaJSONRPCError(res.error, 'failed to get confirmed block');