@solana/web3.js 1.70.1 → 1.70.2

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.
@@ -219,7 +219,7 @@ class PublicKey extends Struct {
219
219
  return this.toBase58();
220
220
  }
221
221
  /**
222
- * Return the byte array representation of the public key
222
+ * Return the byte array representation of the public key in big endian
223
223
  */
224
224
 
225
225
 
@@ -227,7 +227,7 @@ class PublicKey extends Struct {
227
227
  return this.toBuffer();
228
228
  }
229
229
  /**
230
- * Return the Buffer representation of the public key
230
+ * Return the Buffer representation of the public key in big endian
231
231
  */
232
232
 
233
233
 
@@ -3899,6 +3899,7 @@ const BlockProductionResponseStruct = jsonRpcResultAndContext(superstruct.type({
3899
3899
 
3900
3900
  function createRpcClient(url, httpHeaders, customFetch, fetchMiddleware, disableRetryOnRateLimit, httpAgent) {
3901
3901
  const fetch = customFetch ? customFetch : fetchImpl;
3902
+ let agent;
3902
3903
 
3903
3904
  {
3904
3905
  if (httpAgent != null) {
@@ -3922,7 +3923,6 @@ function createRpcClient(url, httpHeaders, customFetch, fetchMiddleware, disable
3922
3923
  }
3923
3924
 
3924
3925
  const clientBrowser = new RpcClient__default["default"](async (request, callback) => {
3925
- const agent = undefined;
3926
3926
  const options = {
3927
3927
  method: 'POST',
3928
3928
  body: request,
@@ -3974,7 +3974,6 @@ function createRpcClient(url, httpHeaders, customFetch, fetchMiddleware, disable
3974
3974
  }
3975
3975
  } catch (err) {
3976
3976
  if (err instanceof Error) callback(err);
3977
- } finally {
3978
3977
  }
3979
3978
  }, {});
3980
3979
  return clientBrowser;