Skip to content
This repository has been archived by the owner on Sep 6, 2023. It is now read-only.

Commit

Permalink
fix: isTally injector name (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSinclair authored Apr 3, 2023
1 parent 1aa1ed8 commit 0778abc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/breezy-files-dance.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@wagmi/connectors': patch
---

Renamed `isTally` injected provider to `Taho`
2 changes: 1 addition & 1 deletion packages/connectors/src/utils/getInjectedName.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ describe.each([
{ ethereum: { isPortal: true }, expected: 'Ripio Portal' },
{ ethereum: { isRainbow: true }, expected: 'Rainbow' },
{ ethereum: { isStatus: true }, expected: 'Status' },
{ ethereum: { isTally: true }, expected: 'Tally' },
{ ethereum: { isTally: true }, expected: 'Taho' },
{
ethereum: { isTokenPocket: true, isMetaMask: true },
expected: 'TokenPocket',
Expand Down
2 changes: 1 addition & 1 deletion packages/connectors/src/utils/getInjectedName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function getInjectedName(ethereum?: Ethereum) {
if (provider.isPortal) return 'Ripio Portal'
if (provider.isRainbow) return 'Rainbow'
if (provider.isStatus) return 'Status'
if (provider.isTally) return 'Tally'
if (provider.isTally) return 'Taho'
if (provider.isTokenPocket) return 'TokenPocket'
if (provider.isTokenary) return 'Tokenary'
if (provider.isTrust || provider.isTrustWallet) return 'Trust Wallet'
Expand Down

0 comments on commit 0778abc

Please sign in to comment.