hive-bedrock-api 3.0.0-alpha.32 → 3.0.0-alpha.33

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.
@@ -12,6 +12,7 @@ export interface ProcessedGameBED {
12
12
  kdr: number;
13
13
  final_kills: number;
14
14
  beds_destroyed: number;
15
+ prestige: number;
15
16
  }
16
17
  export interface ProcessedGameDROP {
17
18
  id: Game.BlockDrop;
@@ -46,7 +46,7 @@ function processGame(game, timeframe, isLeaderboard, response) {
46
46
  }
47
47
  var processors = (_a = {},
48
48
  _a[hive_bedrock_data_1.Game.BedWars] = function (response) {
49
- var _a, _b, _c, _d, _e, _f, _g;
49
+ var _a, _b, _c, _d, _e, _f, _g, _h;
50
50
  return ({
51
51
  id: hive_bedrock_data_1.Game.BedWars,
52
52
  xp: (_a = response.xp) !== null && _a !== void 0 ? _a : 0,
@@ -59,6 +59,7 @@ var processors = (_a = {},
59
59
  kdr: calculateKDR(response.kills, response.deaths),
60
60
  final_kills: (_f = response.final_kills) !== null && _f !== void 0 ? _f : 0,
61
61
  beds_destroyed: (_g = response.beds_destroyed) !== null && _g !== void 0 ? _g : 0,
62
+ prestige: (_h = response.prestige) !== null && _h !== void 0 ? _h : 0,
62
63
  });
63
64
  },
64
65
  _a[hive_bedrock_data_1.Game.BlockDrop] = function (response) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hive-bedrock-api",
3
- "version": "3.0.0-alpha.32",
3
+ "version": "3.0.0-alpha.33",
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",
@@ -11,7 +11,7 @@
11
11
  "license": "MIT",
12
12
  "author": "Cubeedge Studios",
13
13
  "dependencies": {
14
- "hive-bedrock-data": "^2.0.0-alpha.17"
14
+ "hive-bedrock-data": "^2.0.0-alpha.18"
15
15
  },
16
16
  "scripts": {
17
17
  "build": "tsc"