Comparing version 3.0.5 to 3.0.6
@@ -66,3 +66,7 @@ var protocol = require('hypercore-protocol') | ||
} | ||
self.emit('ready', header) | ||
// Wait a tick, otherwise the _ready handler below won't be listening for this event yet. | ||
process.nextTick(function () { | ||
self.emit('ready', header) | ||
}) | ||
}) | ||
@@ -69,0 +73,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"author": "Stephen Whitmore <sww@eight.net>", | ||
"version": "3.0.5", | ||
"version": "3.0.6", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "url": "git://github.com/noffle/multifeed.git" |
37819
1016