dexie 4.0.1-alpha.18 → 4.0.1-alpha.19

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.d.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * By David Fahlander, david.fahlander@gmail.com
6
6
  *
7
- * Version 4.0.1-alpha.18, Sun Jun 04 2023
7
+ * Version 4.0.1-alpha.19, Wed Jun 07 2023
8
8
  *
9
9
  * https://dexie.org
10
10
  *
package/dist/dexie.js CHANGED
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * By David Fahlander, david.fahlander@gmail.com
6
6
  *
7
- * Version 4.0.1-alpha.18, Sun Jun 04 2023
7
+ * Version 4.0.1-alpha.19, Wed Jun 07 2023
8
8
  *
9
9
  * https://dexie.org
10
10
  *
@@ -1284,7 +1284,7 @@
1284
1284
  }
1285
1285
  }
1286
1286
 
1287
- var DEXIE_VERSION = '4.0.1-alpha.18';
1287
+ var DEXIE_VERSION = '4.0.1-alpha.19';
1288
1288
  var maxString = String.fromCharCode(65535);
1289
1289
  var minKey = -Infinity;
1290
1290
  var INVALID_KEY_ARGUMENT = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.";
@@ -4562,7 +4562,7 @@
4562
4562
  schema.indexes.forEach(function (idx) { return getRangeSet(idx.name).add(FULL_RANGE); });
4563
4563
  }
4564
4564
  return table.mutate(req).then(function (res) {
4565
- if (keys && primaryKey.autoIncrement && (req.type === 'add' || req.type === 'put')) {
4565
+ if (keys && (req.type === 'add' || req.type === 'put')) {
4566
4566
  pkRangeSet.addKeys(res.results);
4567
4567
  }
4568
4568
  trans.mutatedParts = extendObservabilitySet(trans.mutatedParts || {}, mutatedParts);