dexie 4.0.1-alpha.13 → 4.0.1-alpha.14

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.13, Wed May 31 2023
7
+ * Version 4.0.1-alpha.14, Wed May 31 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.13, Wed May 31 2023
7
+ * Version 4.0.1-alpha.14, Wed May 31 2023
8
8
  *
9
9
  * https://dexie.org
10
10
  *
@@ -1270,7 +1270,7 @@
1270
1270
  }
1271
1271
  }
1272
1272
 
1273
- var DEXIE_VERSION = '4.0.1-alpha.13';
1273
+ var DEXIE_VERSION = '4.0.1-alpha.14';
1274
1274
  var maxString = String.fromCharCode(65535);
1275
1275
  var minKey = -Infinity;
1276
1276
  var INVALID_KEY_ARGUMENT = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.";
@@ -4753,7 +4753,8 @@
4753
4753
  if (finalResult === result)
4754
4754
  return result;
4755
4755
  finalResult.sort(function (a, b) {
4756
- return cmp(sortIndex.extractKey(a), sortIndex.extractKey(b));
4756
+ return cmp(extractIndex(a), extractIndex(b)) ||
4757
+ cmp(extractPrimKey(a), extractPrimKey(b));
4757
4758
  });
4758
4759
  if (req.limit) {
4759
4760
  if (finalResult.length > req.limit) {