Added improvement to session update that allows wallets to update session withut waiting for the dapp to acknowledge. There are several benefits to this approach such as
optimized for mobile where almost always only the foreground app is online thus acknowledgement is impossible from app that is in background
better handles updates on multiple sessions where all/almost all peers are offline
allows client to immediately utilize the updated session such as emit events with the updated valus
Type of change
[x] Chore (non-breaking change that addresses non-functional tasks, maintenance, or code quality improvements)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Draft PR (breaking/non-breaking change which needs more work for having a proper functionality [Mark this PR as ready to review only when completely ready])
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
How has this been tested?
dogfooding, tests
Checklist
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules
Additional Information (Optional)
Please include any additional information that may be useful for the reviewer.
Description
Added improvement to session update that allows wallets to update session withut waiting for the dapp to acknowledge. There are several benefits to this approach such as
Type of change
How has this been tested?
dogfooding, tests
Checklist
Additional Information (Optional)
Please include any additional information that may be useful for the reviewer.