Add function to determine when a credential can be upgraded
The UX team has requested a getNextUnlock()
function that returns the following:
- when a credential can increase in trust level
- when a credential receives new invitations
- when a credential can request new bridges (if theirs have been blocked)
We do not currently offer this functionality. We should figure out which of these are possible and then implement them.