File tree 2 files changed +4
-13
lines changed
2 files changed +4
-13
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ const intiOnboard = async (theme) => {
32
32
const { default : trezorModule } = await import ( '@web3-onboard/trezor' )
33
33
const { default : ledgerModule } = await import ( '@web3-onboard/ledger' )
34
34
const { default : walletConnectModule } = await import ( '@web3-onboard/walletconnect' )
35
- // const { default: infinityWalletModule } = await import('@web3-onboard/infinity-wallet')
35
+ const { default : infinityWalletModule } = await import ( '@web3-onboard/infinity-wallet' )
36
36
const { default : coinbaseModule } = await import ( '@web3-onboard/coinbase' )
37
37
const { default : dcentModule } = await import ( '@web3-onboard/dcent' )
38
38
const { default : portisModule } = await import ( '@web3-onboard/portis' )
@@ -53,7 +53,7 @@ const intiOnboard = async (theme) => {
53
53
const INFURA_ID = '8b60d52405694345a99bcb82e722e0af'
54
54
55
55
const injected = injectedModule ( )
56
- // const infinityWallet = infinityWalletModule()
56
+ const infinityWallet = infinityWalletModule ( )
57
57
const coinbase = coinbaseModule ( )
58
58
const dcent = dcentModule ( )
59
59
const walletConnect = walletConnectModule ( {
@@ -121,7 +121,7 @@ const intiOnboard = async (theme) => {
121
121
torus ,
122
122
sequence ,
123
123
web3auth ,
124
- // infinityWallet,
124
+ infinityWallet ,
125
125
dcent ,
126
126
enkrypt ,
127
127
mewWallet ,
Original file line number Diff line number Diff line change @@ -33,16 +33,7 @@ const config = {
33
33
vite : {
34
34
build : {
35
35
rollupOptions : {
36
- external : [
37
- '@web3-react/core' ,
38
- '@web3-react/eip1193' ,
39
- '@web3-react/metamask' ,
40
- '@web3-react/network' ,
41
- '@web3-react/walletconnect' ,
42
- '@web3-react/types' ,
43
- '@web3-react/url' ,
44
- '@web3-onboard/*'
45
- ] ,
36
+ external : [ '@web3-onboard/*' ] ,
46
37
plugins : [ nodePolyfills ( { crypto : true , http : true } ) ]
47
38
} ,
48
39
commonjsOptions : {
You can’t perform that action at this time.
0 commit comments