feat: add preflightCommitment support (#12451)

This commit is contained in:
Justin Starry
2020-09-25 08:49:34 +08:00
committed by GitHub
parent 018cb5035a
commit 720f863937
3 changed files with 22 additions and 1 deletions

2
web3.js/module.d.ts vendored
View File

@ -48,11 +48,13 @@ declare module '@solana/web3.js' {
export type SendOptions = {
skipPreflight?: boolean;
preflightCommitment?: Commitment;
};
export type ConfirmOptions = {
commitment?: Commitment;
skipPreflight?: boolean;
preflightCommitment?: Commitment;
};
export type ConfirmedSignaturesForAddress2Options = {