innogy-smarthome-lib
Advanced tools
Comparing version 0.6.1 to 0.6.2
@@ -60,4 +60,8 @@ const rp = require("request-promise"); | ||
if (err) | ||
reject(err, token); | ||
else | ||
{ | ||
if (that._config.oAuth2Credentials.local.useLocalConnection) | ||
that.emit("invalidAuthorization", auth); | ||
else | ||
reject(err, token); | ||
} else | ||
that.$doRequest(resolve, reject, token, options); | ||
@@ -64,0 +68,0 @@ }); |
{ | ||
"name": "innogy-smarthome-lib", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"description": "JavaScript library for the Innogy SmartHome system", | ||
@@ -18,3 +18,3 @@ "main": "./lib/smarthome", | ||
], | ||
"author": "Patrick Arns <npm@patrick-arns.de> (http://www.patrick-arns.de)", | ||
"author": "Patrick Arns <npm@patrick-arns.de> (https://www.patrick-arns.de)", | ||
"license": "MIT", | ||
@@ -26,12 +26,12 @@ "bugs": { | ||
"dependencies": { | ||
"async-lock": "^1.2.4", | ||
"async-lock": "^1.3.1", | ||
"bluebird": "^3.7.2", | ||
"express": "^4.17.1", | ||
"express": "^4.17.3", | ||
"jsonfile": "^5.0.0", | ||
"md5": "^2.2.1", | ||
"md5": "^2.3.0", | ||
"request": "^2.88.2", | ||
"request-promise": "^4.2.5", | ||
"ws": "^6.2.1", | ||
"request-promise": "^4.2.6", | ||
"ws": "^6.2.2", | ||
"xml2js": "^0.4.23" | ||
} | ||
} |
72859
1583
Updatedasync-lock@^1.3.1
Updatedexpress@^4.17.3
Updatedmd5@^2.3.0
Updatedrequest-promise@^4.2.6
Updatedws@^6.2.2