refactor(indexeddb): Export error types

This commit is contained in:
Jonas Platte
2022-08-04 12:43:43 +02:00
committed by Jonas Platte
parent a4f3c3a070
commit 0b1bdd66f9

View File

@@ -9,10 +9,11 @@ mod safe_encode;
mod state_store;
#[cfg(feature = "e2e-encryption")]
pub use crypto_store::IndexeddbCryptoStore;
#[cfg(feature = "e2e-encryption")]
use crypto_store::IndexeddbCryptoStoreError;
pub use state_store::{IndexeddbStateStore, IndexeddbStateStoreBuilder, MigrationConflictStrategy};
pub use crypto_store::{IndexeddbCryptoStore, IndexeddbCryptoStoreError};
pub use state_store::{
IndexeddbStateStore, IndexeddbStateStoreBuilder, IndexeddbStateStoreError,
MigrationConflictStrategy,
};
/// Create a [`IndexeddbStateStore`] and a [`IndexeddbCryptoStore`] that use the
/// same name and passphrase.