Skip to content

Commit

Permalink
Add manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Oct 1, 2021
1 parent 47e0137 commit b331481
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 11 additions & 1 deletion leveldown.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,17 @@ module.exports = Multilevel

function Multilevel (opts) {
if (!(this instanceof Multilevel)) return new Multilevel(opts)
AbstractLevelDOWN.call(this)

AbstractLevelDOWN.call(this, {
bufferKeys: true,
snapshots: !opts.retry,
permanence: true,
seek: false,
clear: true,
getMany: false,
createIfMissing: false,
errorIfExists: false
})

if (!opts) opts = {}
this._iterators = ids()
Expand Down
1 change: 1 addition & 0 deletions test/abstract.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ suite({
},
seek: false,
clear: true,
getMany: false,
snapshots: false,
createIfMissing: false,
errorIfExists: false,
Expand Down

0 comments on commit b331481

Please sign in to comment.