Skip to content

Commit

Permalink
Merge branch 'feat/wallet-connect-v2' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
yasincaliskan committed May 9, 2024
2 parents 17e8d56 + 7fb29ff commit 9bd2979
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/PeraWalletConnect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,14 @@ class PeraWalletConnect {
if (!walletDetails?.chainId) {
await resetWalletDetailsFromStorage();

return;
reject(
new PeraWalletConnectError(
{
type: "SESSION_RECONNECT",
detail: "Failed to reconnect session due to Wallet Connect version mismatch"
},
"Failed to reconnect session"
));
}

if (!walletDetails) {
Expand Down

0 comments on commit 9bd2979

Please sign in to comment.