src/core/verify.ts issues recovery links (issueLink, recoveryOwner, spendRecovery) and can mark an account unproven; no test calls them directly.
Done when a new test file proves, passing now in:
[ ] a link's token names its account through recoveryOwner before it is spent.
[ ] spendRecovery returns the account once; a second spend returns undefined; a spend at or after expiry returns undefined; an unknown token returns undefined.
[ ] markUnproven does what its doc comment says and touches no other account.
Test only; a bug it finds is fixed in the same pull.
src/core/verify.tsissues recovery links (issueLink,recoveryOwner,spendRecovery) and can mark an account unproven; no test calls them directly.Done when a new test file proves, passing
nowin:recoveryOwnerbefore it is spent.spendRecoveryreturns the account once; a second spend returns undefined; a spend at or after expiry returns undefined; an unknown token returns undefined.markUnprovendoes what its doc comment says and touches no other account.Test only; a bug it finds is fixed in the same pull.