@@ -17,16 +17,8 @@ public enum WalletProvider
1717 EcosystemWallet
1818 }
1919
20- public class InAppWalletOptions
20+ public class InAppWalletOptions : EcosystemWalletOptions
2121 {
22- public string Email ;
23- public string PhoneNumber ;
24- public AuthProvider AuthProvider ;
25- public string JwtOrPayload ;
26- public string LegacyEncryptionKey ;
27- public string StorageDirectoryPath ;
28- public IThirdwebWallet SiweSigner ;
29-
3022 public InAppWalletOptions (
3123 string email = null ,
3224 string phoneNumber = null ,
@@ -36,15 +28,15 @@ public InAppWalletOptions(
3628 string storageDirectoryPath = null ,
3729 IThirdwebWallet siweSigner = null
3830 )
39- {
40- Email = email ;
41- PhoneNumber = phoneNumber ;
42- AuthProvider = authprovider ;
43- JwtOrPayload = jwtOrPayload ;
44- LegacyEncryptionKey = legacyEncryptionKey ;
45- StorageDirectoryPath = storageDirectoryPath ?? Path . Combine ( Application . persistentDataPath , "Thirdweb" , "InAppWallet" ) ;
46- SiweSigner = siweSigner ;
47- }
31+ : base (
32+ email : email ,
33+ phoneNumber : phoneNumber ,
34+ authprovider : authprovider ,
35+ jwtOrPayload : jwtOrPayload ,
36+ storageDirectoryPath : storageDirectoryPath ,
37+ siweSigner : siweSigner ,
38+ legacyEncryptionKey : legacyEncryptionKey
39+ ) { }
4840 }
4941
5042 public class EcosystemWalletOptions
0 commit comments