feat: update commitment variants (#15253)
* feat: update commitment variants * fix: make pretty * fix: deprecate, but leave in commitment types
This commit is contained in:
13
web3.js/module.d.ts
vendored
13
web3.js/module.d.ts
vendored
@ -77,11 +77,14 @@ declare module '@solana/web3.js' {
|
||||
};
|
||||
|
||||
export type Commitment =
|
||||
| 'max'
|
||||
| 'recent'
|
||||
| 'root'
|
||||
| 'single'
|
||||
| 'singleGossip';
|
||||
| 'processed'
|
||||
| 'confirmed'
|
||||
| 'finalized'
|
||||
| 'recent' // Deprecated as of v1.5.5
|
||||
| 'single' // Deprecated as of v1.5.5
|
||||
| 'singleGossip' // Deprecated as of v1.5.5
|
||||
| 'root' // Deprecated as of v1.5.5
|
||||
| 'max'; // Deprecated as of v1.5.5
|
||||
|
||||
export type LargestAccountsFilter = 'circulating' | 'nonCirculating';
|
||||
|
||||
|
Reference in New Issue
Block a user