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.
@@ -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
  *
@@ -1226,7 +1226,7 @@ function tempTransaction(db, mode, storeNames, fn) {
1226
1226
  }
1227
1227
  }
1228
1228
 
1229
- const DEXIE_VERSION = '4.0.1-alpha.21+test1';
1229
+ const DEXIE_VERSION = '4.0.1-alpha.22';
1230
1230
  const maxString = String.fromCharCode(65535);
1231
1231
  const minKey = -Infinity;
1232
1232
  const INVALID_KEY_ARGUMENT = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.";
@@ -4399,7 +4399,7 @@ function extendObservabilitySet(target, newSet) {
4399
4399
 
4400
4400
  const observabilityMiddleware = {
4401
4401
  stack: "dbcore",
4402
- level: 10,
4402
+ level: 0,
4403
4403
  name: "Observability",
4404
4404
  create: (core) => {
4405
4405
  const dbName = core.schema.name;
@@ -4828,7 +4828,7 @@ function enqueForDeletion(cacheEntry, container) {
4828
4828
 
4829
4829
  const cacheMiddleware = {
4830
4830
  stack: 'dbcore',
4831
- level: 10,
4831
+ level: 0,
4832
4832
  name: 'Cache',
4833
4833
  create: (core) => {
4834
4834
  const dbName = core.schema.name;
@@ -5106,10 +5106,10 @@ class Dexie$1 {
5106
5106
  .map(c => c.on("versionchange").fire(ev));
5107
5107
  };
5108
5108
  this.use(cacheExistingValuesMiddleware);
5109
- this.use(virtualIndexMiddleware);
5110
- this.use(hooksMiddleware);
5111
5109
  this.use(cacheMiddleware);
5112
5110
  this.use(observabilityMiddleware);
5111
+ this.use(virtualIndexMiddleware);
5112
+ this.use(hooksMiddleware);
5113
5113
  this.vip = Object.create(this, { _vip: { value: true } });
5114
5114
  addons.forEach(addon => addon(this));
5115
5115
  }