weathercompanyapi-node
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -155,2 +155,6 @@ /** | ||
self._request = function (cb) { | ||
if (!self.options.apiKey) { | ||
cb.call(self, new Error('apiKey is Missing'), {}); | ||
return false; | ||
} | ||
@@ -183,2 +187,3 @@ var url = 'https://api.weather.com/' + self.apiVersion + '/'; | ||
// console.error('Exception caught in JSON.parse', body); | ||
err.body = body; | ||
error = err; | ||
@@ -185,0 +190,0 @@ } |
{ | ||
"name": "weathercompanyapi-node", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "Node Client to access The Weather Company API", | ||
@@ -5,0 +5,0 @@ "main": "./lib/weathercompanyapi-node", |
19722
450