hap-node-client
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -115,3 +115,3 @@ // Borrowed and heaviliy modifed from https://github.com/miguelmota/http-message-parser | ||
var start = headerNewlineIndex; | ||
var end = (result.headers['Content-Length'] ? result.headers['Content-Length'] + start : messageString.length); | ||
var end = (result && result.headers['Content-Length'] ? result.headers['Content-Length'] + start : messageString.length); | ||
const firstBoundaryIndex = messageString.indexOf(fullBoundary); | ||
@@ -118,0 +118,0 @@ |
{ | ||
"name": "hap-node-client", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Client for Hap-NodeJS", | ||
@@ -5,0 +5,0 @@ "main": "HAPNodeJSClient.js", |
25367