@cocreate/indexeddb 1.14.4 → 1.14.5

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.14.5](https://github.com/CoCreate-app/CoCreate-indexeddb/compare/v1.14.4...v1.14.5) (2023-10-16)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * if array does not exist apply error to log ([fc1e101](https://github.com/CoCreate-app/CoCreate-indexeddb/commit/fc1e101ab0f9b7919bb0c4cff476a03c26191952))
7
+
1
8
  ## [1.14.4](https://github.com/CoCreate-app/CoCreate-indexeddb/compare/v1.14.3...v1.14.4) (2023-10-14)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/indexeddb",
3
- "version": "1.14.4",
3
+ "version": "1.14.5",
4
4
  "description": "A simple indexeddb component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.",
5
5
  "keywords": [
6
6
  "indexeddb",
package/src/index.js CHANGED
@@ -437,7 +437,7 @@ async function processObject(data, newData, database, array, type) {
437
437
  db.close()
438
438
  db = await processDatabase({ method: 'get.database', database, array })
439
439
  } else {
440
- throw new Error({ error: "array does not exist", array });
440
+ return errorHandler(data, "array does not exist", database, array)
441
441
  }
442
442
  }
443
443