dexie 3.2.2 → 3.2.3

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.
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * By David Fahlander, david.fahlander@gmail.com
6
6
  *
7
- * Version 3.2.2, Wed Apr 27 2022
7
+ * Version 3.2.3, Mon Jan 23 2023
8
8
  *
9
9
  * https://dexie.org
10
10
  *
@@ -1242,7 +1242,7 @@ function tempTransaction(db, mode, storeNames, fn) {
1242
1242
  }
1243
1243
  }
1244
1244
 
1245
- const DEXIE_VERSION = '3.2.2';
1245
+ const DEXIE_VERSION = '3.2.3';
1246
1246
  const maxString = String.fromCharCode(65535);
1247
1247
  const minKey = -Infinity;
1248
1248
  const INVALID_KEY_ARGUMENT = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.";
@@ -5037,6 +5037,9 @@ let propagatingLocally = false;
5037
5037
 
5038
5038
  if (typeof BroadcastChannel !== 'undefined') {
5039
5039
  const bc = new BroadcastChannel(STORAGE_MUTATED_DOM_EVENT_NAME);
5040
+ if (typeof bc.unref === 'function') {
5041
+ bc.unref();
5042
+ }
5040
5043
  globalEvents(DEXIE_STORAGE_MUTATED_EVENT_NAME, (changedParts) => {
5041
5044
  if (!propagatingLocally) {
5042
5045
  bc.postMessage(changedParts);