hive-bedrock-api 3.0.0-alpha.21 → 3.0.0-alpha.22

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.
@@ -122,7 +122,7 @@ export interface ProcessedGameMURDER {
122
122
  win_percentage: number;
123
123
  murders: number;
124
124
  deaths: number;
125
- kdr: number;
125
+ edr: number;
126
126
  coins: number;
127
127
  murderer_eliminations: number;
128
128
  prestige: number;
@@ -209,7 +209,7 @@ exports.processors = (_a = {},
209
209
  win_percentage: calculateWinPercentage(response.victories, response.played),
210
210
  murders: (_d = response.murders) !== null && _d !== void 0 ? _d : 0,
211
211
  deaths: (_e = response.deaths) !== null && _e !== void 0 ? _e : 0,
212
- kdr: calculateKDR(response.murders, response.deaths),
212
+ edr: calculateKDR(response.murderer_eliminations, response.deaths),
213
213
  coins: (_f = response.coins) !== null && _f !== void 0 ? _f : 0,
214
214
  murderer_eliminations: (_g = response.murderer_eliminations) !== null && _g !== void 0 ? _g : 0,
215
215
  prestige: (_h = response.prestige) !== null && _h !== void 0 ? _h : 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hive-bedrock-api",
3
- "version": "3.0.0-alpha.21",
3
+ "version": "3.0.0-alpha.22",
4
4
  "description": "An API wrapper for the Hive Minecraft Bedrock Edition server.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",