Skip to content

Commit ccf482f

Browse files
committed
temp
1 parent 1cbb156 commit ccf482f

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

web-modal-sdk/quick-starts/react-modal-quick-start/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ const clientId = "BIpw3vwP0QqF_QecEtEFYxEac6pW7i478ouMUwg-qiWp8ipe-OkD6FUabv99lG
2222
const web3auth = new Web3Auth({
2323
clientId,
2424
web3AuthNetwork: WEB3AUTH_NETWORK.SAPPHIRE_DEVNET,
25+
authBuildEnv: "testing",
2526
connectors: [
2627
authConnector({
27-
connectorSettings: { buildEnv: "testing" },
2828
loginSettings: {
2929
mfaLevel: "optional",
3030
}

web-modal-sdk/wagmi-examples/wagmi-modal-example/src/Web3AuthConnectorInstance.tsx

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { WalletServicesPlugin } from "@web3auth/wallet-services-plugin";
66

77
export 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

Comments
 (0)