r6-data.js 2.2.0 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # r6-data.js — R6 Rainbow Six Siege API Wrapper
2
2
 
3
- **Rainbow Six Siege (R6) API wrapper** - Get player stats, operators, maps, ranks, seasons, charms and more. Full TypeScript support included. Last updated Y10S4
3
+ **Rainbow Six Siege (R6) API wrapper** - Get player stats, operators, maps, ranks, seasons, charms and more. Full TypeScript support included. Last updated Y11S1
4
4
 
5
5
  <div align="center">
6
6
  <p>
@@ -213,7 +213,7 @@ function getRankName(rankNumber) {
213
213
  36: 'Champion'
214
214
  };
215
215
 
216
- return ranks[rankNumber] || 'Unknown Rank';
216
+ return ranks[rankNumber] || 'Unknown Rank' || 'Rank not mapped';
217
217
  }
218
218
 
219
219
  module.exports = createDiscordR6Webhook;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "r6-data.js",
3
- "version": "2.2.0",
4
- "description": "R6 (Rainbow Six Siege) API wrapper for player stats, operators, maps, ranks, seasons, charms, skins and game datas. Last Updated Y10S4",
3
+ "version": "2.2.2",
4
+ "description": "R6 (Rainbow Six Siege) API wrapper for player stats, operators, maps, ranks, seasons, charms, skins and game datas. Last Updated Y11S1",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
7
7
  "exports": {