@solana/web3.js 1.47.1 → 1.47.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana/web3.js",
3
- "version": "1.47.1",
3
+ "version": "1.47.2",
4
4
  "description": "Solana Javascript API",
5
5
  "keywords": [
6
6
  "api",
package/src/connection.ts CHANGED
@@ -3431,10 +3431,9 @@ export class Connection {
3431
3431
  async getRecentPerformanceSamples(
3432
3432
  limit?: number,
3433
3433
  ): Promise<Array<PerfSample>> {
3434
- const args = this._buildArgs(limit ? [limit] : []);
3435
3434
  const unsafeRes = await this._rpcRequest(
3436
3435
  'getRecentPerformanceSamples',
3437
- args,
3436
+ limit ? [limit] : [],
3438
3437
  );
3439
3438
  const res = create(unsafeRes, GetRecentPerformanceSamplesRpcResult);
3440
3439
  if ('error' in res) {