@solana/web3.js 1.35.0 → 1.35.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/module.flow.js CHANGED
@@ -1027,7 +1027,7 @@ declare module "@solana/web3.js" {
1027
1027
  declare export type SimulatedTransactionResponse = {
1028
1028
  err: TransactionError | string | null,
1029
1029
  logs: Array<string> | null,
1030
- accounts?: SimulatedTransactionAccountInfo[] | null,
1030
+ accounts?: (SimulatedTransactionAccountInfo | null)[] | null,
1031
1031
  unitsConsumed?: number,
1032
1032
  ...
1033
1033
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana/web3.js",
3
- "version": "1.35.0",
3
+ "version": "1.35.1",
4
4
  "description": "Solana Javascript API",
5
5
  "keywords": [
6
6
  "api",
package/src/connection.ts CHANGED
@@ -469,7 +469,7 @@ export type SimulatedTransactionAccountInfo = {
469
469
  export type SimulatedTransactionResponse = {
470
470
  err: TransactionError | string | null;
471
471
  logs: Array<string> | null;
472
- accounts?: SimulatedTransactionAccountInfo[] | null;
472
+ accounts?: (SimulatedTransactionAccountInfo | null)[] | null;
473
473
  unitsConsumed?: number;
474
474
  };
475
475
 
@@ -480,13 +480,15 @@ const SimulatedTransactionResponseStruct = jsonRpcResultAndContext(
480
480
  accounts: optional(
481
481
  nullable(
482
482
  array(
483
- pick({
484
- executable: boolean(),
485
- owner: string(),
486
- lamports: number(),
487
- data: array(string()),
488
- rentEpoch: optional(number()),
489
- }),
483
+ nullable(
484
+ pick({
485
+ executable: boolean(),
486
+ owner: string(),
487
+ lamports: number(),
488
+ data: array(string()),
489
+ rentEpoch: optional(number()),
490
+ }),
491
+ ),
490
492
  ),
491
493
  ),
492
494
  ),