matrix-org / complement-crypto

Apache License 2.0
6 stars 4 forks source link

refactor: change how clients are created and used #87

Closed kegsay closed 2 weeks ago

kegsay commented 2 weeks ago

Everything now goes via a ClientCreationRequest struct which controls A) the user, B) multiprocess C) options e.g storage. This obviates the need for functional With.. options for creating clients, which didn't compose well with the way we were using them.

Clearly mark out which functions relate to the test Instance vs which are just true static functions.

This fixes https://github.com/matrix-org/complement-crypto/issues/70