@zenfs/core 0.7.6 → 0.7.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,7 +103,6 @@ export declare class AsyncStoreFS extends AsyncStoreFS_base {
103
103
  protected store: AsyncStore;
104
104
  private _cache?;
105
105
  _sync: FileSystem;
106
- protected _ready: Promise<void>;
107
106
  ready(): Promise<this>;
108
107
  metadata(): FileSystemMetadata;
109
108
  constructor(_options: AsyncStoreOptions);
@@ -56,9 +56,9 @@ export class AsyncStoreFS extends Async(FileSystem) {
56
56
  this._cache = new LRUCache(this._options.lruCacheSize);
57
57
  }
58
58
  this.store = await this._options.store;
59
- await super.ready();
60
- await this.makeRootDirectory();
61
59
  this._sync = this._options.sync || InMemory.create({ name: 'test' });
60
+ await this.makeRootDirectory();
61
+ await super.ready();
62
62
  return this;
63
63
  }
64
64
  metadata() {