@@ -6,7 +6,7 @@ import { WalletServicesPlugin } from "@web3auth/wallet-services-plugin";
66
77export default function Web3AuthConnectorInstance ( chains : Chain [ ] ) {
88 // Create Web3Auth Instance
9- const clientId = "BKrfI3vHDt2VRU0sir2o_ZiCtTaDLPK9MKDv9fhu_EOf2K5IBOoVf3zCUDS-NDBVYwESXoADdeJ_8yN4pM-nDaU " ; // get from https://dashboard.web3auth.io
9+ const clientId = "BIpw3vwP0QqF_QecEtEFYxEac6pW7i478ouMUwg-qiWp8ipe-OkD6FUabv99lG0iVO02GWd591bJeiYiM1Sl_Nc " ; // get from https://dashboard.web3auth.io
1010
1111 const name = "My App Name" ;
1212
@@ -24,18 +24,15 @@ export default function Web3AuthConnectorInstance(chains: Chain[]) {
2424 } ,
2525 web3AuthNetwork : WEB3AUTH_NETWORK . SAPPHIRE_DEVNET ,
2626 enableLogging : true ,
27- connectors : [ authConnector ( { connectorSettings : { buildEnv : "testing" } } ) ] ,
28- chains : chains . map ( chain => ( {
29- chainNamespace : CHAIN_NAMESPACES . EIP155 ,
30- chainId : `0x${ chain . id . toString ( 16 ) } ` ,
31- rpcTarget : chain . rpcUrls . default . http [ 0 ] ,
32- displayName : chain . name ,
33- blockExplorerUrl : chain . blockExplorers ?. default . url || "" ,
34- ticker : chain . nativeCurrency . symbol ,
35- tickerName : chain . nativeCurrency . name ,
36- logo : "" ,
37- } ) ) ,
27+ authBuildEnv : "testing" ,
3828 plugins : [ walletServicesPlugin ( ) ] ,
29+ connectors : [
30+ authConnector ( {
31+ loginSettings : {
32+ mfaLevel : "optional" ,
33+ }
34+ } ) ,
35+ ] ,
3936 } ) ;
4037
4138 return Web3AuthConnector ( {
0 commit comments