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

Fix isTally injector name #204

Merged
merged 1 commit into from
Apr 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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