@cocreate/indexeddb 1.14.5 → 1.14.6

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.6](https://github.com/CoCreate-app/CoCreate-indexeddb/compare/v1.14.5...v1.14.6) (2023-10-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * array || [] ([f707b45](https://github.com/CoCreate-app/CoCreate-indexeddb/commit/f707b4531551ffcbdfd3f0d96e18a9e1c8106913))
7
+
1
8
  ## [1.14.5](https://github.com/CoCreate-app/CoCreate-indexeddb/compare/v1.14.4...v1.14.5) (2023-10-16)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cocreate/indexeddb",
3
- "version": "1.14.5",
3
+ "version": "1.14.6",
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
@@ -86,7 +86,7 @@ async function send(data) {
86
86
  if (!Array.isArray(databases))
87
87
  databases = [databases]
88
88
 
89
- let arrays = data.array;
89
+ let arrays = data.array || [];
90
90
  if (!Array.isArray(arrays))
91
91
  arrays = [arrays]
92
92
 
@@ -566,7 +566,6 @@ async function processObject(data, newData, database, array, type) {
566
566
 
567
567
  }
568
568
  } catch (error) {
569
- console.log(error)
570
569
  errorHandler(data, error, database, array)
571
570
  }
572
571