import { IStoreService } from "@connext/types" ; import { StoreService } from "./store" ; import { StoreOptions } from "./types" ; import { WrappedLocalStorage } from "./wrappers/localStorage" ; export { IBackupService , IStoreService } from "@connext/types" ; export const getLocalStore = ( opts = { } ) : IStoreService => new StoreService ( new WrappedLocalStorage ( opts . prefix ) , opts . backupService , opts . logger ) ;