@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/lib/index.browser.esm.js +2 -2
- package/lib/index.browser.esm.js.map +1 -1
- package/lib/index.cjs.js +2 -2
- package/lib/index.cjs.js.map +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.esm.js +2 -2
- package/lib/index.esm.js.map +1 -1
- package/lib/index.iife.js +2 -2
- 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/module.flow.js +1 -1
- package/package.json +1 -1
- package/src/connection.ts +10 -8
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
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
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
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
|
),
|