@@ -17,16 +17,8 @@ public enum WalletProvider
17
17
EcosystemWallet
18
18
}
19
19
20
- public class InAppWalletOptions
20
+ public class InAppWalletOptions : EcosystemWalletOptions
21
21
{
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
-
30
22
public InAppWalletOptions (
31
23
string email = null ,
32
24
string phoneNumber = null ,
@@ -36,15 +28,15 @@ public InAppWalletOptions(
36
28
string storageDirectoryPath = null ,
37
29
IThirdwebWallet siweSigner = null
38
30
)
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
+ ) { }
48
40
}
49
41
50
42
public class EcosystemWalletOptions
0 commit comments