@solana/web3.js 1.47.0 → 1.47.1

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.0",
3
+ "version": "1.47.1",
4
4
  "description": "Solana Javascript API",
5
5
  "keywords": [
6
6
  "api",
package/src/connection.ts CHANGED
@@ -4442,7 +4442,7 @@ export class Connection {
4442
4442
  const preflightCommitment =
4443
4443
  (options && options.preflightCommitment) || this.commitment;
4444
4444
 
4445
- if (options && options.maxRetries) {
4445
+ if (options && options.maxRetries != null) {
4446
4446
  config.maxRetries = options.maxRetries;
4447
4447
  }
4448
4448
  if (options && options.minContextSlot != null) {