hashgraph / hedera-wallet-connect

This package is a messaging relay between decentralized applications and wallets in Hedera network based on Wallet Connect relays.
Apache License 2.0
13 stars 22 forks source link

feat: active session management for stale / removed sessions #356

Open kantorcodes opened 4 days ago

kantorcodes commented 4 days ago

Description:

There have been reports that sessions no longer exist despite a Signer still being available. This PR introduces a more active role in the library to automatically detect this kind of a mismatch.

Related issue(s):

Fixes #

Notes for reviewer:

Checklist

github-actions[bot] commented 4 days ago

Coverage report

St.:grey_question:
Category Percentage Covered / Total
🟑 Statements
78.33% (+1.23% πŸ”Ό)
506/646
🟑 Branches
65.19% (+2.11% πŸ”Ό)
88/135
🟑 Functions
77.33% (+0.31% πŸ”Ό)
116/150
🟑 Lines
79.67% (+1.41% πŸ”Ό)
478/600
Show new covered files 🐣
|
St.:grey_question:
| File | Statements | Branches | Functions | Lines | | :-: | :- | :- | :- | :- | :- | | 🟒 |
`...` / SessionNotFoundError.ts
| 100% | 100% | 100% | 100% |

Test suite run success

146 tests passing in 11 suites.

Report generated by πŸ§ͺjest coverage report action from 87359c34775e5039c0448958f28d8927698a214e