Comparing version 2.0.3 to 2.0.4
@@ -6,3 +6,3 @@ { | ||
"main": "index.js", | ||
"version": "2.0.3", | ||
"version": "2.0.4", | ||
"license": "MIT", | ||
@@ -9,0 +9,0 @@ "eslintConfig": { |
@@ -128,3 +128,3 @@ const PlayerAchievements = require('./structures/PlayerAchievements'); | ||
* Get details for app id. | ||
* <warn>Requests for this endpoint are limited to 200 every 5 minutes</warn> | ||
* <warn>Requests for this endpoint are limited to 200 every 5 minutes</warn> | ||
* @param {string} app App ID | ||
@@ -194,3 +194,3 @@ * @param {boolean} [force=false] Overwrite cache | ||
* @returns {Promise<Server[]>} Server info | ||
*/ | ||
*/ | ||
getServers(host) { | ||
@@ -363,2 +363,2 @@ if (!host) return Promise.reject(new TypeError('No host provided')); | ||
module.exports = SteamAPI; | ||
module.exports = SteamAPI; |
@@ -19,2 +19,2 @@ class Achievement { | ||
module.exports = Achievement; | ||
module.exports = Achievement; |
@@ -14,2 +14,2 @@ const cdn = 'https://steamcdn-a.akamaihd.net/steamcommunity/public/images/apps'; | ||
module.exports = Game; | ||
module.exports = Game; |
@@ -43,2 +43,2 @@ const Player = require('./Player'); | ||
module.exports = PlayerSummary; | ||
module.exports = PlayerSummary; |
@@ -25,3 +25,3 @@ const { createDeflate, createGunzip } = require('zlib'); | ||
op.on('data', chunk => data += chunk); | ||
op.once('errror', reject); | ||
op.once('error', reject); | ||
op.once('end', () => { | ||
@@ -28,0 +28,0 @@ if (res.statusCode === 500) return reject(new Error('Internal server error')); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24956
602