@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/lib/index.browser.cjs.js +1 -3
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +1 -3
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +1 -3
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.esm.js +1 -3
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +1 -3
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +1 -1
- package/lib/index.iife.min.js.map +1 -1
- package/package.json +1 -1
- package/src/connection.ts +1 -2
package/lib/index.iife.js
CHANGED
|
@@ -21384,9 +21384,7 @@ var solanaWeb3 = (function (exports) {
|
|
|
21384
21384
|
|
|
21385
21385
|
|
|
21386
21386
|
async getRecentPerformanceSamples(limit) {
|
|
21387
|
-
const
|
|
21388
|
-
|
|
21389
|
-
const unsafeRes = await this._rpcRequest('getRecentPerformanceSamples', args);
|
|
21387
|
+
const unsafeRes = await this._rpcRequest('getRecentPerformanceSamples', limit ? [limit] : []);
|
|
21390
21388
|
const res = create(unsafeRes, GetRecentPerformanceSamplesRpcResult);
|
|
21391
21389
|
|
|
21392
21390
|
if ('error' in res) {
|