File tree Expand file tree Collapse file tree 7 files changed +20
-11
lines changed Expand file tree Collapse file tree 7 files changed +20
-11
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @web3-ui/components ' : minor
3
+ ' @web3-ui/hooks ' : minor
4
+ ---
5
+
6
+ !! BREAKING CHANGE !!
7
+ ` ethers ` has been moved to peer dependencies for both the ` components ` and ` hooks ` packages. (It was already a peer dependency for ` core ` )
8
+
9
+ This means that you will users will now have to install ` ethers ` along side our packages manually.
Original file line number Diff line number Diff line change 1
1
# web3-ui
2
2
3
3
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
4
+
4
5
[ ![ All Contributors] ( https://img.shields.io/badge/all_contributors-29-orange.svg?style=flat-square )] ( #contributors- )
6
+
5
7
<!-- ALL-CONTRIBUTORS-BADGE:END -->
6
8
7
9
_ In Development 🏗️_
@@ -19,7 +21,7 @@ A library of UI components specifically crafted for web3 use cases.
19
21
1 . Install the package
20
22
21
23
``` bash
22
- $ yarn add @web3-ui/core
24
+ $ yarn add @web3-ui/core ethers
23
25
```
24
26
25
27
2 . Setup the Provider
Original file line number Diff line number Diff line change 3
3
A set of React components made for web3-specific use cases. Fully compatible with and built on top of ChakraUI.
4
4
5
5
``` bash
6
- yarn add @web3-ui/components
6
+ yarn add @web3-ui/components ethers
7
7
```
8
8
9
9
## Getting started
Original file line number Diff line number Diff line change 38
38
"@chakra-ui/react" : " ^1.7.2" ,
39
39
"@emotion/react" : " ^11" ,
40
40
"@emotion/styled" : " ^11" ,
41
- "ethers" : " ^5.5.2" ,
42
41
"framer-motion" : " ^4"
43
42
},
44
43
"peerDependencies" : {
45
- "react" : " *" ,
46
- "react-dom" : " *"
44
+ "react" : " >= 16.8.0 | >= 17.0.0" ,
45
+ "react-dom" : " >= 16.8.0 | >= 17.0.0" ,
46
+ "ethers" : " ^5.5.2"
47
47
},
48
48
"devDependencies" : {
49
49
"@web3-ui/hooks" : " ^0.10.0" ,
Original file line number Diff line number Diff line change 44
44
},
45
45
"peerDependencies" : {
46
46
"ethers" : " ^5.5.1" ,
47
- "react" : " *" ,
48
- "react-dom" : " *"
47
+ "react" : " >= 16.8.0 | >= 17.0.0"
49
48
},
50
49
"devDependencies" : {
51
50
"@web3-ui/hooks" : " ^0.10.0" ,
Original file line number Diff line number Diff line change 3
3
A set of React hooks developed for web3 use cases.
4
4
5
5
``` bash
6
- yarn add @web3-ui/hooks
6
+ yarn add @web3-ui/hooks ethers
7
7
```
8
8
9
9
## Getting started
Original file line number Diff line number Diff line change 38
38
"dependencies" : {
39
39
"@babel/runtime" : " ^7.16.7" ,
40
40
"@walletconnect/web3-provider" : " ^1.6.6" ,
41
- "ethers" : " ^5.5.1" ,
42
41
"web3modal" : " ^1.9.4"
43
42
},
44
43
"peerDependencies" : {
45
- "react" : " >=16.8.0" ,
46
- "react-dom " : " >=16.8.0 "
44
+ "react" : " >= 16.8.0 | >= 17.0 .0" ,
45
+ "ethers " : " ^5.5.1 "
47
46
},
48
47
"devDependencies" : {
49
48
"@portis/web3" : " ^4.0.6" ,
You can’t perform that action at this time.
0 commit comments