datastore-idb
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -0,1 +1,12 @@ | ||
<a name="1.0.1"></a> | ||
## [1.0.1](https://github.com/ipfs/js-datastore-idb/compare/v1.0.0...v1.0.1) (2020-04-23) | ||
### Bug Fixes | ||
* add bundle size config ([1fef7be](https://github.com/ipfs/js-datastore-idb/commit/1fef7be)) | ||
* protect open and close ([0695ad6](https://github.com/ipfs/js-datastore-idb/commit/0695ad6)) | ||
<a name="1.0.0"></a> | ||
@@ -2,0 +13,0 @@ # 1.0.0 (2020-04-08) |
{ | ||
"name": "datastore-idb", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Datastore implementation with IndexedDB backend.", | ||
@@ -5,0 +5,0 @@ "leadMaintainer": "Hugo Dias <hugomrdias@gmail.com>", |
@@ -82,2 +82,6 @@ 'use strict' | ||
async open () { | ||
if (this.store !== null) { | ||
return | ||
} | ||
const location = this.location | ||
@@ -193,3 +197,4 @@ try { | ||
} | ||
return this.store.close() | ||
this.store.close() | ||
this.store = null | ||
} | ||
@@ -196,0 +201,0 @@ |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20684
9
371