Compare commits

...

8 Commits

Author SHA1 Message Date
maxswa
175f945ab8 v2.4.0 2021-03-24 22:49:58 -04:00
maxswa
6b31e8b08c Add Tempoross to boss list. 2021-03-24 22:46:37 -04:00
maxswa
d097567a3c v2.3.2 2021-02-13 11:22:26 -05:00
maxswa
be5c093cf7 Downgrade np. 2021-02-13 11:13:52 -05:00
maxswa
db72f0c57d Bump np. 2021-02-13 11:08:57 -05:00
Max Swartwout
bd2ea21980 Merge pull request #26 from maxswa/bh-order-fix
Fixes #25 Flipped BH modes.
2021-02-13 11:07:27 -05:00
maxswa
d67837c161 Fix flipped BH modes. 2021-02-13 10:50:58 -05:00
Max Swartwout
4aa6ad2752 Add github action. 2021-02-13 10:48:31 -05:00
7 changed files with 459 additions and 465 deletions

18
.github/workflows/main.yml vendored Normal file
View File

@@ -0,0 +1,18 @@
name: CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: borales/actions-yarn@v2.0.0
with:
cmd: install
- uses: borales/actions-yarn@v2.0.0
with:
cmd: build
- uses: borales/actions-yarn@v2.0.0
with:
cmd: test

View File

@@ -152,6 +152,7 @@ Activities consist of all levels of clue scrolls as well as minigames and bosses
| Sarachnis | `sarachnis` |
| Scorpia | `scorpia` |
| Skotizo | `skotizo` |
| Tempoross | `tempoross` |
| Gauntlet | `gauntlet` |
| Corrupted Gauntlet | `corruptedGauntlet` |
| Theatre Of Blood | `theatreOfBlood` |

View File

@@ -32,9 +32,9 @@ test('Parse CSV to json', () => {
169,99,43127930
810,99,37688883
92,99,32005622
-1,-1
-1,-1
-1,-1
23423,478
99831,23
89912,37
32,12148
3105,76
1997,505
@@ -76,6 +76,7 @@ test('Parse CSV to json', () => {
201,1101
82,3404
5085,61
18823,23
63,375
2870,6
6984,138
@@ -116,10 +117,10 @@ test('Parse CSV to json', () => {
hunter: { rank: 810, level: 99, xp: 37688883 },
construction: { rank: 92, level: 99, xp: 32005622 },
},
leaguePoints: { rank: -1, score: -1 },
leaguePoints: { rank: 23423, score: 478 },
bountyHunter: {
rogue: { rank: -1, score: -1 },
hunter: { rank: -1, score: -1 },
hunter: { rank: 99831, score: 23 },
rogue: { rank: 89912, score: 37 },
},
lastManStanding: { rank: 4814, score: 898 },
soulWarsZeal: { rank: 37, score: 225 },
@@ -165,6 +166,7 @@ test('Parse CSV to json', () => {
sarachnis: { rank: 201, score: 1101 },
scorpia: { rank: 82, score: 3404 },
skotizo: { rank: 5085, score: 61 },
tempoross: { rank: 18823, score: 23 },
gauntlet: { rank: 63, score: 375 },
corruptedGauntlet: { rank: 2870, score: 6 },
theatreOfBlood: { rank: 6984, score: 138 },

View File

@@ -1,6 +1,6 @@
{
"name": "osrs-json-hiscores",
"version": "2.3.1",
"version": "2.4.0",
"description": "The Oldschool Runescape API wrapper that does more!",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@@ -44,7 +44,7 @@
"@types/jest": "^26.0.20",
"@types/jsdom": "^16.2.3",
"jest": "^26.6.3",
"np": "^5.0.3",
"np": "6.5.0",
"prettier": "^1.19.1",
"ts-jest": "^26.4.4",
"tslint": "^5.17.0",

View File

@@ -94,6 +94,7 @@ export type Boss =
| 'sarachnis'
| 'scorpia'
| 'skotizo'
| 'tempoross'
| 'gauntlet'
| 'corruptedGauntlet'
| 'theatreOfBlood'

View File

@@ -59,7 +59,7 @@ export const CLUES: ClueType[] = [
'elite',
'master',
];
export const BH_MODES: BHType[] = ['rogue', 'hunter'];
export const BH_MODES: BHType[] = ['hunter', 'rogue'];
export const GAMEMODES: Gamemode[] = [
'main',
'ironman',
@@ -102,6 +102,7 @@ export const BOSSES: Boss[] = [
'sarachnis',
'scorpia',
'skotizo',
'tempoross',
'gauntlet',
'corruptedGauntlet',
'theatreOfBlood',
@@ -168,6 +169,7 @@ export const FORMATTED_BOSS_NAMES: FormattedBossNames = {
sarachnis: 'Sarachnis',
scorpia: 'Scorpia',
skotizo: 'Skotizo',
tempoross: 'Tempoross',
gauntlet: 'The Gauntlet',
corruptedGauntlet: 'The Corrupted Gauntlet',
theatreOfBlood: 'Theatre of Blood',

882
yarn.lock

File diff suppressed because it is too large Load Diff