osrs-json-hiscores 2.10.2 → 2.12.0
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.
- package/README.md +2 -1
- package/lib/types.d.ts +2 -2
- package/lib/utils/constants.js +6 -1
- package/package.json +1 -1
package/README.md
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
[](https://www.npmjs.com/package/osrs-json-hiscores)
|
4
4
|
[](https://npm-stat.com/charts.html?package=osrs-json-hiscores)
|
5
5
|
[](https://github.com/maxswa/osrs-json-hiscores/blob/master/src/types.ts)
|
6
|
-
[](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
|
};
|
package/lib/utils/constants.js
CHANGED
@@ -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',
|