btimby / nimtok

IPFS / Nimiq messaging
MIT License
3 stars 0 forks source link

Make PR for orbitdb. #6

Open btimby opened 3 years ago

btimby commented 3 years ago

This seems like a useful function:

https://github.com/btimby/nimtok/blob/23c21a2983d3da491bf4521a9c16cee5ea22b514/src/plugins/orbitdb.js#L52

It is necessary because:

The above are my observations. The API docs do not show that options are passed to open() or any of the db specific functions like keyvalue().

This could be implemented a couple ways.

  1. Like I have done here.
  2. Or by adding options to open() and db specific functions like keyvalue().