dexie 4.0.1-alpha.17 → 4.0.1-alpha.18
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 +1 -1
- package/dist/dexie.js +3 -3
- package/dist/dexie.js.map +1 -1
- package/dist/dexie.min.js +1 -1
- package/dist/dexie.min.js.map +1 -1
- package/dist/dexie.mjs +3 -3
- package/dist/dexie.mjs.map +1 -1
- package/dist/modern/dexie.min.mjs +1 -1
- package/dist/modern/dexie.min.mjs.map +1 -1
- package/dist/modern/dexie.mjs +3 -3
- package/dist/modern/dexie.mjs.map +1 -1
- package/package.json +1 -1
package/dist/dexie.d.ts
CHANGED
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.
|
|
7
|
+
* Version 4.0.1-alpha.18, Sun Jun 04 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.
|
|
1287
|
+
var DEXIE_VERSION = '4.0.1-alpha.18';
|
|
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>.";
|
|
@@ -5026,7 +5026,7 @@
|
|
|
5026
5026
|
if (!tblCache)
|
|
5027
5027
|
return downTable.mutate(req);
|
|
5028
5028
|
var promise = downTable.mutate(req);
|
|
5029
|
-
if (
|
|
5029
|
+
if ((req.type === 'add' || req.type === 'put') && (req.values.length >= 50 || getEffectiveKeys(primKey, req).some(function (key) { return key == null; }))) {
|
|
5030
5030
|
promise.then(function (res) {
|
|
5031
5031
|
var reqWithResolvedKeys = __assign(__assign({}, req), { values: req.values.map(function (value, i) {
|
|
5032
5032
|
var valueWithKey = primKey.keyPath.includes('.')
|