hive-bedrock-api 3.0.0-alpha.5 → 3.0.0-alpha.7

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +4 -0
  2. package/package.json +2 -2
package/lib/index.d.ts CHANGED
@@ -65,6 +65,10 @@ export default class HiveAPI {
65
65
  */
66
66
  getLeaderboard<G extends Game>(timeframe: Timeframe.AllTime, game: G): Promise<MethodResponse<ProcessedGame<Timeframe.AllTime, true>[G][] | null>>;
67
67
  getLeaderboard<G extends Game>(timeframe: Timeframe.Monthly, game: G): Promise<MethodResponse<ProcessedGame<Timeframe.Monthly, true>[G][] | null>>;
68
+ getLeaderboard<G extends Game>(timeframe: Timeframe.Monthly, game: G, options: {
69
+ month?: number;
70
+ year?: number;
71
+ }): Promise<MethodResponse<ProcessedGame<Timeframe.Monthly, true>[G][] | null>>;
68
72
  private _getLeaderboardAllTime;
69
73
  private _getLeaderboardMonthly;
70
74
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hive-bedrock-api",
3
- "version": "3.0.0-alpha.5",
3
+ "version": "3.0.0-alpha.7",
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.3"
14
+ "hive-bedrock-data": "^2.0.0-alpha.5"
15
15
  },
16
16
  "scripts": {
17
17
  "build": "tsc"