Skip to content

Commit 8bcbcd4

Browse files
cleanup
1 parent e2fab7f commit 8bcbcd4

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/powersync-sdk-common/src/client/AbstractPowerSyncDatabase.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,12 @@ export abstract class AbstractPowerSyncDatabase extends BaseObserver<PowerSyncDB
7676

7777
constructor(protected options: PowerSyncDatabaseOptions) {
7878
super();
79-
this.currentStatus = null;
79+
this._isReadyPromise = null;
80+
this.bucketStorageAdapter = this.generateBucketStorageAdapter();
8081
this.closed = true;
81-
this.ready = false;
82+
this.currentStatus = null;
8283
this.options = { ...DEFAULT_POWERSYNC_DB_OPTIONS, ...options };
83-
this.bucketStorageAdapter = this.generateBucketStorageAdapter();
84+
this.ready = false;
8485
this.sdkVersion = '';
8586
}
8687

0 commit comments

Comments
 (0)