Merge pull request #10 from maxswa/release/1.2.2

Release/1.2.2
This commit is contained in:
Max Swartwout
2020-04-01 00:27:54 -04:00
committed by GitHub
6 changed files with 639 additions and 389 deletions

View File

@@ -146,6 +146,7 @@ Activities consist of all levels of clue scrolls as well as minigames and bosses
| Kreearra | `kreeArra` |
| K'ril Tsutsaroth | `krilTsutsaroth` |
| Mimic | `mimic` |
| The Nightmare of Ashihama | `nightmare` |
| Obor | `obor` |
| Sarachnis | `sarachnis` |
| Scorpia | `scorpia` |

View File

@@ -70,6 +70,7 @@ test('Parse CSV to json', () => {
625,2391
120,2981
1,109
3,22666
26,323
201,1101
82,3404
@@ -157,6 +158,7 @@ test('Parse CSV to json', () => {
kreeArra: { rank: 625, score: 2391 },
krilTsutsaroth: { rank: 120, score: 2981 },
mimic: { rank: 1, score: 109 },
nightmare: { rank: 3, score: 22666 },
obor: { rank: 26, score: 323 },
sarachnis: { rank: 201, score: 1101 },
scorpia: { rank: 82, score: 3404 },

View File

@@ -3,5 +3,6 @@
"^.+\\.(t|j)sx?$": "ts-jest"
},
"testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"]
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json", "node"],
"testEnvironment": "node"
}

View File

@@ -89,6 +89,7 @@ export type Boss =
| 'kreeArra'
| 'krilTsutsaroth'
| 'mimic'
| 'nightmare'
| 'obor'
| 'sarachnis'
| 'scorpia'

View File

@@ -7,7 +7,7 @@ import {
ActivityName,
} from '../types';
export const BASE_URL = 'http://services.runescape.com/m=hiscore_oldschool';
export const BASE_URL = 'https://secure.runescape.com/m=hiscore_oldschool';
export const STATS_URL = 'index_lite.ws?player=';
export const SCORES_URL = 'overall.ws?';
@@ -97,6 +97,7 @@ export const BOSSES: Boss[] = [
'kreeArra',
'krilTsutsaroth',
'mimic',
'nightmare',
'obor',
'sarachnis',
'scorpia',
@@ -161,6 +162,7 @@ export const FORMATTED_BOSS_NAMES: FormattedBossNames = {
kreeArra: "Kree'Arra",
krilTsutsaroth: "K'ril Tsutsaroth",
mimic: 'Mimic',
nightmare: 'The Nightmare of Ashihama',
obor: 'Obor',
sarachnis: 'Sarachnis',
scorpia: 'Scorpia',

1017
yarn.lock

File diff suppressed because it is too large Load Diff