@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/lib/index.d.ts
CHANGED
|
@@ -754,7 +754,7 @@ declare module '@solana/web3.js' {
|
|
|
754
754
|
export type SimulatedTransactionResponse = {
|
|
755
755
|
err: TransactionError | string | null;
|
|
756
756
|
logs: Array<string> | null;
|
|
757
|
-
accounts?: SimulatedTransactionAccountInfo[] | null;
|
|
757
|
+
accounts?: (SimulatedTransactionAccountInfo | null)[] | null;
|
|
758
758
|
unitsConsumed?: number;
|
|
759
759
|
};
|
|
760
760
|
export type ParsedInnerInstruction = {
|
package/lib/index.esm.js
CHANGED
|
@@ -4319,13 +4319,13 @@ const VersionResult = type({
|
|
|
4319
4319
|
const SimulatedTransactionResponseStruct = jsonRpcResultAndContext(type({
|
|
4320
4320
|
err: nullable(union([type({}), string()])),
|
|
4321
4321
|
logs: nullable(array(string())),
|
|
4322
|
-
accounts: optional(nullable(array(type({
|
|
4322
|
+
accounts: optional(nullable(array(nullable(type({
|
|
4323
4323
|
executable: boolean(),
|
|
4324
4324
|
owner: string(),
|
|
4325
4325
|
lamports: number(),
|
|
4326
4326
|
data: array(string()),
|
|
4327
4327
|
rentEpoch: optional(number())
|
|
4328
|
-
})))),
|
|
4328
|
+
}))))),
|
|
4329
4329
|
unitsConsumed: optional(number())
|
|
4330
4330
|
}));
|
|
4331
4331
|
|