Skip to content

Commit b676625

Browse files
Merge branch 'master' into flutter-updates
2 parents e87e4e0 + 5c814dc commit b676625

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

docs/sdk/core-kit/sfa-react-native/initialize.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export interface SdkInitOptions {
148148
```ts
149149
const 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
161161
const 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

220220
const 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

254254
const 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

Comments
 (0)