From 8a23848c0956879ad4f81d3a048b204131875d02 Mon Sep 17 00:00:00 2001 From: Vincent Weevers Date: Tue, 1 Oct 2019 16:21:35 +0200 Subject: [PATCH] Add type property for reachdown (Level/community#82) --- index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/index.js b/index.js index 0915bb7..b1bd592 100644 --- a/index.js +++ b/index.js @@ -23,6 +23,8 @@ function DB (db, opts) { inherits(DB, AbstractLevelDOWN) +DB.prototype.type = 'encoding-down' + DB.prototype._serializeKey = DB.prototype._serializeValue = function (datum) { return datum