Skip to content

Commit

Permalink
feat: update wallet-services to v3 and auth-services to v9
Browse files Browse the repository at this point in the history
Signed-off-by: Gaurav Goel <[email protected]>
  • Loading branch information
grvgoel81 authored and Gaurav Goel committed Sep 4, 2024
1 parent 524e946 commit c0e6bc6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Plugins/Web3AuthSDK/Source/Web3AuthSDK/Private/Web3Auth.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions Plugins/Web3AuthSDK/Source/Web3AuthSDK/Public/Web3Auth.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c0e6bc6

Please sign in to comment.