dexie 4.0.1-alpha.21 → 4.0.1-alpha.22

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.0.1-alpha.21+test1, Wed Jun 14 2023
7
+ * Version 4.0.1-alpha.22, Wed Jun 14 2023
8
8
  *
9
9
  * https://dexie.org
10
10
  *
@@ -1278,7 +1278,7 @@ function tempTransaction(db, mode, storeNames, fn) {
1278
1278
  }
1279
1279
  }
1280
1280
 
1281
- var DEXIE_VERSION = '4.0.1-alpha.21+test1';
1281
+ var DEXIE_VERSION = '4.0.1-alpha.22';
1282
1282
  var maxString = String.fromCharCode(65535);
1283
1283
  var minKey = -Infinity;
1284
1284
  var INVALID_KEY_ARGUMENT = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.";
@@ -4508,7 +4508,7 @@ function extendObservabilitySet(target, newSet) {
4508
4508
 
4509
4509
  var observabilityMiddleware = {
4510
4510
  stack: "dbcore",
4511
- level: 10,
4511
+ level: 0,
4512
4512
  name: "Observability",
4513
4513
  create: function (core) {
4514
4514
  var dbName = core.schema.name;
@@ -4941,7 +4941,7 @@ function enqueForDeletion(cacheEntry, container) {
4941
4941
 
4942
4942
  var cacheMiddleware = {
4943
4943
  stack: 'dbcore',
4944
- level: 10,
4944
+ level: 0,
4945
4945
  name: 'Cache',
4946
4946
  create: function (core) {
4947
4947
  var dbName = core.schema.name;
@@ -5205,10 +5205,10 @@ var Dexie$1 = (function () {
5205
5205
  .map(function (c) { return c.on("versionchange").fire(ev); });
5206
5206
  };
5207
5207
  this.use(cacheExistingValuesMiddleware);
5208
- this.use(virtualIndexMiddleware);
5209
- this.use(hooksMiddleware);
5210
5208
  this.use(cacheMiddleware);
5211
5209
  this.use(observabilityMiddleware);
5210
+ this.use(virtualIndexMiddleware);
5211
+ this.use(hooksMiddleware);
5212
5212
  this.vip = Object.create(this, { _vip: { value: true } });
5213
5213
  addons.forEach(function (addon) { return addon(_this); });
5214
5214
  }