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.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.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
  *
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.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
  *
@@ -1284,7 +1284,7 @@
1284
1284
  }
1285
1285
  }
1286
1286
 
1287
- var DEXIE_VERSION = '4.0.1-alpha.21+test1';
1287
+ var DEXIE_VERSION = '4.0.1-alpha.22';
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>.";
@@ -4514,7 +4514,7 @@
4514
4514
 
4515
4515
  var observabilityMiddleware = {
4516
4516
  stack: "dbcore",
4517
- level: 10,
4517
+ level: 0,
4518
4518
  name: "Observability",
4519
4519
  create: function (core) {
4520
4520
  var dbName = core.schema.name;
@@ -4947,7 +4947,7 @@
4947
4947
 
4948
4948
  var cacheMiddleware = {
4949
4949
  stack: 'dbcore',
4950
- level: 10,
4950
+ level: 0,
4951
4951
  name: 'Cache',
4952
4952
  create: function (core) {
4953
4953
  var dbName = core.schema.name;
@@ -5211,10 +5211,10 @@
5211
5211
  .map(function (c) { return c.on("versionchange").fire(ev); });
5212
5212
  };
5213
5213
  this.use(cacheExistingValuesMiddleware);
5214
- this.use(virtualIndexMiddleware);
5215
- this.use(hooksMiddleware);
5216
5214
  this.use(cacheMiddleware);
5217
5215
  this.use(observabilityMiddleware);
5216
+ this.use(virtualIndexMiddleware);
5217
+ this.use(hooksMiddleware);
5218
5218
  this.vip = Object.create(this, { _vip: { value: true } });
5219
5219
  addons.forEach(function (addon) { return addon(_this); });
5220
5220
  }