@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.browser.cjs.js +2 -1
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +2 -1
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +2 -1
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.esm.js +2 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +26 -26
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +2 -2
- package/lib/index.iife.min.js.map +1 -1
- package/lib/index.native.js +2 -1
- package/lib/index.native.js.map +1 -1
- package/package.json +1 -1
- package/src/connection.ts +3 -1
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 =
|
|
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
|
}
|