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

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.50, Sat Oct 28 2023
11
+ * Version 4.0.1-beta.52, Mon Oct 30 2023
12
12
  *
13
13
  * https://dexie.org
14
14
  *
@@ -6144,7 +6144,7 @@
6144
6144
  const realm = permissionsLookup[realmId || dexie.cloud.currentUserId];
6145
6145
  if (!realm)
6146
6146
  return new PermissionChecker({}, tableName, !owner || owner === dexie.cloud.currentUserId);
6147
- return new PermissionChecker(realm.permissions, tableName, realmId === dexie.cloud.currentUserId || owner === dexie.cloud.currentUserId);
6147
+ return new PermissionChecker(realm.permissions, tableName, realmId === undefined || realmId === dexie.cloud.currentUserId || owner === dexie.cloud.currentUserId);
6148
6148
  };
6149
6149
  const o = source.pipe(map(mapper));
6150
6150
  o.getValue = () => mapper(source.getValue());
@@ -6220,7 +6220,7 @@
6220
6220
  const syncComplete = new rxjs.Subject();
6221
6221
  dexie.cloud = {
6222
6222
  // @ts-ignore
6223
- version: "4.0.1-beta.50",
6223
+ version: "4.0.1-beta.52",
6224
6224
  options: Object.assign({}, DEFAULT_OPTIONS),
6225
6225
  schema: null,
6226
6226
  get currentUserId() {
@@ -6497,7 +6497,7 @@
6497
6497
  }
6498
6498
  }
6499
6499
  // @ts-ignore
6500
- dexieCloud.version = "4.0.1-beta.50";
6500
+ dexieCloud.version = "4.0.1-beta.52";
6501
6501
  Dexie.Cloud = dexieCloud;
6502
6502
 
6503
6503
  exports.default = dexieCloud;