Compare commits

..

2 Commits

Author SHA1 Message Date
Alexander Corn
d367ceb2a6 1.0.5 2015-05-11 15:56:57 -04:00
Alexander Corn
5ab5a6d401 Made callback optional for parentalUnlock 2015-05-11 15:56:41 -04:00
2 changed files with 5 additions and 1 deletions

View File

@@ -161,6 +161,10 @@ SteamCommunity.prototype.parentalUnlock = function(pin, callback) {
"pin": pin
}
}, function(err, response, body) {
if(!callback) {
return;
}
if(err || response.statusCode != 200) {
return callback(err.message || "HTTP error " + response.statusCode);
}

View File

@@ -1,6 +1,6 @@
{
"name": "steamcommunity",
"version": "1.0.4",
"version": "1.0.5",
"description": "Provides an interface for logging into and interacting with the Steam Community website",
"keywords": ["steam", "steam community"],
"homepage": "https://github.com/DoctorMcKay/node-steamcommunity",