1- using System ;
1+ using System ;
22using System . Collections . Generic ;
33#nullable enable
4- #pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
54
65public class Web3AuthOptions {
76 public string clientId { get ; set ; }
@@ -12,20 +11,31 @@ public class Web3AuthOptions {
1211 public string sdkUrl {
1312 get {
1413 if ( buildEnv == Web3Auth . BuildEnv . STAGING )
15- return "https://staging-auth.web3auth.io/{openLoginVersion} " ;
14+ return "https://staging-auth.web3auth.io/v8 " ;
1615 else if ( buildEnv == Web3Auth . BuildEnv . TESTING )
1716 return "https://develop-auth.web3auth.io" ;
1817 else
19- return "https://auth.web3auth.io/{openLoginVersion}" ;
18+ return "https://auth.web3auth.io/v8" ;
2019 }
2120 set { }
2221 }
23- public const string openLoginVersion = "v6" ;
2422
23+ public string walletSdkUrl {
24+ get {
25+ if ( buildEnv == Web3Auth . BuildEnv . STAGING )
26+ return "https://staging-wallet.web3auth.io/v2" ;
27+ else if ( buildEnv == Web3Auth . BuildEnv . TESTING )
28+ return "https://develop-wallet.web3auth.io" ;
29+ else
30+ return "https://wallet.web3auth.io/v2" ;
31+ }
32+ set { }
33+ }
2534 public WhiteLabelData ? whiteLabel { get ; set ; }
2635 public Dictionary < string , LoginConfigItem > ? loginConfig { get ; set ; }
2736 public bool ? useCoreKitKey { get ; set ; } = false ;
2837 public Web3Auth . ChainNamespace ? chainNamespace { get ; set ; } = Web3Auth . ChainNamespace . EIP155 ;
2938 public MfaSettings ? mfaSettings { get ; set ; } = null ;
3039 public int sessionTime { get ; set ; } = 86400 ;
40+ public ChainConfig ? chainConfig { get ; set ; }
3141}
0 commit comments