T3003
Depends on D13367
This diff implements the pending endpoint via the new getPendingAliases and appendWithPendingAliases functions. The Registered Aliases list will now be based on the following logic:
- user registers a new alias
- upon successful tx broadcast, cashtab retrieves pending list from endpoint
- adds '(pending)' to each pending alias retrieved
- filters out ones not related to this wallet
- updates the state variable in Alias.js (activeWalletAliases) that tracks the aliases to be displayed under Registered Aliases, simultaneously removing duplicates
- if user is subsequently navigating to Alias.js again, the useEffect loop will call appendWithPendingAliases again to ensure it reflects the latest pending state
Note: refer to tg chat regarding current issue with the pending endpoint. Otherwise the diff should be displaying the correct pending aliases.