@pol-studios/db 1.0.36 → 1.0.37

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.
@@ -3,7 +3,7 @@ import {
3
3
  createAdapterRegistry,
4
4
  createSupabaseAdapter,
5
5
  stripSchemaPrefix
6
- } from "./chunk-HFIGNQ7T.js";
6
+ } from "./chunk-X747EEWD.js";
7
7
  import {
8
8
  DataLayerContext,
9
9
  DataLayerCoreContext,
@@ -4952,4 +4952,4 @@ object-assign/index.js:
4952
4952
  @license MIT
4953
4953
  *)
4954
4954
  */
4955
- //# sourceMappingURL=chunk-QHXN6BNL.js.map
4955
+ //# sourceMappingURL=chunk-7P2LGZYQ.js.map
@@ -4282,8 +4282,8 @@ var AdapterAutoDetector = class {
4282
4282
  if (typeof this.powerSyncDb.getAll !== "function") {
4283
4283
  return "initializing" /* INITIALIZING */;
4284
4284
  }
4285
- if (this.options.useOnlineUntilSynced && this.syncStatus) {
4286
- if (!this.syncStatus.hasSynced) {
4285
+ if (this.options.useOnlineUntilSynced) {
4286
+ if (!this.syncStatus || !this.syncStatus.hasSynced) {
4287
4287
  return "initializing" /* INITIALIZING */;
4288
4288
  }
4289
4289
  }
@@ -7924,4 +7924,4 @@ moment/moment.js:
7924
7924
  (*! license : MIT *)
7925
7925
  (*! momentjs.com *)
7926
7926
  */
7927
- //# sourceMappingURL=chunk-HFIGNQ7T.js.map
7927
+ //# sourceMappingURL=chunk-X747EEWD.js.map