Previously this function wasn't checking the meta property, which
ssb-db uses to determine whether it should output data or data.value
without the key property. This was causing very strange behavior in
clients that depend on get() because this module hooks into ssb-db's
get() method, so it's important that ssb-ooo provides the same behavior.
Previously this function wasn't checking the
meta
property, which ssb-db uses to determine whether it should outputdata
ordata.value
without thekey
property. This was causing very strange behavior in clients that depend onget()
because this module hooks into ssb-db'sget()
method, so it's important that ssb-ooo provides the same behavior.This has haunted me for months.
Resolves #9