diff --git a/frontend/sync-client/src/sync-client.ts b/frontend/sync-client/src/sync-client.ts index d00b2061..821bd3c3 100644 --- a/frontend/sync-client/src/sync-client.ts +++ b/frontend/sync-client/src/sync-client.ts @@ -102,6 +102,14 @@ export class SyncClient { return this.cursorTracker.onRemoteCursorsUpdated; } + public get historyEntries(): SyncHistory["entries"] { + return this.history.entries; + } + + public get settings(): SyncSettings { + return this.settingsStore.getSettings(); + } + public static async create({ fs, persistence, @@ -247,14 +255,6 @@ export class SyncClient { ]); } - public get historyEntries(): SyncHistory["entries"] { - return this.history.entries; - } - - public get settings(): SyncSettings { - return this.settingsStore.getSettings(); - } - public async start(): Promise { await this.lifecycle.withLock(async () => { this.assertNotDestroyed();