Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nimiq/jungle-db

Package Overview
Dependencies
Maintainers
2
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nimiq/jungle-db - npm Package Compare versions

Comparing version 0.6.3 to 0.7.0

4

package.json
{
"name": "@nimiq/jungle-db",
"version": "0.6.3",
"version": "0.7.0",
"main": "dist/lmdb.js",

@@ -31,3 +31,3 @@ "unpkg": "dist/indexeddb.js",

"levelup": "^2.0.2",
"node-lmdb": "^0.5.0"
"node-lmdb": "^0.5.1"
},

@@ -34,0 +34,0 @@ "devDependencies": {

@@ -31,2 +31,3 @@ # jungle-db [![Build Status](https://travis-ci.org/nimiq-network/jungle-db.svg?branch=master)](https://travis-ci.org/nimiq-network/jungle-db)

it is most likely that you are using one of the features not supported by Edge.
One of the unsupported features are binary keys.

@@ -124,3 +125,11 @@ Then, create a `JungleDB` instance and potential object stores as follows:

There is also the possibility to define different backend specific encodings for LevelDB and LMDB using `leveldbValueEncoding` and `lmdbValueEncoding`.
Possible backend specific encodings are:
* `JungleDB.JSON_ENCODING` for JSON objects
* `JungleDB.NUMBER_ENCODING` for numbers
* `JungleDB.STRING_ENCODING` for strings
* `JungleDB.BINARY_ENCODING` for binary types
* `JungleDB.GENERIC_ENCODING` for a generic value (the code automatically determines the encoding and prepends a type byte)
The `createIndex(name, keyPath, options)` method also supports an optional `keyEncoding` option to specify the backend specific encoding of the secondary key.
### Database Options

@@ -127,0 +136,0 @@ There are options specific to some of the backends. Especially the LMDB backend is highly configurable.

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc