Skip to content

Commit

Permalink
chore: release (#953)
Browse files Browse the repository at this point in the history
  • Loading branch information
Zizzamia authored Jul 30, 2024
1 parent d50b85d commit 47c7ddd
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 16 deletions.
2 changes: 1 addition & 1 deletion .changeset/afraid-dogs-vanish.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
"@coinbase/onchainkit": patch
---

-**feat**: Implement WalletDropdownBaseName Sub-Component. By @cpcramer #913
- **feat**: added `WalletDropdownBaseName` component. By @cpcramer #913
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

### Patch Changes

- 1110ec9: - **feat**: continued `Transaction` component QA. By @abcrane123 #944
- **feat**: continued `Transaction` component QA. By @abcrane123 #944 1110ec9

## 0.26.12

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const version = '0.26.13';
export const version = '0.26.14';
7 changes: 1 addition & 6 deletions src/wallet/components/WalletDropdownBaseName.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,7 @@ export function WalletDropdownBaseName({
chain: base,
});

let hasBaseUserName = false;

if (baseName) {
hasBaseUserName = true;
}

const hasBaseUserName = !!baseName;
const title = hasBaseUserName ? 'Go to profile' : 'Claim a Basename';
const href = hasBaseUserName
? `https://www.base.org/name/${baseName}`
Expand Down
5 changes: 3 additions & 2 deletions src/wallet/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ export type {
IsWalletACoinbaseSmartWalletOptions,
IsWalletACoinbaseSmartWalletResponse,
WalletContextType,
WalletReact,
WalletDropdownReact,
WalletDropdownBaseNameReact,
WalletDropdownDisconnectReact,
WalletDropdownLinkReact,
WalletDropdownReact,
WalletReact,
} from './types';
10 changes: 5 additions & 5 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ export default defineConfig({
],
reportOnFailure: true,
thresholds: {
statements: 97.09,
branches: 97.57,
functions: 91.57,
lines: 97.09,
statements: 97.11,
branches: 97.73,
functions: 91.62,
lines: 97.11,
},
},
environment: 'jsdom',
exclude: ['**/node_modules/**', 'site/**'],
exclude: ['**/node_modules/**', 'playground/**', 'site/**'],
setupFiles: ['./vitest.setup.ts'],
globals: true,
},
Expand Down

0 comments on commit 47c7ddd

Please sign in to comment.