@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana/web3.js",
3
- "version": "1.91.3",
3
+ "version": "1.91.4",
4
4
  "description": "Solana Javascript API",
5
5
  "keywords": [
6
6
  "api",
package/src/connection.ts CHANGED
@@ -5895,7 +5895,9 @@ export class Connection {
5895
5895
  const config: any = {encoding: 'base64'};
5896
5896
  const skipPreflight = options && options.skipPreflight;
5897
5897
  const preflightCommitment =
5898
- (options && options.preflightCommitment) || this.commitment;
5898
+ skipPreflight === true
5899
+ ? 'processed' // FIXME Remove when https://github.com/anza-xyz/agave/pull/483 is deployed.
5900
+ : (options && options.preflightCommitment) || this.commitment;
5899
5901
 
5900
5902
  if (options && options.maxRetries != null) {
5901
5903
  config.maxRetries = options.maxRetries;