Skip to content

Commit

Permalink
Merge branch '0.x' of https://github.com/node-real/walletkit into 0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
wenty22 committed Nov 30, 2023
2 parents 2148ce6 + dc68f63 commit de592a8
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"@totejs/walletkit": "0.2.6.alpha.1",
"website": "0.0.1"
},
"changesets": ["lovely-months-argue"]
"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
10 changes: 5 additions & 5 deletions packages/walletkit/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ 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
Expand All @@ -22,15 +22,15 @@ The following examples are provided in the [examples](./examples/) folder of thi
## 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 de592a8

Please sign in to comment.