This PR adds a setIdentity method so that identities can be changed when the log is already initialized. The reason for adding this is that we might want to start syncing a database before the user has been authenticated.
I wasn't sure if I should make it into a method like this or a javascript setter. Let me know if I should change it.
Description
This PR adds a
setIdentity
method so that identities can be changed when the log is already initialized. The reason for adding this is that we might want to start syncing a database before the user has been authenticated.I wasn't sure if I should make it into a method like this or a javascript setter. Let me know if I should change it.