@solana/web3.js 1.78.1 → 1.78.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.78.1",
3
+ "version": "1.78.2",
4
4
  "description": "Solana Javascript API",
5
5
  "keywords": [
6
6
  "api",
@@ -60,7 +60,7 @@
60
60
  "@solana/buffer-layout": "^4.0.0",
61
61
  "agentkeepalive": "^4.2.1",
62
62
  "bigint-buffer": "^1.1.5",
63
- "bn.js": "^5.0.0",
63
+ "bn.js": "^5.2.1",
64
64
  "borsh": "^0.7.0",
65
65
  "bs58": "^4.0.1",
66
66
  "buffer": "6.0.3",
@@ -86,7 +86,7 @@
86
86
  "@rollup/plugin-replace": "^5.0.2",
87
87
  "@rollup/plugin-terser": "^0.4.3",
88
88
  "@solana/spl-token": "^0.3.8",
89
- "@types/bn.js": "^5.1.0",
89
+ "@types/bn.js": "^5.1.1",
90
90
  "@types/bs58": "^4.0.1",
91
91
  "@types/chai": "^4.3.5",
92
92
  "@types/chai-as-promised": "^7.1.3",
package/src/connection.ts CHANGED
@@ -4547,7 +4547,7 @@ export class Connection {
4547
4547
  config?: GetRecentPrioritizationFeesConfig,
4548
4548
  ): Promise<RecentPrioritizationFees[]> {
4549
4549
  const accounts = config?.lockedWritableAccounts?.map(key => key.toBase58());
4550
- const args = this._buildArgs(accounts?.length ? [accounts] : []);
4550
+ const args = accounts?.length ? [accounts] : [];
4551
4551
  const unsafeRes = await this._rpcRequest(
4552
4552
  'getRecentPrioritizationFees',
4553
4553
  args,