Open shot-codes opened 1 month ago
this now updated in 1.0.7
While the email field is now missing, it is still missing the all wallets option.
you must now pass the authConnector now yourself, with the other issue do you have a repo I can look at to replicate your issue?
in createConfig
you must pass connectors you want to use
<script>
import { defaultConfig } from 'svelte-wagmi';
import { onMount } from 'svelte';
import { PUBLIC_WALLETCONNECT_ID, PUBLIC_ALCHEMY_ID } from '$env/static/public';
import { injected } from '@wagmi/connectors';
import { authConnector } from '@web3modal/wagmi'
onMount(async () => {
const erckit = defaultConfig({
appName: 'erc.kit',
walletConnectProjectId: PUBLIC_WALLETCONNECT_ID,
alchemyId: PUBLIC_ALCHEMY_ID,
connectors: [injected(), authConnector({ chains, options: { projectId: PUBLIC_WALLETCONNECT_ID }, email: true, socials: ['google', 'x', 'github', 'discord', 'apple'] })]
});
});
await erckit.init();
</script>
I only have my installed wallets listed in web3modal. How can I configure what is shown in the web3modal? I would like to support the new coinbase smart wallet. Furthermore I would like to remove the email field.
Incognito without any browser extensions:![2024-06-11-095849_hyprshot](https://github.com/softwarecurator/svelte-wagmi/assets/43202406/0cc5ac6b-49fe-4d5e-bafa-b236c51f14fe)
With metamask and rainbowkit![2024-06-11-095903_hyprshot](https://github.com/softwarecurator/svelte-wagmi/assets/43202406/23bfaf0e-ac38-4b00-9149-db22b5f0951a)