Skip to content

Commit

Permalink
chore: update versions (alpha) (#43)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Nov 30, 2023
1 parent 573d3c9 commit dc68f63
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 10 deletions.
4 changes: 3 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@
"@totejs/walletkit": "0.2.5",
"website": "0.0.1"
},
"changesets": []
"changesets": [
"late-birds-compare"
]
}
8 changes: 8 additions & 0 deletions packages/walletkit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @totejs/walletkit

## 0.2.6-alpha.0

### Patch Changes

- 3dd2578: Fixed `WalletConnect` automatic connection issue in the follow scenario: connect the
WalletConnect -> close browser -> reopen browser -> disconnect -> select WalletConnect, will
automatically connect.

## 0.2.4

### Patch Changes
Expand Down
16 changes: 8 additions & 8 deletions packages/walletkit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,32 @@ WalletKit is a React component library for easily connecting a wallet to your dA
## Features

- 💡 Typescript — Get types straight out of the box.
- 🌱 Ecosystem Standards — Built on top of [wagmi](https://wagmi.sh) and [viem](https://viem.sh)
- 🌱 Ecosystem Standards — Built on top of [wagmi](https://wagmi.sh)
- 🎨 Customization — Easily customizing wallets and themes

## Documentation

For full documentation, visit [here](https://node-real.github.io/walletkit/website/dist/#/index).
For full documentation, visit [here](https://node-real.github.io/walletkit).

## Examples

The following examples are provided in the [examples](./examples/) folder of this repo.

- [nextjs](https://github.com/node-real/walletkit/tree/main/examples/nextjs)
- [vite](https://github.com/node-real/walletkit/tree/main/examples/vite)
- [nextjs](./examples/nextjs/)
- [vite](./examples/vite/)

## Installation

```bash
npm i @totejs/walletkit wagmi viem
npm i @totejs/walletkit^0 wagmi^0 ethers@^5

```

## Usage

```tsx
import '@totejs/walletkit/styles.css';
import { WagmiConfig, createConfig } from 'wagmi';
import { WagmiConfig, createClient } from 'wagmi';
import { chains } from './chains';
import {
WalletKitButton,
Expand All @@ -41,7 +41,7 @@ import {
} from '@totejs/walletkit';
import { metaMask, trustWallet, walletConnect } from '@totejs/walletkit/wallets';

const config = createConfig(
const client = createClient(
getDefaultConfig({
autoConnect: true,
appName: 'WalletKit',
Expand All @@ -61,7 +61,7 @@ const options: WalletKitOptions = {

export default function App() {
return (
<WagmiConfig config={config}>
<WagmiConfig client={client}>
<WalletKitProvider options={options} mode="light">
<WalletKitButton />

Expand Down
2 changes: 1 addition & 1 deletion packages/walletkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@totejs/walletkit",
"version": "0.2.5",
"version": "0.2.6-alpha.0",
"author": "node-real",
"private": false,
"description": "WalletKit is a React component library for easily connecting a wallet to your dApp.",
Expand Down

0 comments on commit dc68f63

Please sign in to comment.