Skip to content

Commit 24c4acf

Browse files
committed
default configs + fixes issues in composables
1 parent 4be808e commit 24c4acf

File tree

7 files changed

+89
-691
lines changed

7 files changed

+89
-691
lines changed

demo/vue-app-new/package-lock.json

Lines changed: 30 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/vue-app-new/src/MainView.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const options = computed((): Web3AuthOptions => {
7878
}
7979
8080
const uiConfig = enabledWhiteLabel ? { ...whiteLabel } : undefined;
81-
81+
const authConnectorInstance = authConnector({ connectorSettings: { buildEnv: "development" } });
8282
return {
8383
clientId: clientIds[formData.network],
8484
web3AuthNetwork: formData.network,
@@ -93,7 +93,7 @@ const options = computed((): Web3AuthOptions => {
9393
chains,
9494
defaultChainId: formData.defaultChainId,
9595
enableLogging: true,
96-
connectors: [...externalConnectors.value, authConnector({ connectorSettings: { buildEnv: "development" }, loginSettings: { mfaLevel: "mandatory"}})],
96+
connectors: [...externalConnectors.value, authConnectorInstance],
9797
plugins,
9898
multiInjectedProviderDiscovery: formData.multiInjectedProviderDiscovery,
9999
walletServicesConfig,
@@ -138,7 +138,6 @@ onBeforeMount(() => {
138138
try {
139139
if (storedValue) {
140140
const json = JSON.parse(storedValue);
141-
console.log("storedValue", json);
142141
formData.connectors = json.connectors;
143142
formData.chains = json.chains;
144143
formData.chainNamespaces = json.chainNamespaces;

0 commit comments

Comments
 (0)