dexie 4.4.5 → 4.4.6

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 4.4.5, Fri Aug 14 2026
7
+ * Version 4.4.6, Thu Sep 10 2026
8
8
  *
9
9
  * https://dexie.org
10
10
  *
@@ -522,8 +522,9 @@ function hookDeletingChain(f1, f2) {
522
522
  function hookUpdatingChain(f1, f2) {
523
523
  if (f1 === nop)
524
524
  return f2;
525
- return function (modifications) {
525
+ return function () {
526
526
  var res = f1.apply(this, arguments);
527
+ var modifications = arguments[0];
527
528
  extend(modifications, res);
528
529
  var onsuccess = this.onsuccess,
529
530
  onerror = this.onerror;
@@ -1221,7 +1222,7 @@ function tempTransaction(db, mode, storeNames, fn) {
1221
1222
  }
1222
1223
  }
1223
1224
 
1224
- var DEXIE_VERSION = '4.4.5';
1225
+ var DEXIE_VERSION = '4.4.6';
1225
1226
  var maxString = String.fromCharCode(65535);
1226
1227
  var minKey = -Infinity;
1227
1228
  var INVALID_KEY_ARGUMENT = 'Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.';