browsermob-proxy-api
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -63,3 +63,5 @@ var http = require('http'); | ||
limit: this.setLimit, | ||
limit: function() { | ||
this.setLimit.apply(this, arguments); | ||
}, | ||
@@ -186,3 +188,3 @@ getURLWhiteList: function(port, callback) { | ||
} | ||
if(self.debug) { console.log(resp); } | ||
if(self.debug && resp) { console.log(resp); } | ||
if(callback !== undefined) { callback(err, resp); } | ||
@@ -189,0 +191,0 @@ }); |
{ | ||
"name": "browsermob-proxy-api", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "NodeJS bindings for controlling a browsermob-proxy instance (creating ports, HARs, etc)", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
7813
165