Skip to content

Commit

Permalink
Merge branch 'Tests/WaaSIntergration' into Feature/WaaSIntegration_wi…
Browse files Browse the repository at this point in the history
…thTests
  • Loading branch information
BellringerQuinn committed Dec 8, 2023
2 parents 5c41f98 + dda0ff5 commit 1eb955b
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 145 deletions.
5 changes: 1 addition & 4 deletions Assets/SequenceExamples/Scripts/UI/LoginPage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,7 @@ private void OnMFAEmailFailedToSendHandler(string email, string error)

public void SubscribeToWaaSWalletCreatedEvent(Action<WaaSWallet> OnWaaSWalletCreatedHandler)
{
if (LoginHandler is WaaSLogin login)
{
login.OnWaaSWalletCreated += OnWaaSWalletCreatedHandler;
}
WaaSLogin.OnWaaSWalletCreated += OnWaaSWalletCreatedHandler;
}

private LoginMethod GetLoginMethod()
Expand Down
7 changes: 2 additions & 5 deletions Assets/SequenceExamples/Scripts/UI/LoginPanel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,8 @@ public void SetupLoginHandler(ILogin loginHandler)

_mfaPage.SetupLogin(loginHandler);
loginHandler.OnLoginSuccess += OnLoginSuccessHandler;

if (loginHandler is WaaSLogin waaSLogin)
{
waaSLogin.OnWaaSWalletCreated += OnWaaSWalletCreatedHandler;
}

WaaSLogin.OnWaaSWalletCreated += OnWaaSWalletCreatedHandler;
}

public void OpenTransitionPanel()
Expand Down
132 changes: 0 additions & 132 deletions Assets/SequenceSDK/WaaS/Tests/EndToEndTests.cs

This file was deleted.

3 changes: 0 additions & 3 deletions Assets/SequenceSDK/WaaS/Tests/EndToEndTests.cs.meta

This file was deleted.

2 changes: 1 addition & 1 deletion Assets/SequenceSDK/WaaS/WaaSLogin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public WaaSLogin(AWSConfig awsConfig, int waasProjectId, string waasVersion, IVa
public event ILogin.OnLoginFailedHandler OnLoginFailed;
public event ILogin.OnMFAEmailSentHandler OnMFAEmailSent;
public event ILogin.OnMFAEmailFailedToSendHandler OnMFAEmailFailedToSend;
public Action<WaaSWallet> OnWaaSWalletCreated;
public static Action<WaaSWallet> OnWaaSWalletCreated;

public async Task Login(string email)
{
Expand Down

0 comments on commit 1eb955b

Please sign in to comment.