Skip to content
This repository has been archived by the owner on Nov 1, 2024. It is now read-only.

Commit

Permalink
fix issues regarding hive-bedrock-data
Browse files Browse the repository at this point in the history
  • Loading branch information
UCDFiddes committed Jun 16, 2024
1 parent 0076327 commit 3f73130
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hive-bedrock-api",
"version": "2.0.4",
"version": "2.0.5",
"description": "An API wrapper for the Hive Minecraft Bedrock Edition server.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -11,7 +11,7 @@
"license": "MIT",
"author": "Cubeedge Studios",
"dependencies": {
"hive-bedrock-data": "^1.1.16"
"hive-bedrock-data": "^1.1.17"
},
"scripts": {
"build": "tsc"
Expand Down
4 changes: 2 additions & 2 deletions src/types/output.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export interface AllStatistics<T extends Timeframe> {
[Game.TheBridge]: BaseStatistics<Game.TheBridge, T> & PvPAdditions;
[Game.TreasureWars]: BaseStatistics<Game.TreasureWars, T> & PvPAdditions;
[Game.BedWars]: BaseStatistics<Game.BedWars, T> & PvPAdditions;
[Game.ParkourWorlds]: BaseStatistics<Game.ParkourWorlds, T>;
[Game.ParkourWorlds]: Statistics<Game.ParkourWorlds, T> & { id: Game };
}

interface CommonLeaderboard {
Expand Down Expand Up @@ -72,7 +72,7 @@ export interface AllLeaderboards<T extends Timeframe> {
[Game.TheBridge]: BaseLeaderboard<Game.TheBridge, T>[];
[Game.TreasureWars]: BaseLeaderboard<Game.TreasureWars, T>[];
[Game.BedWars]: BaseLeaderboard<Game.BedWars, T>[];
[Game.ParkourWorlds]: unknown;
[Game.ParkourWorlds]: never;
}

export type AllGameStatistics<T extends Timeframe> = {
Expand Down

0 comments on commit 3f73130

Please sign in to comment.