From c0e6bc6265aee989b5342f1505fded683ab030a3 Mon Sep 17 00:00:00 2001 From: Gaurav Goel Date: Wed, 4 Sep 2024 11:17:28 +0530 Subject: [PATCH] feat: update wallet-services to v3 and auth-services to v9 Signed-off-by: Gaurav Goel --- .../Web3AuthSDK/Source/Web3AuthSDK/Private/Web3Auth.cpp | 8 ++++---- Plugins/Web3AuthSDK/Source/Web3AuthSDK/Public/Web3Auth.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Plugins/Web3AuthSDK/Source/Web3AuthSDK/Private/Web3Auth.cpp b/Plugins/Web3AuthSDK/Source/Web3AuthSDK/Private/Web3Auth.cpp index b0b7be8..2670631 100644 --- a/Plugins/Web3AuthSDK/Source/Web3AuthSDK/Private/Web3Auth.cpp +++ b/Plugins/Web3AuthSDK/Source/Web3AuthSDK/Private/Web3Auth.cpp @@ -233,20 +233,20 @@ void UWeb3Auth::processRequest(FString path, FLoginParams* loginParams = nullptr FJsonSerializer::Serialize(paramMap.ToSharedRef(), jsonWriter); if (web3AuthOptions.buildEnv == FBuildEnv::STAGING) { - web3AuthOptions.sdkUrl = "https://staging-auth.web3auth.io/v8"; + web3AuthOptions.sdkUrl = "https://staging-auth.web3auth.io/v9"; } else if(web3AuthOptions.buildEnv == FBuildEnv::TESTING) { web3AuthOptions.sdkUrl = "https://develop-auth.web3auth.io"; } else { - web3AuthOptions.sdkUrl = "https://auth.web3auth.io/v8"; + web3AuthOptions.sdkUrl = "https://auth.web3auth.io/v9"; } if (web3AuthOptions.buildEnv == FBuildEnv::STAGING) { - web3AuthOptions.walletSdkUrl = "https://staging-wallet.web3auth.io/v2"; + web3AuthOptions.walletSdkUrl = "https://staging-wallet.web3auth.io/v3"; } else if (web3AuthOptions.buildEnv == FBuildEnv::TESTING) { web3AuthOptions.walletSdkUrl = "https://develop-wallet.web3auth.io"; } else { - web3AuthOptions.walletSdkUrl = "https://wallet.web3auth.io/v2"; + web3AuthOptions.walletSdkUrl = "https://wallet.web3auth.io/v3"; } createSession(json, 600, false); diff --git a/Plugins/Web3AuthSDK/Source/Web3AuthSDK/Public/Web3Auth.h b/Plugins/Web3AuthSDK/Source/Web3AuthSDK/Public/Web3Auth.h index 2431b3e..074cf63 100644 --- a/Plugins/Web3AuthSDK/Source/Web3AuthSDK/Public/Web3Auth.h +++ b/Plugins/Web3AuthSDK/Source/Web3AuthSDK/Public/Web3Auth.h @@ -609,10 +609,10 @@ struct FWeb3AuthOptions FString redirectUrl; UPROPERTY(EditAnywhere, BlueprintReadWrite) - FString sdkUrl = "https://sdk.openlogin.com/v8"; + FString sdkUrl = "https://sdk.openlogin.com/v9"; UPROPERTY(EditAnywhere, BlueprintReadWrite) - FString walletSdkUrl = "https://wallet.web3auth.io/v1"; + FString walletSdkUrl = "https://wallet.web3auth.io/v3"; UPROPERTY(EditAnywhere, BlueprintReadWrite) FNetwork network;