From 0c9aca19c14e778eacc201f09a5a518c7c456765 Mon Sep 17 00:00:00 2001 From: 0xFirekeeper <0xFirekeeper@gmail.com> Date: Sat, 1 Nov 2025 05:15:12 +0700 Subject: [PATCH] Add Epic as new AuthProvider in InAppWallet Introduces 'Epic' as a supported AuthProvider in the InAppWallet system, updating the enum and relevant switch statements to handle the new provider. --- .../InAppWallet/EcosystemWallet/EcosystemWallet.cs | 2 ++ Thirdweb/Thirdweb.Wallets/InAppWallet/InAppWallet.Types.cs | 1 + 2 files changed, 3 insertions(+) diff --git a/Thirdweb/Thirdweb.Wallets/InAppWallet/EcosystemWallet/EcosystemWallet.cs b/Thirdweb/Thirdweb.Wallets/InAppWallet/EcosystemWallet/EcosystemWallet.cs index 2af51ebd..79f42f3a 100644 --- a/Thirdweb/Thirdweb.Wallets/InAppWallet/EcosystemWallet/EcosystemWallet.cs +++ b/Thirdweb/Thirdweb.Wallets/InAppWallet/EcosystemWallet/EcosystemWallet.cs @@ -135,6 +135,7 @@ public static async Task Create( Thirdweb.AuthProvider.Guest => "Guest", Thirdweb.AuthProvider.X => "X", Thirdweb.AuthProvider.TikTok => "TikTok", + Thirdweb.AuthProvider.Epic => "Epic", Thirdweb.AuthProvider.Coinbase => "Coinbase", Thirdweb.AuthProvider.Github => "Github", Thirdweb.AuthProvider.Twitch => "Twitch", @@ -715,6 +716,7 @@ public async Task> LinkAccount( case "Line": case "X": case "TikTok": + case "Epic": case "Coinbase": case "Github": case "Twitch": diff --git a/Thirdweb/Thirdweb.Wallets/InAppWallet/InAppWallet.Types.cs b/Thirdweb/Thirdweb.Wallets/InAppWallet/InAppWallet.Types.cs index d9dade24..dfe71e52 100644 --- a/Thirdweb/Thirdweb.Wallets/InAppWallet/InAppWallet.Types.cs +++ b/Thirdweb/Thirdweb.Wallets/InAppWallet/InAppWallet.Types.cs @@ -21,6 +21,7 @@ public enum AuthProvider Guest, X, TikTok, + Epic, Coinbase, Github, Twitch,