UNPKG

cryptobox-hd

Version:

High-level API with persistent storage for Proteus-HD.

32 lines (30 loc) 860 B
import Cache from './store/Cache'; import IndexedDB from './store/IndexedDB'; import CryptoboxCRUDStore from './store/CryptoboxCRUDStore'; import {Cryptobox} from './Cryptobox'; import {CryptoboxError} from './error'; import {CryptoboxSession} from './CryptoboxSession'; import {DecryptionError} from './DecryptionError'; import {InvalidPreKeyFormatError} from './InvalidPreKeyFormatError'; import {ReadOnlyStore} from './store/ReadOnlyStore'; import {RecordAlreadyExistsError, RecordNotFoundError, RecordTypeError} from './store/error'; export default { Cryptobox, CryptoboxSession, DecryptionError, error: { CryptoboxError, }, InvalidPreKeyFormatError, store: { Cache, error: { RecordAlreadyExistsError, RecordNotFoundError, RecordTypeError, }, CryptoboxCRUDStore, IndexedDB, ReadOnlyStore, } }