indexeddbshim 15.0.2 → 15.0.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "indexeddbshim",
3
- "version": "15.0.2",
3
+ "version": "15.0.4",
4
4
  "type": "module",
5
5
  "author": "Parashuram <code@nparashuram.com>",
6
6
  "contributors": [
package/src/IDBFactory.js CHANGED
@@ -79,6 +79,7 @@ function processNextInConnectionQueue (name, origin = getOrigin()) {
79
79
  }
80
80
  req.addEventListener('success', removeFromQueue);
81
81
  req.addEventListener('error', removeFromQueue);
82
+ req.addEventListener('blocked', removeFromQueue);
82
83
  cb(req);
83
84
  }
84
85
 
@@ -945,7 +946,7 @@ IDBFactory.prototype.deleteDatabase = function (name) {
945
946
  * @param {import('./Key.js').Key} key1
946
947
  * @param {import('./Key.js').Key} key2
947
948
  * @throws {TypeError}
948
- * @returns {0|1|-1}
949
+ * @returns {number}
949
950
  */
950
951
  IDBFactory.prototype.cmp = function (key1, key2) {
951
952
  if (!(this instanceof IDBFactory)) {
@@ -61,7 +61,7 @@ function setConfig (prop, val) {
61
61
  /**
62
62
  * @typedef {(
63
63
  * prop: import('./CFG.js').KeyofConfigValues
64
- * ) => import('../src/CFG.js').ConfigValue} GetConfig
64
+ * ) => import('./CFG.js').ConfigValue} GetConfig
65
65
  */
66
66
 
67
67
  /**