@@ -148,7 +148,7 @@ export interface SdkInitOptions {
148148``` ts
149149const web3auth = new Web3Auth (SecureStore , {
150150 clientId: " WEB3AUTH_CLIENT_ID" , // Get your Client ID from the Web3Auth Dashboard
151- web3AuthNetwork: " sapphire_mainnet " ,
151+ web3AuthNetwork: WEB3AUTH_NETWORK . SAPPHIRE_MAINNET ,
152152 usePnPKey: false , // By default, this sdk returns CoreKitKey
153153});
154154```
@@ -160,7 +160,7 @@ const web3auth = new Web3Auth(SecureStore, {
160160``` ts
161161const web3auth = new Web3Auth (EncryptedStorage , {
162162 clientId: " WEB3AUTH_CLIENT_ID" , // Get your Client ID from the Web3Auth Dashboard
163- web3AuthNetwork: " sapphire_mainnet " ,
163+ web3AuthNetwork: WEB3AUTH_NETWORK . SAPPHIRE_MAINNET ,
164164 usePnPKey: false , // By default, this sdk returns CoreKitKey
165165});
166166```
@@ -219,7 +219,7 @@ const privateKeyProvider = new EthereumPrivateKeyProvider({
219219
220220const web3auth = new Web3Auth (SecureStore , {
221221 clientId: " WEB3AUTH_CLIENT_ID" , // Get your Client ID from the Web3Auth Dashboard
222- web3AuthNetwork: WEB3AUTH_NETWORK_SAPPHIRE_MAINNET ,
222+ web3AuthNetwork: WEB3AUTH_NETWORK . SAPPHIRE_MAINNET ,
223223 usePnPKey: false , // By default, this sdk returns CoreKitKey
224224});
225225
@@ -253,7 +253,7 @@ const privateKeyProvider = new EthereumPrivateKeyProvider({
253253
254254const web3auth = new Web3Auth (EncryptedStorage , {
255255 clientId: " WEB3AUTH_CLIENT_ID" , // Get your Client ID from the Web3Auth Dashboard
256- web3AuthNetwork: WEB3AUTH_NETWORK_SAPPHIRE_MAINNET ,
256+ web3AuthNetwork: WEB3AUTH_NETWORK . SAPPHIRE_MAINNET ,
257257 usePnPKey: false , // By default, this sdk returns CoreKitKey
258258});
259259
0 commit comments