osrs-json-hiscores 2.10.2 → 2.12.0

Sign up to get free protection for your applications and to get access to all the features.
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  [![npm](https://img.shields.io/npm/v/osrs-json-hiscores.svg?style=flat-square)](https://www.npmjs.com/package/osrs-json-hiscores)
4
4
  [![downloads](https://img.shields.io/npm/dm/osrs-json-hiscores.svg?style=flat-square)](https://npm-stat.com/charts.html?package=osrs-json-hiscores)
5
5
  [![types](https://img.shields.io/npm/types/osrs-json-hiscores.svg?style=flat-square)](https://github.com/maxswa/osrs-json-hiscores/blob/master/src/types.ts)
6
- [![build](https://img.shields.io/github/workflow/status/maxswa/osrs-json-hiscores/CI?style=flat-square)](https://github.com/maxswa/osrs-json-hiscores/actions/workflows/main.yml?query=branch%3Amain)
6
+ [![build](https://img.shields.io/github/actions/workflow/status/maxswa/osrs-json-hiscores/main.yml?style=flat-square&branch=main)](https://github.com/maxswa/osrs-json-hiscores/actions/workflows/main.yml?query=branch%3Amain)
7
7
 
8
8
  **The Old School Runescape API wrapper that does more!**
9
9
 
@@ -154,6 +154,7 @@ Activities consist of all levels of clue scrolls as well as minigames and bosses
154
154
  | The Nightmare of Ashihama | `nightmare` |
155
155
  | Phosani's Nightmare | `phosanisNightmare` |
156
156
  | Obor | `obor` |
157
+ | Phantom Muspah | `phantomMuspah` |
157
158
  | Sarachnis | `sarachnis` |
158
159
  | Scorpia | `scorpia` |
159
160
  | Skotizo | `skotizo` |
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;
@@ -20,7 +20,7 @@ export declare type BHType = 'rogue' | 'hunter';
20
20
  export declare type BH = {
21
21
  [Type in BHType]: Activity;
22
22
  };
23
- export declare type Boss = 'abyssalSire' | 'alchemicalHydra' | 'barrows' | 'bryophyta' | 'callisto' | 'cerberus' | 'chambersOfXeric' | 'chambersOfXericChallengeMode' | 'chaosElemental' | 'chaosFanatic' | 'commanderZilyana' | 'corporealBeast' | 'crazyArchaeologist' | 'dagannothPrime' | 'dagannothRex' | 'dagannothSupreme' | 'derangedArchaeologist' | 'generalGraardor' | 'giantMole' | 'grotesqueGuardians' | 'hespori' | 'kalphiteQueen' | 'kingBlackDragon' | 'kraken' | 'kreeArra' | 'krilTsutsaroth' | 'mimic' | 'nex' | 'nightmare' | 'phosanisNightmare' | 'obor' | 'sarachnis' | 'scorpia' | 'skotizo' | 'tempoross' | 'gauntlet' | 'corruptedGauntlet' | 'theatreOfBlood' | 'theatreOfBloodHardMode' | 'thermonuclearSmokeDevil' | 'tombsOfAmascut' | 'tombsOfAmascutExpertMode' | 'tzKalZuk' | 'tzTokJad' | 'venenatis' | 'vetion' | 'vorkath' | 'wintertodt' | 'zalcano' | 'zulrah';
23
+ export declare type Boss = 'abyssalSire' | 'alchemicalHydra' | 'barrows' | 'bryophyta' | 'callisto' | 'cerberus' | 'chambersOfXeric' | 'chambersOfXericChallengeMode' | 'chaosElemental' | 'chaosFanatic' | 'commanderZilyana' | 'corporealBeast' | 'crazyArchaeologist' | 'dagannothPrime' | 'dagannothRex' | 'dagannothSupreme' | 'derangedArchaeologist' | 'generalGraardor' | 'giantMole' | 'grotesqueGuardians' | 'hespori' | 'kalphiteQueen' | 'kingBlackDragon' | 'kraken' | 'kreeArra' | 'krilTsutsaroth' | 'mimic' | 'nex' | 'nightmare' | 'phosanisNightmare' | 'obor' | 'phantomMuspah' | 'sarachnis' | 'scorpia' | 'skotizo' | 'tempoross' | 'gauntlet' | 'corruptedGauntlet' | 'theatreOfBlood' | 'theatreOfBloodHardMode' | 'thermonuclearSmokeDevil' | 'tombsOfAmascut' | 'tombsOfAmascutExpertMode' | 'tzKalZuk' | 'tzTokJad' | 'venenatis' | 'vetion' | 'vorkath' | 'wintertodt' | 'zalcano' | 'zulrah';
24
24
  export declare type Bosses = {
25
25
  [Type in Boss]: Activity;
26
26
  };
@@ -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',
@@ -95,6 +98,7 @@ exports.BOSSES = [
95
98
  'nightmare',
96
99
  'phosanisNightmare',
97
100
  'obor',
101
+ 'phantomMuspah',
98
102
  'sarachnis',
99
103
  'scorpia',
100
104
  'skotizo',
@@ -163,6 +167,7 @@ exports.FORMATTED_BOSS_NAMES = {
163
167
  nightmare: 'The Nightmare of Ashihama',
164
168
  phosanisNightmare: "Phosani's Nightmare",
165
169
  obor: 'Obor',
170
+ phantomMuspah: 'Phantom Muspah',
166
171
  sarachnis: 'Sarachnis',
167
172
  scorpia: 'Scorpia',
168
173
  skotizo: 'Skotizo',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osrs-json-hiscores",
3
- "version": "2.10.2",
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",