Skip to content

Commit

Permalink
Merge pull request #18 from magiclabs/feat/wagmi-v2
Browse files Browse the repository at this point in the history
Update to support WAGMI v2
  • Loading branch information
joshuascan authored Mar 22, 2024
2 parents 3d85927 + bc9242f commit 5d4d39d
Show file tree
Hide file tree
Showing 7 changed files with 401 additions and 362 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @magiclabs/wagmi-magic-connector

## 2.0.0

### Major Changes

- Update to support WAGMI v2

## 1.1.6

### Patch Changes
Expand Down
23 changes: 17 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,27 @@ Special thanks to the [Everipedia](https://github.com/EveripediaNetwork) team fo
- [**Example repositories:**](#example-repositories)

# ⬇️ Install
Two versions of the `wagmi-magic-connector` are available, each designed to support different WAGMI versions.

```bash
npm install @magiclabs/wagmi-connector
```
Note: **It is crucial not to mix up these versions to ensure compatibility and functionality.**

**V1**
This version utilizes WAGMI version 1. To install, use the following command:

`npm install @magiclabs/[email protected]`
or
`yarn install @magiclabs/[email protected]`

```bash
yarn add @magiclabs/wagmi-connector
```
**V2 (Beta)**
This version utilizes and includes the latest WAGMI v2 features.

To install, use the following command:

`npm install @magiclabs/wagmi-connector`
or
`yarn install @magiclabs/wagmi-connector`

We actively encourage the community to participate in testing the versions of `wagmi-magic-connector` and to report [any issues or suggestions](https://github.com/magiclabs/wagmi-magic-connector/issues/new/choose) for improvement. Your feedback is invaluable in helping us enhance the quality and stability of the connector.

# 🔎 Package TL;DR

Expand Down
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@magiclabs/wagmi-connector",
"version": "1.1.6",
"version": "2.0.0",
"description": "wagmi connector to connect with Magic SDK",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -27,18 +27,20 @@
"@changesets/cli": "^2.24.0",
"@magic-ext/oauth": "^12.3.0",
"@magic-sdk/provider": "^18.3.0",
"@wagmi/core": "^1.4.12",
"@wagmi/connectors": "^4.1.14",
"@wagmi/core": "^2.6.5",
"magic-sdk": "^18.3.0",
"tsc-esm-fix": "^2.20.10"
},
"devDependencies": {
"@types/node": "^20.11.24",
"changeset": "^0.2.6",
"rome": "12.0.0",
"typescript": "^5.0.4",
"viem": "^1.2.10"
"viem": "2.x"
},
"peerDependencies": {
"viem": "^1.2.10"
"viem": "2.x"
},
"files": [
"dist",
Expand Down
Loading

0 comments on commit 5d4d39d

Please sign in to comment.