@solana/web3.js 1.89.0 → 1.89.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/lib/index.browser.cjs.js +1 -1
- package/lib/index.browser.cjs.js.map +1 -1
- package/lib/index.browser.esm.js +1 -1
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +1 -1
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +2 -1
- package/lib/index.esm.js +1 -1
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +1 -1
- package/lib/index.iife.js.map +1 -1
- package/lib/index.iife.min.js +1 -1
- package/lib/index.iife.min.js.map +1 -1
- package/lib/index.native.js +1 -1
- package/lib/index.native.js.map +1 -1
- package/package.json +1 -1
- package/src/connection.ts +3 -2
package/lib/index.d.ts
CHANGED
|
@@ -2227,8 +2227,9 @@ type SimulateTransactionConfig = {
|
|
|
2227
2227
|
replaceRecentBlockhash?: boolean;
|
|
2228
2228
|
/** Optional parameter used to set the commitment level when selecting the latest block */
|
|
2229
2229
|
commitment?: Commitment;
|
|
2230
|
-
/** Optional parameter used to specify a list of account addresses to return post simulation state for */
|
|
2230
|
+
/** Optional parameter used to specify a list of base58-encoded account addresses to return post simulation state for */
|
|
2231
2231
|
accounts?: {
|
|
2232
|
+
/** The encoding of the returned account's data */
|
|
2232
2233
|
encoding: 'base64';
|
|
2233
2234
|
addresses: string[];
|
|
2234
2235
|
};
|
package/lib/index.esm.js
CHANGED
|
@@ -4878,7 +4878,7 @@ function createRpcClient(url, httpHeaders, customFetch, fetchMiddleware, disable
|
|
|
4878
4878
|
if (too_many_requests_retries === 0) {
|
|
4879
4879
|
break;
|
|
4880
4880
|
}
|
|
4881
|
-
console.
|
|
4881
|
+
console.error(`Server responded with ${res.status} ${res.statusText}. Retrying after ${waitTime}ms delay...`);
|
|
4882
4882
|
await sleep(waitTime);
|
|
4883
4883
|
waitTime *= 2;
|
|
4884
4884
|
}
|