diff --git a/leveldown.js b/leveldown.js index 4452190b..efb31f62 100644 --- a/leveldown.js +++ b/leveldown.js @@ -13,7 +13,19 @@ function LevelDOWN (location) { throw new Error('constructor requires a location string argument') } - AbstractLevelDOWN.call(this) + AbstractLevelDOWN.call(this, { + bufferKeys: true, + snapshots: true, + permanence: true, + seek: true, + clear: true, + createIfMissing: true, + errorIfExists: true, + additionalMethods: { + approximateSize: true, + compactRange: true + } + }) this.location = location this.context = binding.db_init() diff --git a/package.json b/package.json index ed541ea2..86ff155a 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "prebuild-centos7": "IMAGE=centos7-devtoolset7 ./scripts/cross-compile" }, "dependencies": { - "abstract-leveldown": "~6.1.1", + "abstract-leveldown": "~6.2.1", "napi-macros": "~2.0.0", "node-gyp-build": "~4.1.0" },