fix: export stake authorize w/ seed methods

This commit is contained in:
Trent Nelson 2020-10-22 20:01:39 -06:00 committed by Trent Nelson
parent 37c8842bcb
commit ffb9a49769
2 changed files with 8 additions and 0 deletions

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

@ -766,6 +766,7 @@ declare module '@solana/web3.js' {
): Transaction;
static delegate(params: DelegateStakeParams): Transaction;
static authorize(params: AuthorizeStakeParams): Transaction;
static authorizeWithSeed(params: AuthorizeWithSeedStakeParams): Transaction;
static split(params: SplitStakeParams): Transaction;
static withdraw(params: WithdrawStakeParams): Transaction;
static deactivate(params: DeactivateStakeParams): Transaction;
@ -797,6 +798,9 @@ declare module '@solana/web3.js' {
static decodeAuthorize(
instruction: TransactionInstruction,
): AuthorizeStakeParams;
static decodeAuthorizeWithSeed(
instruction: TransactionInstruction,
): AuthorizeWithSeedStakeParams;
static decodeSplit(instruction: TransactionInstruction): SplitStakeParams;
static decodeWithdraw(
instruction: TransactionInstruction,

View File

@ -773,6 +773,7 @@ declare module '@solana/web3.js' {
): Transaction;
static delegate(params: DelegateStakeParams): Transaction;
static authorize(params: AuthorizeStakeParams): Transaction;
static authorizeWithSeed(params: AuthorizeWithSeedStakeParams): Transaction;
static split(params: SplitStakeParams): Transaction;
static withdraw(params: WithdrawStakeParams): Transaction;
static deactivate(params: DeactivateStakeParams): Transaction;
@ -804,6 +805,9 @@ declare module '@solana/web3.js' {
static decodeAuthorize(
instruction: TransactionInstruction,
): AuthorizeStakeParams;
static decodeAuthorizeWithSeed(
instruction: TransactionInstruction,
): AuthorizeWithSeedStakeParams;
static decodeSplit(instruction: TransactionInstruction): SplitStakeParams;
static decodeWithdraw(
instruction: TransactionInstruction,