osrs-json-hiscores 2.11.0 → 2.12.0

Sign up to get free protection for your applications and to get access to all the features.
package/lib/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare type Gamemode = 'main' | 'ironman' | 'ultimate' | 'hardcore' | 'deadman' | 'seasonal' | 'tournament';
1
+ export declare type Gamemode = 'main' | 'ironman' | 'ultimate' | 'hardcore' | 'deadman' | 'seasonal' | 'tournament' | 'skiller' | 'oneDefence' | 'freshStart';
2
2
  export interface Skill {
3
3
  rank: number;
4
4
  level: number;
@@ -16,7 +16,10 @@ exports.GAMEMODE_URL = {
16
16
  ultimate: exports.BASE_URL + "_ultimate/",
17
17
  deadman: exports.BASE_URL + "_deadman/",
18
18
  seasonal: exports.BASE_URL + "_seasonal/",
19
- tournament: exports.BASE_URL + "_tournament/"
19
+ tournament: exports.BASE_URL + "_tournament/",
20
+ skiller: exports.BASE_URL + "_skiller/",
21
+ oneDefence: exports.BASE_URL + "_skiller_defence/",
22
+ freshStart: exports.BASE_URL + "_fresh_start/"
20
23
  };
21
24
  exports.SKILLS = [
22
25
  'overall',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osrs-json-hiscores",
3
- "version": "2.11.0",
3
+ "version": "2.12.0",
4
4
  "description": "The Old School Runescape API wrapper that does more!",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",