Compare commits

...

2 Commits
v1.0.7 ... v1.x

Author SHA1 Message Date
Alexander Corn
399cc5ee84 1.0.8 2015-05-29 01:03:22 -04:00
Alexander Corn
a24bb9d4ad Fixed API key registration not working 2015-05-29 01:03:07 -04:00
2 changed files with 4 additions and 2 deletions

View File

@@ -141,7 +141,9 @@ SteamCommunity.prototype.getWebApiKey = function(domain, callback) {
self._request.post('https://steamcommunity.com/dev/registerkey', {
"form": {
"domain": domain,
"agreeToTerms": 1
"agreeToTerms": "agreed",
"sessionid": self.getSessionID(),
"Submit": "Register"
}
}, function(err, response, body) {
if(err || response.statusCode >= 400) {

View File

@@ -1,6 +1,6 @@
{
"name": "steamcommunity",
"version": "1.0.7",
"version": "1.0.8",
"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",