feat: add root and single commitment levels

This commit is contained in:
Justin Starry
2020-05-20 17:12:09 +08:00
committed by Michael Vines
parent 1e1c9de367
commit 3b71ec1ff6
4 changed files with 18 additions and 11 deletions

View File

@ -59,7 +59,7 @@ declare module '@solana/web3.js' {
value: T,
};
declare export type Commitment = 'max' | 'recent';
declare export type Commitment = 'max' | 'recent' | 'root' | 'single';
declare export type SignatureStatusConfig = {
searchTransactionHistory: boolean,