dexie-cloud-addon 4.0.1-beta.52 → 4.0.1-beta.53

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,9 +8,7 @@ export interface Realm {
8
8
  */
9
9
  name?: string;
10
10
  /** Contains the user-ID of the owner. An owner has implicit full write-access to the realm
11
- * and all obejcts connected to it. Ownership does not imply read (sync) access though,
12
- * so realm owners still needs to add themself as a member if they are going to use the realm
13
- * themselves.
11
+ * and all obejcts connected to it.
14
12
  */
15
13
  owner?: string;
16
14
  }
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * ==========================================================================
10
10
  *
11
- * Version 4.0.1-beta.52, Mon Oct 30 2023
11
+ * Version 4.0.1-beta.53, Sat Dec 02 2023
12
12
  *
13
13
  * https://dexie.org
14
14
  *
@@ -4704,7 +4704,7 @@ function readLock(fn, prop) {
4704
4704
  const numWriters = writers.length;
4705
4705
  const promise = (numWriters > 0
4706
4706
  ? writers[numWriters - 1].then(() => fn(req), () => fn(req))
4707
- : fn(req)).finally(() => readers.splice(readers.indexOf(promise)));
4707
+ : fn(req)).finally(() => { readers.splice(readers.indexOf(promise)); });
4708
4708
  readers.push(promise);
4709
4709
  return promise;
4710
4710
  };
@@ -4716,7 +4716,7 @@ function writeLock(fn, prop) {
4716
4716
  ? writers[writers.length - 1].then(() => fn(req), () => fn(req))
4717
4717
  : readers.length > 0
4718
4718
  ? allSettled(readers).then(() => fn(req))
4719
- : fn(req)).finally(() => writers.shift());
4719
+ : fn(req)).finally(() => { writers.shift(); });
4720
4720
  writers.push(promise);
4721
4721
  return promise;
4722
4722
  };
@@ -6217,7 +6217,7 @@ function dexieCloud(dexie) {
6217
6217
  const syncComplete = new Subject();
6218
6218
  dexie.cloud = {
6219
6219
  // @ts-ignore
6220
- version: "4.0.1-beta.52",
6220
+ version: "4.0.1-beta.53",
6221
6221
  options: Object.assign({}, DEFAULT_OPTIONS),
6222
6222
  schema: null,
6223
6223
  get currentUserId() {
@@ -6494,7 +6494,7 @@ function dexieCloud(dexie) {
6494
6494
  }
6495
6495
  }
6496
6496
  // @ts-ignore
6497
- dexieCloud.version = "4.0.1-beta.52";
6497
+ dexieCloud.version = "4.0.1-beta.53";
6498
6498
  Dexie.Cloud = dexieCloud;
6499
6499
 
6500
6500
  export { dexieCloud as default, dexieCloud, getTiedObjectId, getTiedRealmId, resolveText };