How to use the @wireapp/store-engine/dist/commonjs/engine.FileEngine function in @wireapp/store-engine

To help you get started, we’ve selected a few @wireapp/store-engine examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github wireapp / wire-web-packages / packages / travis-status-bot / src / StoreService.ts View on Github external
constructor(storePath?: string) {
    this.STORE_PATH = storePath ? path.resolve(storePath) : defaultStorePath;
    this.storeEngine = new FileEngine(this.STORE_PATH);

    this.logger = logdown('@wireapp/travis-status-bot/StoreService', {
      logger: console,
      markdown: false,
    });
    this.logger.state.isEnabled = true;
  }