@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/package.json
CHANGED
package/src/connection.ts
CHANGED
|
@@ -944,8 +944,9 @@ export type SimulateTransactionConfig = {
|
|
|
944
944
|
replaceRecentBlockhash?: boolean;
|
|
945
945
|
/** Optional parameter used to set the commitment level when selecting the latest block */
|
|
946
946
|
commitment?: Commitment;
|
|
947
|
-
/** Optional parameter used to specify a list of account addresses to return post simulation state for */
|
|
947
|
+
/** Optional parameter used to specify a list of base58-encoded account addresses to return post simulation state for */
|
|
948
948
|
accounts?: {
|
|
949
|
+
/** The encoding of the returned account's data */
|
|
949
950
|
encoding: 'base64';
|
|
950
951
|
addresses: string[];
|
|
951
952
|
};
|
|
@@ -1634,7 +1635,7 @@ function createRpcClient(
|
|
|
1634
1635
|
if (too_many_requests_retries === 0) {
|
|
1635
1636
|
break;
|
|
1636
1637
|
}
|
|
1637
|
-
console.
|
|
1638
|
+
console.error(
|
|
1638
1639
|
`Server responded with ${res.status} ${res.statusText}. Retrying after ${waitTime}ms delay...`,
|
|
1639
1640
|
);
|
|
1640
1641
|
await sleep(waitTime);
|