Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release #556

Merged
merged 2 commits into from
Jun 14, 2024
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
3 changes: 3 additions & 0 deletions .changeset/fuzzy-eggs-cross.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"@coinbase/onchainkit": patch
---

- **fix**: fix `Identity` components lint errors. By @kyhyco #555
- **fix**: fix `Token` component lint errors. By @kyhyco #554
- **feat**: updated `Swap` style. By @kyhyco #553
- **feat**: refactored and clean up internals. By @zizzamia #552
- **feat**: introduce `Inter` font-family and internal text components. By @kyhyco #506
5 changes: 0 additions & 5 deletions .changeset/proud-buttons-flash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tame-planets-search.md

This file was deleted.

10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,14 @@ Check out the following places for more OnchainKit-related content:

## Authors

- [@zizzamia](https://github.com/zizzamia) ([X](https://twitter.com/hey_shells), [Warpcast](https://warpcast.com/zizzamia)), Eng Lead
- [@0xchiaroscuro](https://github.com/0xchiaroscuro) ([X](https://twitter.com/chiaroscuro), [Warpcast](https://warpcast.com/chiaroscuro)), Design Lead
- [@zizzamia](https://github.com/zizzamia) ([X](https://twitter.com/hey_shells), [Warpcast](https://warpcast.com/zizzamia))
- [@0xchiaroscuro](https://github.com/0xchiaroscuro) ([X](https://twitter.com/chiaroscuro), [Warpcast](https://warpcast.com/chiaroscuro))
- [Ky Lee](https://github.com/kyhyco)
- [Tina He](https://github.com/fakepixels)
- Mind Apivessa
- [Alec Chen](https://github.com/0xAlec)
- [Alissa Crane](https://github.com/abcrane123)
- [Paul Cramer](https://github.com/cpcramer)

## License

Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"scripts": {
"build": "packemon build --addEngines --addFiles --declaration && npx packemon validate --no-license --no-people --no-repo && tailwindcss -i ./src/styles/index.css -o ./src/tailwind.css --minify && tailwindcss -i ./src/styles/index-with-tailwind.css -o ./src/styles.css --minify",
"ci:format": "biome ci --linter-enabled=false --organize-imports-enabled=false",
"ci:lint": "biome ci --formatter-enabled=false --organize-imports-enabled=false",
"format": "biome format --write .",
"lint": "biome lint --write .",
"lint:unsafe": "biome lint --write --unsafe .",
Expand All @@ -20,16 +21,16 @@
"watch": "tailwind -i ./src/styles/index-with-tailwind.css -o ./src/styles.css --watch"
},
"peerDependencies": {
"@tanstack/react-query": "^5",
"@xmtp/frames-validator": "^0.6.0",
"graphql": "^14 || ^15 || ^16",
"graphql-request": "^6.1.0",
"permissionless": "^0.1.29",
"react": "^18",
"react-dom": "^18"
},
"dependencies": {
"@tanstack/react-query": "^5",
"clsx": "^2.1.1",
"graphql": "^14 || ^15 || ^16",
"graphql-request": "^6.1.0",
"permissionless": "^0.1.29",
"tailwind-merge": "^2.3.0",
"viem": "^2.13.8",
"wagmi": "^2.9.11"
Expand Down
28 changes: 0 additions & 28 deletions site/docs/pages/identity/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -69,34 +69,6 @@ The available utilities are:
- [`getAvatar`](/identity/get-avatar): Get avatar image src. (ENS only for now)
- [`getName`](/identity/get-name): Get an onchain name for a given address. (ENS only for now)

## Required dependencies

To use the Identity utilities and components install:

:::code-group

```bash [npm]
npm install @coinbase/onchainkit
npm install react@18 react-dom@18 @tanstack/react-query graphql@14 graphql-request@6
```

```bash [yarn]
yarn add @coinbase/onchainkit
yarn add react@18 react-dom@18 @tanstack/react-query graphql@14 graphql-request@6
```

```bash [pnpm]
pnpm add @coinbase/onchainkit
pnpm add react@18 react-dom@18 @tanstack/react-query graphql@14 graphql-request@6
```

```bash [bun]
bun add @coinbase/onchainkit
bun add react@18 react-dom@18 @tanstack/react-query graphql@14 graphql-request@6
```

:::

## Required providers

If you are using any of the provided components, you will need to install and configure `@tanstack/react-query` and wrap your app in `<QueryClientProvider>`.
Expand Down
28 changes: 0 additions & 28 deletions site/docs/pages/token/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -66,34 +66,6 @@ The available utilities are:
- [`formatAmount`](/token/format-amount): number formatting for token amount.
- [`getTokens`](/token/get-tokens): retrive a list of tokens on Base.

## Required dependencies

To use the Token utilities and components install:

:::code-group

```bash [npm]
npm install @coinbase/onchainkit
npm install react@18 react-dom@18
```

```bash [yarn]
yarn add @coinbase/onchainkit
yarn add react@18 react-dom@18
```

```bash [pnpm]
pnpm add @coinbase/onchainkit
pnpm add react@18 react-dom@18
```

```bash [bun]
bun add @coinbase/onchainkit
bun add react@18 react-dom@18
```

:::

## Required providers

If you are using any of the provided components, you will need to configure `OnchainKitConfig` with the `<OnchainKitProvider>`.
Expand Down
28 changes: 0 additions & 28 deletions site/docs/pages/wallet/introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,34 +44,6 @@ The available components are:
<AccountConnect />
</App>

## Required dependencies

To use the Identity utilities and components install:

:::code-group

```bash [npm]
npm install @coinbase/onchainkit
npm install react@18 react-dom@18 permissionless
```

```bash [yarn]
yarn add @coinbase/onchainkit
yarn add react@18 react-dom@18 permissionless
```

```bash [pnpm]
pnpm add @coinbase/onchainkit
pnpm add react@18 react-dom@18 permissionless
```

```bash [bun]
bun add @coinbase/onchainkit
bun add react@18 react-dom@18 permissionless
```

:::

## Required providers

If you are using any of the provided components, you will need to install
Expand Down
4 changes: 0 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2155,11 +2155,7 @@ __metadata:
viem: "npm:^2.10.5"
wagmi: "npm:^2.8.7"
peerDependencies:
"@tanstack/react-query": ^5
"@xmtp/frames-validator": ^0.6.0
graphql: ^14 || ^15 || ^16
graphql-request: ^6.1.0
permissionless: ^0.1.29
react: ^18
react-dom: ^18
languageName: unknown
Expand Down
Loading