node-dota-api
Advanced tools
Comparing version 0.2.2 to 0.2.3
/** | ||
* node-dota-api | ||
* A node-based API to get Dota stats for players, heroes, matches, and more! | ||
* @version 0.2.1 | ||
* @version 0.2.3 | ||
* @author Alex Muench | ||
@@ -69,3 +69,3 @@ */ | ||
//If invalid values are passed in, the username will equal the invalid value, or NaN | ||
if (playerInfoJson.name == playerID || playerInfoJson.name = NaN) { | ||
if (playerInfoJson.name == playerID || playerInfoJson.name == 'NaN') { | ||
@@ -72,0 +72,0 @@ playerInfoJson.status = "Invalid User"; |
{ | ||
"name": "node-dota-api", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "A node-based API to get Dota stats for players, heroes, matches, and more!", | ||
@@ -5,0 +5,0 @@ "main": "./dotaPlayerApi.js", |
@@ -5,2 +5,5 @@ # node-dota-api | ||
## What's New? ## | ||
v0.2.3 | ||
-Quick hotfix for a 0.2.2 issue | ||
v 0.2.2 | ||
@@ -7,0 +10,0 @@ -Added check for invalid user |
12256
106