Skip to content

v5.16.0

Latest
Compare
Choose a tag to compare
@0xFirekeeper 0xFirekeeper released this 17 Jan 20:04
554a14d

What's Changed

  • Additions from Thirdweb's .NET SDK Release 2.16.0
  • Integrated AuthProvider.SiweExternal in ThirdwebManager.
    • Work around your favorite external wallet not having Unity support.
    • OAuth style linking variant of AuthProvider.Siwe, but using wallets and SIWE in a static React environment.
var walletOptions = new WalletOptions(
    WalletProvider.InAppWallet,
    421614,
    new InAppWalletOptions(authprovider: AuthProvider.SiweExternal)
);
var wallet = await ConnectWallet(walletOptions);
ThirdwebDebug.Log("Connected to InAppWallet with SiweExternal auth provider." + await wallet.GetAddress());
  • AuthProvider.Guest now uses a unique device identifier, making it a little more persistent than the previous implementation.
    • Guest mode is meant as an ephemereal login method, you should allow users to link additional auths later in the flow.
    • This update makes Guest mode a little more persistent in cases where users delete something by mistake.
  • Fixed edge case where Application.identifier being an empty string with some build configs would cause an empty bundle id to be used as the fallback instead of com.company.product.