kappa-core
Advanced tools
Comparing version 2.1.2 to 2.2.0
@@ -25,2 +25,3 @@ var hypercore = require('hypercore') | ||
}) | ||
if (view.indexed) idx.on('indexed', view.indexed) | ||
this._indexes[name] = idx | ||
@@ -27,0 +28,0 @@ this.api[name] = {} |
@@ -5,3 +5,3 @@ { | ||
"author": "Stephen Whitmore <sww@eight.net>", | ||
"version": "2.1.2", | ||
"version": "2.2.0", | ||
"repository": { | ||
@@ -19,4 +19,4 @@ "url": "git://github.com/noffle/kappa-core.git" | ||
"dependencies": { | ||
"hypercore": "^6.14.0", | ||
"multifeed": "^1.3.2", | ||
"hypercore": "^6.18.1", | ||
"multifeed": "^1.3.3", | ||
"multifeed-index": "^3.0.1" | ||
@@ -23,0 +23,0 @@ }, |
@@ -116,2 +116,7 @@ # kappa-core | ||
There are also the following optional `opts`: | ||
- `inedxed`: a function to run whenever a new batch of messages have been | ||
indexed & written to storage. Receives an array of messages. | ||
### core.ready(viewNames, cb) | ||
@@ -118,0 +123,0 @@ |
81
197
8865
5
Updatedhypercore@^6.18.1
Updatedmultifeed@^1.3.3