dexie-cloud-addon 4.0.1-beta.42 → 4.0.1-beta.43

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.0.1-beta.42, Sat Jul 01 2023
11
+ * Version 4.0.1-beta.43, Sat Jul 01 2023
12
12
  *
13
13
  * https://dexie.org
14
14
  *
@@ -4772,6 +4772,7 @@ function createMutationTrackingMiddleware({ currentUserObservable, db }) {
4772
4772
  ? {
4773
4773
  type: 'insert',
4774
4774
  ts,
4775
+ opNo,
4775
4776
  keys,
4776
4777
  txid,
4777
4778
  userId,
@@ -4782,6 +4783,7 @@ function createMutationTrackingMiddleware({ currentUserObservable, db }) {
4782
4783
  // Common changeSpec for all keys
4783
4784
  type: 'modify',
4784
4785
  ts,
4786
+ opNo,
4785
4787
  keys,
4786
4788
  criteria: req.criteria,
4787
4789
  changeSpec: req.changeSpec,
@@ -4793,6 +4795,7 @@ function createMutationTrackingMiddleware({ currentUserObservable, db }) {
4793
4795
  // One changeSpec per key
4794
4796
  type: 'update',
4795
4797
  ts,
4798
+ opNo,
4796
4799
  keys: updates.keys,
4797
4800
  changeSpecs: updates.changeSpecs,
4798
4801
  txid,
@@ -4801,6 +4804,7 @@ function createMutationTrackingMiddleware({ currentUserObservable, db }) {
4801
4804
  : {
4802
4805
  type: 'upsert',
4803
4806
  ts,
4807
+ opNo,
4804
4808
  keys,
4805
4809
  values,
4806
4810
  txid,
@@ -6085,7 +6089,7 @@ function dexieCloud(dexie) {
6085
6089
  });
6086
6090
  const syncComplete = new Subject();
6087
6091
  dexie.cloud = {
6088
- version: '4.0.1-beta.42',
6092
+ version: '4.0.1-beta.43',
6089
6093
  options: Object.assign({}, DEFAULT_OPTIONS),
6090
6094
  schema: null,
6091
6095
  get currentUserId() {
@@ -6346,7 +6350,7 @@ function dexieCloud(dexie) {
6346
6350
  });
6347
6351
  }
6348
6352
  }
6349
- dexieCloud.version = '4.0.1-beta.42';
6353
+ dexieCloud.version = '4.0.1-beta.43';
6350
6354
  Dexie.Cloud = dexieCloud;
6351
6355
 
6352
6356
  export { dexieCloud as default, dexieCloud, getTiedObjectId, getTiedRealmId };