Skip to content

Commit

Permalink
feat(walletconnect): add SessionData.Reinitialize method
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonboukheir committed Jun 12, 2022
1 parent 133fbd6 commit 0d172ac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Runtime/CareBoo.AlgoSdk.WalletConnect/Models/SessionData.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ public ClientMeta WalletMeta
set => walletMeta = value;
}

public SessionData Reinitialize()
{
return InitSession(dappMeta, bridgeUrl);
}

public static SessionData InitSession(ClientMeta dappMeta, string bridgeUrl)
{
return new SessionData
Expand Down

0 comments on commit 0d172ac

Please sign in to comment.