@@ -135,7 +135,7 @@ public async void setOptions(Web3AuthOptions web3AuthOptions)
135135 if ( this . web3AuthOptions . authBuildEnv != null )
136136 this . initParams [ "authBuildEnv" ] = this . web3AuthOptions . authBuildEnv . ToString ( ) . ToLower ( ) ;
137137
138- this . initParams [ "network" ] = this . web3AuthOptions . network . ToString ( ) . ToLower ( ) ;
138+ this . initParams [ "network" ] = this . web3AuthOptions . web3AuthNetwork . ToString ( ) . ToLower ( ) ;
139139
140140 if ( this . web3AuthOptions . useCoreKitKey . HasValue )
141141 this . initParams [ "useCoreKitKey" ] = this . web3AuthOptions . useCoreKitKey . Value ;
@@ -354,7 +354,7 @@ private async void processRequest(string path, LoginParams loginParams = null)
354354 }
355355 }
356356
357- public async void showWalletUI ( List < ChainsConfig > chainConfig , string chainId , string path = "wallet" )
357+ public async void showWalletUI ( List < ChainConfig > chainConfig , string chainId , string path = "wallet" )
358358 {
359359 string sessionId = KeyStoreManagerUtils . getPreferencesData ( KeyStoreManagerUtils . SESSION_ID ) ;
360360 if ( ! string . IsNullOrEmpty ( sessionId ) )
@@ -614,7 +614,7 @@ public void manageMFA(LoginParams loginParams)
614614 }
615615 }
616616
617- public async void request ( ChainsConfig chainConfig , string method , JArray requestParams , string path = "wallet/request" ) {
617+ public async void request ( ChainConfig chainConfig , string method , JArray requestParams , string path = "wallet/request" ) {
618618 string sessionId = KeyStoreManagerUtils . getPreferencesData ( KeyStoreManagerUtils . SESSION_ID ) ;
619619 if ( ! string . IsNullOrEmpty ( sessionId ) )
620620 {
@@ -630,7 +630,7 @@ public async void request(ChainsConfig chainConfig, string method, JArray reques
630630 this . initParams [ "redirectUrl" ] = Utils . GetCurrentURL ( ) ;
631631 #endif
632632
633- var chainConfigList = new List < ChainsConfig > { chainConfig } ;
633+ var chainConfigList = new List < ChainConfig > { chainConfig } ;
634634 string chainConfigListJson = JsonConvert . SerializeObject ( chainConfigList , Formatting . Indented ) ;
635635 this . initParams [ "chains" ] = chainConfigListJson ;
636636 this . initParams [ "chainId" ] = chainConfig . chainId ;
@@ -749,7 +749,7 @@ private void authorizeSession(string newSessionId, string origin)
749749 ) ;
750750 }
751751
752- if ( string . IsNullOrEmpty ( this . web3AuthResponse . privKey ) || string . IsNullOrEmpty ( this . web3AuthResponse . privKey . Trim ( '0' ) ) )
752+ if ( string . IsNullOrEmpty ( this . web3AuthResponse . privateKey ) || string . IsNullOrEmpty ( this . web3AuthResponse . privateKey . Trim ( '0' ) ) )
753753 this . Enqueue ( ( ) => this . onLogout ? . Invoke ( ) ) ;
754754 else
755755 this . Enqueue ( ( ) => this . onLogin ? . Invoke ( this . web3AuthResponse ) ) ;
@@ -885,7 +885,7 @@ private async Task<string> createSession(string data, long sessionTime, string a
885885 private async Task < bool > fetchProjectConfig ( )
886886 {
887887 TaskCompletionSource < bool > fetchProjectConfigResponse = new TaskCompletionSource < bool > ( ) ;
888- StartCoroutine ( Web3AuthApi . getInstance ( ) . fetchProjectConfig ( this . web3AuthOptions . clientId , this . web3AuthOptions . network . ToString ( ) . ToLower ( ) , ( response =>
888+ StartCoroutine ( Web3AuthApi . getInstance ( ) . fetchProjectConfig ( this . web3AuthOptions . clientId , this . web3AuthOptions . web3AuthNetwork . ToString ( ) . ToLower ( ) , ( response =>
889889 {
890890 if ( response != null )
891891 {
@@ -930,7 +930,7 @@ public string getPrivKey()
930930 if ( web3AuthResponse == null )
931931 return "" ;
932932
933- return web3AuthOptions . useCoreKitKey . Value ? web3AuthResponse . coreKitKey : web3AuthResponse . privKey ;
933+ return web3AuthOptions . useCoreKitKey . Value ? web3AuthResponse . coreKitKey : web3AuthResponse . privateKey ;
934934 }
935935
936936 public string getEd25519PrivKey ( )
0 commit comments