From 9653bd207313469693aa56480dfa92f002cd30a8 Mon Sep 17 00:00:00 2001 From: Gaurav Goel Date: Fri, 3 Nov 2023 18:17:00 +0530 Subject: [PATCH 1/2] feat: update openlogin version to v6 Signed-off-by: Gaurav Goel --- Assets/Plugins/Web3AuthSDK/Types/Web3AuthOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/Plugins/Web3AuthSDK/Types/Web3AuthOptions.cs b/Assets/Plugins/Web3AuthSDK/Types/Web3AuthOptions.cs index d19251d..7887975 100644 --- a/Assets/Plugins/Web3AuthSDK/Types/Web3AuthOptions.cs +++ b/Assets/Plugins/Web3AuthSDK/Types/Web3AuthOptions.cs @@ -19,7 +19,7 @@ public string sdkUrl { } set { } } - public const string openLoginVersion = "v5"; + public const string openLoginVersion = "v6"; public WhiteLabelData? whiteLabel { get; set; } public Dictionary? loginConfig { get; set; } From 17be1a6a54b4ac135ff858a5d0e1b62d8e377dd3 Mon Sep 17 00:00:00 2001 From: Gaurav Goel Date: Mon, 6 Nov 2023 13:45:36 +0530 Subject: [PATCH 2/2] feat: add secp256k1 curve by default Signed-off-by: Gaurav Goel --- Assets/Plugins/Web3AuthSDK/Samples/Web3AuthSample.cs | 2 +- Assets/Plugins/Web3AuthSDK/Types/LoginParams.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Assets/Plugins/Web3AuthSDK/Samples/Web3AuthSample.cs b/Assets/Plugins/Web3AuthSDK/Samples/Web3AuthSample.cs index 78e6905..e03a424 100644 --- a/Assets/Plugins/Web3AuthSDK/Samples/Web3AuthSample.cs +++ b/Assets/Plugins/Web3AuthSDK/Samples/Web3AuthSample.cs @@ -73,7 +73,7 @@ void Start() } */ clientId = "BPi5PB_UiIZ-cPz1GtV5i1I2iOSOHuimiXBI0e-Oe_u6X3oVAbCiAZOTEBtTXw4tsluTITPqA8zMsfxIKMjiqNQ", - buildEnv = BuildEnv.PRODUCTION, + buildEnv = BuildEnv.TESTING, redirectUrl = new Uri("torusapp://com.torus.Web3AuthUnity/auth"), network = Web3Auth.Network.SAPPHIRE_MAINNET, sessionTime = 86400 diff --git a/Assets/Plugins/Web3AuthSDK/Types/LoginParams.cs b/Assets/Plugins/Web3AuthSDK/Types/LoginParams.cs index 5efcb0b..63246e2 100644 --- a/Assets/Plugins/Web3AuthSDK/Types/LoginParams.cs +++ b/Assets/Plugins/Web3AuthSDK/Types/LoginParams.cs @@ -9,5 +9,5 @@ public class LoginParams public string appState { get; set; } public MFALevel mfaLevel { get; set; } - public Curve curve { get; set; } + public Curve curve { get; set; } = Curve.SECP256K1; } \ No newline at end of file