matrix-js-sdk
662b772c - Add crypto events to `crypto-api` (#4443)

Commit
1 year ago
Add crypto events to `crypto-api` (#4443) * Move used Crypto event into crypto api * Use new crypto events in rust crypto * Remove `WillUpdateDevices` event from CryptoApi * Use new crypto events in old crypto events * Compute type of CryptoEvent enum * Rename CryptoEvent and CryptoEventHandlerMap as legacy * - Rename `RustCryptoEvent` as `CryptoEvent` - Declare `CryptoEventHandlerMap` into the crypto api * Add `WillUpdateDevices` back to new crypto events to avoid circular imports between old crypto and the cryto api * Extends old crypto handler map with the new crypto map * Review fixes * Add more explicit documentations
Author
Parents
Loading