braid-http
Advanced tools
Comparing version 0.3.16 to 0.3.17
@@ -380,3 +380,3 @@ // var peer = Math.random().toString(36).substr(2) | ||
if (this.state.result === 'success') { | ||
this.cb({ | ||
var update = { | ||
version: this.state.version, | ||
@@ -389,3 +389,6 @@ parents: this.state.parents, | ||
extra_headers: extra_headers(this.state.headers) | ||
}) | ||
} | ||
for (var k in update) | ||
if (update[k] === undefined) delete update[k] | ||
this.cb(update) | ||
@@ -392,0 +395,0 @@ // Reset the parser for the next version! |
{ | ||
"name": "braid-http", | ||
"version": "0.3.16", | ||
"version": "0.3.17", | ||
"description": "An implementation of Braid-HTTP for Node.js and Browsers", | ||
@@ -5,0 +5,0 @@ "scripts": { |
48029
974