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

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

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