@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana/web3.js",
3
- "version": "1.89.0",
3
+ "version": "1.89.1",
4
4
  "description": "Solana Javascript API",
5
5
  "keywords": [
6
6
  "api",
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.log(
1638
+ console.error(
1638
1639
  `Server responded with ${res.status} ${res.statusText}. Retrying after ${waitTime}ms delay...`,
1639
1640
  );
1640
1641
  await sleep(waitTime);