hive-bedrock-api 1.0.3 → 1.0.4

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.
@@ -2,7 +2,7 @@ import { Options } from "../types/API";
2
2
  import { BASE_GAME_ALL, GAME_STATS, GAME_STATS_ALL, REQUEST_ALL, USER_MAIN } from "../types/GAMES";
3
3
  import { GAME } from "../types/GAME_INFO";
4
4
  import { MethodResponse } from "../types/METHODS";
5
- export default function getAllTimeStats(playerIdentifier: string, options?: Options): Promise<MethodResponse<Omit<REQUEST_ALL, "main">> & {
5
+ export default function getAllTimeStats(playerIdentifier: string): Promise<MethodResponse<Omit<REQUEST_ALL, "main">> & {
6
6
  player: USER_MAIN;
7
7
  }>;
8
8
  export default function getAllTimeStats<G extends GAME>(playerIdentifier: string, game: G, options?: Options): Promise<MethodResponse<GAME_STATS<BASE_GAME_ALL>[G]>>;
@@ -128,6 +128,9 @@ export interface API_USER_MAIN {
128
128
  equipped_avatar: AVATAR | null;
129
129
  quest_count: number;
130
130
  paid_ranks: RANK[];
131
+ pets: string[];
132
+ mounts: string[];
133
+ hats: string[];
131
134
  }
132
135
  export interface API_GAME_HIDE {
133
136
  deaths: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hive-bedrock-api",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
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",