This is a test case and an example of how to use it, probably this code can be updated, exported, and used in Restore Flow later (cc. @tomek).
This is a real-life use case because we take the previous Primary Device deviceID from the device list history, then sign the message using Olm Account from Backup without extracting deviceID, and use deviceID from the device list to verify — so if this passes verification, both device list history and User Keys upload/download/crypto operations work together.
Depends on D14046
I introduced a previous diff where setAuxUserFIDs now clears fids prior to updating with new fids from the payload. The previous functionality of setAuxUserFIDs of just adding without clearing is now a new action type addAuxUserFIDs
There are now two callbacks which are called by a single useEffect. The two callbacks are called handleFarcasterMutuals and handleUserStoreFIDs