@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.cjs.js CHANGED
@@ -8027,7 +8027,8 @@ class Connection {
8027
8027
  encoding: 'base64'
8028
8028
  };
8029
8029
  const skipPreflight = options && options.skipPreflight;
8030
- const preflightCommitment = options && options.preflightCommitment || this.commitment;
8030
+ const preflightCommitment = skipPreflight === true ? 'processed' // FIXME Remove when https://github.com/anza-xyz/agave/pull/483 is deployed.
8031
+ : options && options.preflightCommitment || this.commitment;
8031
8032
  if (options && options.maxRetries != null) {
8032
8033
  config.maxRetries = options.maxRetries;
8033
8034
  }