From c0ac8aae08a47fef2fdb66fa5fe8510052993897 Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Fri, 7 Aug 2020 16:41:22 +0800 Subject: [PATCH] fix: expose getConfirmedSignaturesForAddress2 method in type defs --- web3.js/module.d.ts | 4 ++++ web3.js/module.flow.js | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/web3.js/module.d.ts b/web3.js/module.d.ts index 0352cc82ac..75fb9ca6c7 100644 --- a/web3.js/module.d.ts +++ b/web3.js/module.d.ts @@ -355,6 +355,10 @@ declare module '@solana/web3.js' { startSlot: number, endSlot: number, ): Promise>; + getConfirmedSignaturesForAddress2( + address: PublicKey, + options?: ConfirmedSignaturesForAddress2Options, + ): Promise>; getVoteAccounts(commitment?: Commitment): Promise; confirmTransaction( signature: TransactionSignature, diff --git a/web3.js/module.flow.js b/web3.js/module.flow.js index 42875b4aeb..97220f4175 100644 --- a/web3.js/module.flow.js +++ b/web3.js/module.flow.js @@ -367,6 +367,10 @@ declare module '@solana/web3.js' { startSlot: number, endSlot: number, ): Promise>; + getConfirmedSignaturesForAddress2( + address: PublicKey, + options: ?ConfirmedSignaturesForAddress2Options, + ): Promise>; getVoteAccounts(commitment: ?Commitment): Promise; confirmTransaction( signature: TransactionSignature,