Skip to content

feat(react): multi-auth UI (#3870)

Codecov / codecov/patch succeeded Aug 8, 2024 in 1s

26.22% of diff hit (target 58.11%)

View this Pull Request on Codecov

26.22% of diff hit (target 58.11%)

Annotations

Check warning on line 36 in packages/thirdweb/src/react/core/hooks/others/useProfiles.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/react/core/hooks/others/useProfiles.ts#L27-L36

Added lines #L27 - L36 were not covered by tests

Check warning on line 82 in packages/thirdweb/src/react/core/utils/walletIcon.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/react/core/utils/walletIcon.ts#L60-L82

Added lines #L60 - L82 were not covered by tests

Check warning on line 289 in packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx#L284-L289

Added lines #L284 - L289 were not covered by tests

Check warning on line 809 in packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx#L791-L809

Added lines #L791 - L809 were not covered by tests

Check warning on line 878 in packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/react/web/ui/ConnectWallet/Details.tsx#L864-L878

Added lines #L864 - L878 were not covered by tests

Check warning on line 73 in packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/screen.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/react/web/ui/ConnectWallet/Modal/screen.tsx#L73

Added line #L73 was not covered by tests

Check warning on line 25 in packages/thirdweb/src/react/web/ui/ConnectWallet/icons/AddUserIcon.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/react/web/ui/ConnectWallet/icons/AddUserIcon.tsx#L7-L25

Added lines #L7 - L25 were not covered by tests

Check warning on line 25 in packages/thirdweb/src/react/web/ui/ConnectWallet/icons/MultiUserIcon.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/react/web/ui/ConnectWallet/icons/MultiUserIcon.tsx#L7-L25

Added lines #L7 - L25 were not covered by tests

Check warning on line 88 in packages/thirdweb/src/react/web/ui/ConnectWallet/screens/LinkProfileScreen.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/react/web/ui/ConnectWallet/screens/LinkProfileScreen.tsx#L23-L88

Added lines #L23 - L88 were not covered by tests

Check warning on line 34 in packages/thirdweb/src/react/web/ui/ConnectWallet/screens/LinkedProfilesScreen.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/react/web/ui/ConnectWallet/screens/LinkedProfilesScreen.tsx#L18-L34

Added lines #L18 - L34 were not covered by tests

Check warning on line 119 in packages/thirdweb/src/react/web/ui/ConnectWallet/screens/LinkedProfilesScreen.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/react/web/ui/ConnectWallet/screens/LinkedProfilesScreen.tsx#L40-L119

Added lines #L40 - L119 were not covered by tests

Check warning on line 74 in packages/thirdweb/src/react/web/ui/ConnectWallet/screens/ManageWalletScreen.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/react/web/ui/ConnectWallet/screens/ManageWalletScreen.tsx#L58-L74

Added lines #L58 - L74 were not covered by tests

Check warning on line 93 in packages/thirdweb/src/react/web/ui/ConnectWallet/screens/ManageWalletScreen.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/react/web/ui/ConnectWallet/screens/ManageWalletScreen.tsx#L92-L93

Added lines #L92 - L93 were not covered by tests

Check warning on line 54 in packages/thirdweb/src/react/web/ui/components/WalletImage.tsx

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/react/web/ui/components/WalletImage.tsx#L52-L54

Added lines #L52 - L54 were not covered by tests

Check warning on line 47 in packages/thirdweb/src/wallets/in-app/core/authentication/linkAccount.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/wallets/in-app/core/authentication/linkAccount.ts#L47

Added line #L47 was not covered by tests

Check warning on line 90 in packages/thirdweb/src/wallets/in-app/core/authentication/linkAccount.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/wallets/in-app/core/authentication/linkAccount.ts#L89-L90

Added lines #L89 - L90 were not covered by tests

Check warning on line 63 in packages/thirdweb/src/wallets/in-app/core/authentication/siwe.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/wallets/in-app/core/authentication/siwe.ts#L14-L63

Added lines #L14 - L63 were not covered by tests

Check warning on line 143 in packages/thirdweb/src/wallets/in-app/web/lib/web-connector.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/wallets/in-app/web/lib/web-connector.ts#L138-L143

Added lines #L138 - L143 were not covered by tests

Check warning on line 170 in packages/thirdweb/src/wallets/in-app/web/lib/web-connector.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/wallets/in-app/web/lib/web-connector.ts#L167-L170

Added lines #L167 - L170 were not covered by tests

Check warning on line 176 in packages/thirdweb/src/wallets/in-app/web/lib/web-connector.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/wallets/in-app/web/lib/web-connector.ts#L173-L176

Added lines #L173 - L176 were not covered by tests

Check warning on line 214 in packages/thirdweb/src/wallets/in-app/web/lib/web-connector.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/wallets/in-app/web/lib/web-connector.ts#L214

Added line #L214 was not covered by tests

Check warning on line 232 in packages/thirdweb/src/wallets/in-app/web/lib/web-connector.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/wallets/in-app/web/lib/web-connector.ts#L225-L232

Added lines #L225 - L232 were not covered by tests

Check warning on line 283 in packages/thirdweb/src/wallets/in-app/web/lib/web-connector.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

packages/thirdweb/src/wallets/in-app/web/lib/web-connector.ts#L281-L283

Added lines #L281 - L283 were not covered by tests