dexie-cloud-addon 4.1.0-alpha.8 → 4.1.0-alpha.9

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.
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * ==========================================================================
10
10
  *
11
- * Version 4.1.0-alpha.8, Tue Oct 15 2024
11
+ * Version 4.1.0-alpha.9, Tue Oct 15 2024
12
12
  *
13
13
  * https://dexie.org
14
14
  *
@@ -17,7 +17,7 @@
17
17
  */
18
18
 
19
19
  import Dexie, { PropModification, cmp, DexieYProvider, liveQuery } from 'dexie';
20
- import { Observable as Observable$1, BehaviorSubject, firstValueFrom, Subject, from as from$1, filter as filter$1, fromEvent, of, merge, mergeMap as mergeMap$1, Subscription as Subscription$1, throwError, combineLatest, map as map$1, share, timer as timer$1 } from 'rxjs';
20
+ import { Observable as Observable$1, BehaviorSubject, firstValueFrom, Subject, from as from$1, filter as filter$1, fromEvent, of, merge, mergeMap as mergeMap$1, tap as tap$1, Subscription as Subscription$1, throwError, combineLatest, map as map$1, share, timer as timer$1 } from 'rxjs';
21
21
 
22
22
  /******************************************************************************
23
23
  Copyright (c) Microsoft Corporation.
@@ -6667,7 +6667,9 @@ function createYClientUpdateObservable(db) {
6667
6667
  // If messageProducer emits empty array, nothing is emitted
6668
6668
  // but if messageProducer emits array of messages, they are
6669
6669
  // emitted one by one.
6670
- mergeMap$1((messages) => messages));
6670
+ mergeMap$1((messages) => messages), tap$1(message => {
6671
+ console.debug('dexie-cloud emitting y-c', message);
6672
+ }));
6671
6673
  }
6672
6674
 
6673
6675
  function getAwarenessLibrary(db) {
@@ -7957,7 +7959,7 @@ function dexieCloud(dexie) {
7957
7959
  const syncComplete = new Subject();
7958
7960
  dexie.cloud = {
7959
7961
  // @ts-ignore
7960
- version: "4.1.0-alpha.8",
7962
+ version: "4.1.0-alpha.9",
7961
7963
  options: Object.assign({}, DEFAULT_OPTIONS),
7962
7964
  schema: null,
7963
7965
  get currentUserId() {
@@ -8259,7 +8261,7 @@ function dexieCloud(dexie) {
8259
8261
  }
8260
8262
  }
8261
8263
  // @ts-ignore
8262
- dexieCloud.version = "4.1.0-alpha.8";
8264
+ dexieCloud.version = "4.1.0-alpha.9";
8263
8265
  Dexie.Cloud = dexieCloud;
8264
8266
 
8265
8267
  // In case the SW lives for a while, let it reuse already opened connections: