[lib] refactor processing updates and setting urlPrefix in keyserver-reducer to ops
Summary:
Convert logic to ops approach.
Depends on D10763
Test Plan:
Test for processUpdatesActionType:
- Open native app
- Open web app with the same account
- Make some actions on web account
- Make sure updatesCurrentAsOf is properly set on native
Test for setURLPrefix:
- On native in dev-tools select different url
Test for updateLastCommunicatedPlatformDetailsActionType
- Make shouldSendPlatformDetails: true
- Verify is state is properly set
Reviewers: inka
Reviewed By: inka
Subscribers: ashoat, tomek
Differential Revision: https://phab.comm.dev/D10766