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.
package/dist/dexie.mjs CHANGED
@@ -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
  *
@@ -1281,7 +1281,7 @@ function tempTransaction(db, mode, storeNames, fn) {
1281
1281
  }
1282
1282
  }
1283
1283
 
1284
- var DEXIE_VERSION = '3.2.2';
1284
+ var DEXIE_VERSION = '3.2.3';
1285
1285
  var maxString = String.fromCharCode(65535);
1286
1286
  var minKey = -Infinity;
1287
1287
  var INVALID_KEY_ARGUMENT = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.";
@@ -5109,6 +5109,9 @@ var propagatingLocally = false;
5109
5109
 
5110
5110
  if (typeof BroadcastChannel !== 'undefined') {
5111
5111
  var bc_1 = new BroadcastChannel(STORAGE_MUTATED_DOM_EVENT_NAME);
5112
+ if (typeof bc_1.unref === 'function') {
5113
+ bc_1.unref();
5114
+ }
5112
5115
  globalEvents(DEXIE_STORAGE_MUTATED_EVENT_NAME, function (changedParts) {
5113
5116
  if (!propagatingLocally) {
5114
5117
  bc_1.postMessage(changedParts);