File tree Expand file tree Collapse file tree 4 files changed +14
-12
lines changed Expand file tree Collapse file tree 4 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " @web3-onboard/core" ,
3- "version" : " 2.4.0-alpha.3 " ,
3+ "version" : " 2.4.0-alpha.4 " ,
44 "repository" : " blocknative/web3-onboard" ,
55 "scripts" : {
66 "build" : " rollup -c" ,
Original file line number Diff line number Diff line change @@ -171,13 +171,15 @@ const initOptions = Joi.object({
171171} )
172172
173173const connectOptions = Joi . object ( {
174- autoSelect : [
175- Joi . object ( {
176- label : Joi . string ( ) . required ( ) ,
177- disableModals : Joi . boolean ( )
178- } ) ,
179- Joi . string ( )
180- ]
174+ autoSelect : Joi . alternatives ( )
175+ . try (
176+ Joi . object ( {
177+ label : Joi . string ( ) . required ( ) ,
178+ disableModals : Joi . boolean ( )
179+ } ) ,
180+ Joi . string ( )
181+ )
182+ . required ( )
181183} )
182184
183185const disconnectOptions = Joi . object ( {
Original file line number Diff line number Diff line change 11{
22 "name" : " @web3-onboard/react" ,
3- "version" : " 2.2.3-alpha.1 " ,
3+ "version" : " 2.2.3-alpha.2 " ,
44 "description" : " Collection of React Hooks for web3-onboard" ,
55 "repository" : " blocknative/web3-onboard" ,
66 "module" : " dist/index.js" ,
2424 "typescript" : " ^4.5.5"
2525 },
2626 "dependencies" : {
27- "@web3-onboard/core" : " ^2.4.0-alpha.3 " ,
27+ "@web3-onboard/core" : " ^2.4.0-alpha.4 " ,
2828 "@web3-onboard/common" : " ^2.1.4" ,
2929 "use-sync-external-store" : " 1.0.0"
3030 },
Original file line number Diff line number Diff line change 11{
22 "name" : " @web3-onboard/vue" ,
3- "version" : " 2.1.3-alpha.1 " ,
3+ "version" : " 2.1.3-alpha.2 " ,
44 "description" : " Vue Composable for web3-onboard" ,
55 "repository" : " blocknative/web3-onboard" ,
66 "module" : " dist/index.js" ,
2525 "@vueuse/core" : " ^8.4.2" ,
2626 "@vueuse/rxjs" : " ^8.2.0" ,
2727 "@web3-onboard/common" : " ^2.1.4" ,
28- "@web3-onboard/core" : " ^2.4.0-alpha.3 " ,
28+ "@web3-onboard/core" : " ^2.4.0-alpha.4 " ,
2929 "vue-demi" : " ^0.12.4"
3030 },
3131 "peerDependencies" : {
You can’t perform that action at this time.
0 commit comments