Skip to content

Commit

Permalink
fix: getInstalledWallets now support using this keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
ltoussaint authored and avimak committed Aug 4, 2022
1 parent 4b9329d commit 7b44fae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,9 +250,9 @@ class GetStarknetWallet implements IGetStarknetWallet {
);
};

getInstalledWallets(
getInstalledWallets = (
options?: Omit<GetStarknetWalletOptions, "showList" | "modalOptions">
): Promise<IStarknetWindowObject[]> {
): Promise<IStarknetWindowObject[]> => {
return this.#getInstalledWallets(options).then(res => res.installed);
}

Expand Down

0 comments on commit 7b44fae

Please sign in to comment.