@solana/web3.js 1.91.3 → 1.91.4

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.esm.js CHANGED
@@ -7995,7 +7995,8 @@ class Connection {
7995
7995
  encoding: 'base64'
7996
7996
  };
7997
7997
  const skipPreflight = options && options.skipPreflight;
7998
- const preflightCommitment = options && options.preflightCommitment || this.commitment;
7998
+ const preflightCommitment = skipPreflight === true ? 'processed' // FIXME Remove when https://github.com/anza-xyz/agave/pull/483 is deployed.
7999
+ : options && options.preflightCommitment || this.commitment;
7999
8000
  if (options && options.maxRetries != null) {
8000
8001
  config.maxRetries = options.maxRetries;
8001
8002
  }