fix: add getMinimumBalanceForRentExemption and getBlock to flow
This commit is contained in:
parent
0b5bd167d4
commit
a51e0211d4
|
@ -201,6 +201,15 @@ declare module '@solana/web3.js' {
|
|||
onSlotChange(callback: SlotChangeCallback): number;
|
||||
removeProgramAccountChangeListener(id: number): Promise<void>;
|
||||
validatorExit(): Promise<boolean>;
|
||||
getMinimumBalanceForRentExemption(
|
||||
dataLength: number,
|
||||
commitment: ?Commitment,
|
||||
): Promise<number>;
|
||||
getBlock(
|
||||
slot: number,
|
||||
): Promise<
|
||||
Array<[Transaction, SignatureSuccess] | [Transaction, TransactionError]>,
|
||||
>;
|
||||
}
|
||||
|
||||
// === src/stake-program.js ===
|
||||
|
|
|
@ -9741,7 +9741,8 @@
|
|||
"version": "4.2.1",
|
||||
"resolved": "https://registry.npmjs.org/hoek/-/hoek-4.2.1.tgz",
|
||||
"integrity": "sha512-QLg82fGkfnJ/4iy1xZ81/9SIJiq1NGFUMGs6ParyjBZr6jW2Ufj/snDqTHixNlHdPNwN2RLVD0Pi3igeK9+JfA==",
|
||||
"dev": true
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"hook-std": {
|
||||
"version": "2.0.0",
|
||||
|
@ -9879,7 +9880,8 @@
|
|||
"version": "2.7.0",
|
||||
"resolved": "https://registry.npmjs.org/acorn/-/acorn-2.7.0.tgz",
|
||||
"integrity": "sha1-q259nYhqrKiwhbwzEreaGYQz8Oc=",
|
||||
"dev": true
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"acorn-globals": {
|
||||
"version": "1.0.9",
|
||||
|
|
Loading…
Reference in New Issue