hyperdrive
Advanced tools
Comparing version 11.0.0-alpha.12 to 11.0.0-alpha.13
17
index.js
@@ -50,3 +50,3 @@ const Hyperbee = require('hyperbee') | ||
get core () { | ||
return this.db.feed | ||
return this.db.core | ||
} | ||
@@ -59,7 +59,7 @@ | ||
findingPeers () { | ||
return this.db.feed.findingPeers() | ||
return this.db.core.findingPeers() | ||
} | ||
update (opts) { | ||
return this.db.feed.update(opts) | ||
return this.db.core.update(opts) | ||
} | ||
@@ -94,3 +94,8 @@ | ||
await this.blobs.core.close() | ||
await this.db.feed.close() | ||
await this.db.close() | ||
} catch {} | ||
if (this._checkout) return | ||
try { | ||
await this.corestore.close() | ||
@@ -131,3 +136,3 @@ } catch {} | ||
if (this.db.feed.writable && !this.blobs) { | ||
if (this.db.core.writable && !this.blobs) { | ||
const blobsCore = this.corestore.get({ | ||
@@ -236,3 +241,3 @@ name: 'blobs', | ||
for (const range of dbRanges) { | ||
dls.push(this.db.feed.download(range)) | ||
dls.push(this.db.core.download(range)) | ||
} | ||
@@ -239,0 +244,0 @@ |
{ | ||
"name": "hyperdrive", | ||
"version": "11.0.0-alpha.12", | ||
"version": "11.0.0-alpha.13", | ||
"description": "Hyperdrive is a secure, real-time distributed file system", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
21615
365