@wise-old-man/utils 2.0.10 → 2.0.11
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/dist/index.d.ts +6 -0
- package/dist/index.js +5 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -84,6 +84,7 @@ export type Prisma_Base_Delta = {
|
|
|
84
84
|
nightmare: number
|
|
85
85
|
phosanis_nightmare: number
|
|
86
86
|
obor: number
|
|
87
|
+
phantom_muspah: number
|
|
87
88
|
sarachnis: number
|
|
88
89
|
scorpia: number
|
|
89
90
|
skotizo: number
|
|
@@ -333,6 +334,8 @@ export type Prisma_Base_Snapshot = {
|
|
|
333
334
|
nightmareKills: number
|
|
334
335
|
oborRank: number
|
|
335
336
|
oborKills: number
|
|
337
|
+
phantom_muspahRank: number
|
|
338
|
+
phantom_muspahKills: number
|
|
336
339
|
sarachnisRank: number
|
|
337
340
|
sarachnisKills: number
|
|
338
341
|
scorpiaRank: number
|
|
@@ -507,6 +510,7 @@ declare const Boss: {
|
|
|
507
510
|
readonly NIGHTMARE: "nightmare";
|
|
508
511
|
readonly PHOSANIS_NIGHTMARE: "phosanis_nightmare";
|
|
509
512
|
readonly OBOR: "obor";
|
|
513
|
+
readonly PHANTOM_MUSPAH: "phantom_muspah";
|
|
510
514
|
readonly SARACHNIS: "sarachnis";
|
|
511
515
|
readonly SCORPIA: "scorpia";
|
|
512
516
|
readonly SKOTIZO: "skotizo";
|
|
@@ -567,6 +571,7 @@ declare const Metric: {
|
|
|
567
571
|
readonly NIGHTMARE: "nightmare";
|
|
568
572
|
readonly PHOSANIS_NIGHTMARE: "phosanis_nightmare";
|
|
569
573
|
readonly OBOR: "obor";
|
|
574
|
+
readonly PHANTOM_MUSPAH: "phantom_muspah";
|
|
570
575
|
readonly SARACHNIS: "sarachnis";
|
|
571
576
|
readonly SCORPIA: "scorpia";
|
|
572
577
|
readonly SKOTIZO: "skotizo";
|
|
@@ -1617,6 +1622,7 @@ declare const MetricProps: {
|
|
|
1617
1622
|
readonly nightmare: BossProperties;
|
|
1618
1623
|
readonly phosanis_nightmare: BossProperties;
|
|
1619
1624
|
readonly obor: BossProperties;
|
|
1625
|
+
readonly phantom_muspah: BossProperties;
|
|
1620
1626
|
readonly sarachnis: BossProperties;
|
|
1621
1627
|
readonly scorpia: BossProperties;
|
|
1622
1628
|
readonly skotizo: BossProperties;
|
package/dist/index.js
CHANGED
|
@@ -535,6 +535,7 @@ const Boss = {
|
|
|
535
535
|
NIGHTMARE: 'nightmare',
|
|
536
536
|
PHOSANIS_NIGHTMARE: 'phosanis_nightmare',
|
|
537
537
|
OBOR: 'obor',
|
|
538
|
+
PHANTOM_MUSPAH: 'phantom_muspah',
|
|
538
539
|
SARACHNIS: 'sarachnis',
|
|
539
540
|
SCORPIA: 'scorpia',
|
|
540
541
|
SKOTIZO: 'skotizo',
|
|
@@ -1834,6 +1835,7 @@ const BossProps = lodash.mapValues({
|
|
|
1834
1835
|
[Boss.NIGHTMARE]: { name: 'Nightmare' },
|
|
1835
1836
|
[Boss.PHOSANIS_NIGHTMARE]: { name: "Phosani's Nightmare" },
|
|
1836
1837
|
[Boss.OBOR]: { name: 'Obor', minimumValue: 5, isMembers: false },
|
|
1838
|
+
[Boss.PHANTOM_MUSPAH]: { name: 'Phantom Muspah', minimumValue: 50 },
|
|
1837
1839
|
[Boss.SARACHNIS]: { name: 'Sarachnis' },
|
|
1838
1840
|
[Boss.SKOTIZO]: { name: 'Skotizo', minimumValue: 5 },
|
|
1839
1841
|
[Boss.SCORPIA]: { name: 'Scorpia' },
|
|
@@ -2002,6 +2004,9 @@ function parseMetricAbbreviation(abbreviation) {
|
|
|
2002
2004
|
case 'guardians':
|
|
2003
2005
|
case 'ggs':
|
|
2004
2006
|
return Metric.GROTESQUE_GUARDIANS;
|
|
2007
|
+
case 'phantom':
|
|
2008
|
+
case 'muspah':
|
|
2009
|
+
return Metric.PHANTOM_MUSPAH;
|
|
2005
2010
|
case 'kq':
|
|
2006
2011
|
return Metric.KALPHITE_QUEEN;
|
|
2007
2012
|
case 'kbd':
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise-old-man/utils",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.11",
|
|
4
4
|
"description": "A JavaScript/TypeScript client that interfaces and consumes the Wise Old Man API, an API that tracks and measures players' progress in Old School Runescape.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wiseoldman",
|