Skip to content

Commit 8ef9df7

Browse files
committed
fix build
1 parent e4f27f3 commit 8ef9df7

File tree

4 files changed

+20
-20
lines changed

4 files changed

+20
-20
lines changed

Thirdweb/Thirdweb.Wallets/InAppWallet/EcosystemWallet/EcosystemWallet.cs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -82,22 +82,22 @@ public static async Task<EcosystemWallet> Create(
8282

8383
var authproviderStr = authProvider switch
8484
{
85-
AuthProvider.Google => "Google",
86-
AuthProvider.Apple => "Apple",
87-
AuthProvider.Facebook => "Facebook",
88-
AuthProvider.JWT => "JWT",
89-
AuthProvider.AuthEndpoint => "AuthEndpoint",
90-
AuthProvider.Discord => "Discord",
91-
AuthProvider.Farcaster => "Farcaster",
92-
AuthProvider.Telegram => "Telegram",
93-
AuthProvider.Siwe => "Siwe",
94-
AuthProvider.Line => "Line",
95-
AuthProvider.Guest => "Guest",
96-
AuthProvider.X => "X",
97-
AuthProvider.Coinbase => "Coinbase",
98-
AuthProvider.Github => "Github",
99-
AuthProvider.Twitch => "Twitch",
100-
AuthProvider.Default => string.IsNullOrEmpty(email) ? "Phone" : "Email",
85+
Thirdweb.AuthProvider.Google => "Google",
86+
Thirdweb.AuthProvider.Apple => "Apple",
87+
Thirdweb.AuthProvider.Facebook => "Facebook",
88+
Thirdweb.AuthProvider.JWT => "JWT",
89+
Thirdweb.AuthProvider.AuthEndpoint => "AuthEndpoint",
90+
Thirdweb.AuthProvider.Discord => "Discord",
91+
Thirdweb.AuthProvider.Farcaster => "Farcaster",
92+
Thirdweb.AuthProvider.Telegram => "Telegram",
93+
Thirdweb.AuthProvider.Siwe => "Siwe",
94+
Thirdweb.AuthProvider.Line => "Line",
95+
Thirdweb.AuthProvider.Guest => "Guest",
96+
Thirdweb.AuthProvider.X => "X",
97+
Thirdweb.AuthProvider.Coinbase => "Coinbase",
98+
Thirdweb.AuthProvider.Github => "Github",
99+
Thirdweb.AuthProvider.Twitch => "Twitch",
100+
Thirdweb.AuthProvider.Default => string.IsNullOrEmpty(email) ? "Phone" : "Email",
101101
_ => throw new ArgumentException("Invalid AuthProvider"),
102102
};
103103

@@ -281,7 +281,7 @@ public string GetPhoneNumber()
281281
public async Task<EcosystemDetails> GetEcosystemDetails()
282282
{
283283
var url = $"{EMBEDDED_WALLET_PATH_2024}/ecosystem-wallet";
284-
var response = await this._httpClient.GetAsync(url).ConfigureAwait(false);
284+
var response = await this.HttpClient.GetAsync(url).ConfigureAwait(false);
285285
_ = response.EnsureSuccessStatusCode();
286286
var content = await response.Content.ReadAsStringAsync().ConfigureAwait(false);
287287
return JsonConvert.DeserializeObject<EcosystemDetails>(content);

Thirdweb/Thirdweb.Wallets/InAppWallet/EmbeddedWallet/EmbeddedWallet.Misc.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ internal async void UpdateSessionData(LocalStorage.DataStorage data)
1717

1818
public async Task SignOutAsync()
1919
{
20-
this._user = null;
2120
await this._localStorage.SaveDataAsync(new LocalStorage.DataStorage(null, null, null, null, null, null, null)).ConfigureAwait(false);
2221
}
2322

Thirdweb/Thirdweb.Wallets/InAppWallet/EmbeddedWallet/EmbeddedWallet.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ internal partial class EmbeddedWallet
55
private readonly LocalStorage _localStorage;
66
private readonly Server _server;
77
private readonly IvGenerator _ivGenerator;
8-
private User _user;
98

109
private const int DEVICE_SHARE_ID = 1;
1110
private const int KEY_SIZE = 256 / 8;

Thirdweb/Thirdweb.Wallets/InAppWallet/InAppWallet.Types.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ public enum AuthProvider
2020
Line,
2121
Guest,
2222
X,
23-
Coinbase
23+
Coinbase,
24+
Github,
25+
Twitch
2426
}
2527

2628
/// <summary>

0 commit comments

Comments
 (0)