@cocreate/indexeddb 1.7.11 → 1.7.12
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 +7 -0
- package/package.json +1 -1
- package/src/index.js +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.7.12](https://github.com/CoCreate-app/CoCreate-indexeddb/compare/v1.7.11...v1.7.12) (2023-04-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* pushing item after is filter ([ad52003](https://github.com/CoCreate-app/CoCreate-indexeddb/commit/ad520037d5c175372e4e6a49f8a16c88adeda232))
|
|
7
|
+
|
|
1
8
|
## [1.7.11](https://github.com/CoCreate-app/CoCreate-indexeddb/compare/v1.7.10...v1.7.11) (2023-04-13)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -284,7 +284,7 @@ const collection = (action, data) => {
|
|
|
284
284
|
if (isFilter)
|
|
285
285
|
collectionArray.push({name: collection, db: 'indexeddb', database})
|
|
286
286
|
} else
|
|
287
|
-
collectionArray.push({
|
|
287
|
+
collectionArray.push({name: collection, db: 'indexeddb', database})
|
|
288
288
|
}
|
|
289
289
|
|
|
290
290
|
databasesLength -= 1
|
|
@@ -444,7 +444,7 @@ const index = (action, data) => {
|
|
|
444
444
|
if (isFilter)
|
|
445
445
|
indexArray.push({name: index, db: 'indexeddb', database, collection})
|
|
446
446
|
} else
|
|
447
|
-
indexArray.push({
|
|
447
|
+
indexArray.push({name: index, db: 'indexeddb', database, collection}) }
|
|
448
448
|
collectionsLength -= 1
|
|
449
449
|
db.close()
|
|
450
450
|
|