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 { firstValueFrom, from as from$1, filter as filter$1, Observable as Observable$1, BehaviorSubject, Subject, 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 { firstValueFrom, from as from$1, filter as filter$1, Observable as Observable$1, BehaviorSubject, Subject, 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) {
@@ -7964,7 +7966,7 @@ function dexieCloud(dexie) {
7964
7966
  const syncComplete = new Subject();
7965
7967
  dexie.cloud = {
7966
7968
  // @ts-ignore
7967
- version: "4.1.0-alpha.8",
7969
+ version: "4.1.0-alpha.9",
7968
7970
  options: Object.assign({}, DEFAULT_OPTIONS),
7969
7971
  schema: null,
7970
7972
  get currentUserId() {
@@ -8266,7 +8268,7 @@ function dexieCloud(dexie) {
8266
8268
  }
8267
8269
  }
8268
8270
  // @ts-ignore
8269
- dexieCloud.version = "4.1.0-alpha.8";
8271
+ dexieCloud.version = "4.1.0-alpha.9";
8270
8272
  Dexie.Cloud = dexieCloud;
8271
8273
 
8272
8274
  export { dexieCloud as default, dexieCloud, getTiedObjectId, getTiedRealmId, resolveText };