Skip to content

Commit

Permalink
🔧 Include web3auth in constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiJun0827 authored and williamchong committed Jan 11, 2024
1 parent e1a2ef2 commit 59a4701
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions example/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,8 @@ export default {
LikeCoinWalletConnectorMethodType.MetaMaskLeap,
LikeCoinWalletConnectorMethodType.CosmostationMobile,
LikeCoinWalletConnectorMethodType.WalletConnectV2,
LikeCoinWalletConnectorMethodType.KeplrMobile,
LikeCoinWalletConnectorMethodType.Web3Auth,
],
keplrSignOptions: {
disableBalanceCheck: true,
Expand All @@ -255,6 +257,9 @@ export default {
onEvent: ({ type, ...payload}) => {
console.log('onEvent', type, payload);
},
web3AuthNetwork: 'mainnet',
web3AuthClientId: 'clientId',
});
const session = this.connector.restoreSession();
this.handleConnection(session);
Expand Down

0 comments on commit 59a4701

Please sign in to comment.