@wise-old-man/utils 3.3.6 → 3.3.8
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/cjs/index.cjs +13 -2
- package/dist/es/index.js +13 -3
- package/dist/es/index.mjs +13 -3
- package/dist/index.d.ts +15 -2
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -552,7 +552,8 @@ const Activity = {
|
|
|
552
552
|
PVP_ARENA: 'pvp_arena',
|
|
553
553
|
SOUL_WARS_ZEAL: 'soul_wars_zeal',
|
|
554
554
|
GUARDIANS_OF_THE_RIFT: 'guardians_of_the_rift',
|
|
555
|
-
COLOSSEUM_GLORY: 'colosseum_glory'
|
|
555
|
+
COLOSSEUM_GLORY: 'colosseum_glory',
|
|
556
|
+
COLLECTIONS_LOGGED: 'collections_logged'
|
|
556
557
|
};
|
|
557
558
|
const Boss = {
|
|
558
559
|
ABYSSAL_SIRE: 'abyssal_sire',
|
|
@@ -604,6 +605,7 @@ const Boss = {
|
|
|
604
605
|
THE_CORRUPTED_GAUNTLET: 'the_corrupted_gauntlet',
|
|
605
606
|
THE_HUEYCOATL: 'the_hueycoatl',
|
|
606
607
|
THE_LEVIATHAN: 'the_leviathan',
|
|
608
|
+
THE_ROYAL_TITANS: 'the_royal_titans',
|
|
607
609
|
THE_WHISPERER: 'the_whisperer',
|
|
608
610
|
THEATRE_OF_BLOOD: 'theatre_of_blood',
|
|
609
611
|
THEATRE_OF_BLOOD_HARD_MODE: 'theatre_of_blood_hard_mode',
|
|
@@ -644,6 +646,11 @@ const PlayerType = {
|
|
|
644
646
|
HARDCORE: 'hardcore',
|
|
645
647
|
ULTIMATE: 'ultimate'
|
|
646
648
|
};
|
|
649
|
+
const PlayerAnnotationType = {
|
|
650
|
+
BLACKLIST: 'blacklist',
|
|
651
|
+
GREYLIST: 'greylist',
|
|
652
|
+
FAKE_F2P: 'fake_f2p'
|
|
653
|
+
};
|
|
647
654
|
const PlayerBuild = {
|
|
648
655
|
MAIN: 'main',
|
|
649
656
|
F2P: 'f2p',
|
|
@@ -1950,6 +1957,7 @@ const BossProps = mapValues({
|
|
|
1950
1957
|
[Boss.THE_GAUNTLET]: { name: 'The Gauntlet' },
|
|
1951
1958
|
[Boss.THE_CORRUPTED_GAUNTLET]: { name: 'The Corrupted Gauntlet' },
|
|
1952
1959
|
[Boss.THE_LEVIATHAN]: { name: 'The Leviathan' },
|
|
1960
|
+
[Boss.THE_ROYAL_TITANS]: { name: 'The Royal Titans' },
|
|
1953
1961
|
[Boss.THE_WHISPERER]: { name: 'The Whisperer' },
|
|
1954
1962
|
[Boss.THEATRE_OF_BLOOD]: { name: 'Theatre Of Blood' },
|
|
1955
1963
|
[Boss.THEATRE_OF_BLOOD_HARD_MODE]: { name: 'Theatre Of Blood (HM)' },
|
|
@@ -1981,7 +1989,8 @@ const ActivityProps = mapValues({
|
|
|
1981
1989
|
[Activity.PVP_ARENA]: { name: 'PvP Arena', minimumValue: 2525 },
|
|
1982
1990
|
[Activity.SOUL_WARS_ZEAL]: { name: 'Soul Wars Zeal', minimumValue: 200 },
|
|
1983
1991
|
[Activity.GUARDIANS_OF_THE_RIFT]: { name: 'Guardians of the Rift', minimumValue: 2 },
|
|
1984
|
-
[Activity.COLOSSEUM_GLORY]: { name: 'Colosseum Glory', minimumValue: 300 }
|
|
1992
|
+
[Activity.COLOSSEUM_GLORY]: { name: 'Colosseum Glory', minimumValue: 300 },
|
|
1993
|
+
[Activity.COLLECTIONS_LOGGED]: { name: 'Collection Logs', minimumValue: 500 }
|
|
1985
1994
|
}, props => (Object.assign(Object.assign({}, props), { type: exports.MetricType.ACTIVITY, measure: exports.MetricMeasure.SCORE, minimumValue: 'minimumValue' in props ? props.minimumValue : 1 })));
|
|
1986
1995
|
const ComputedMetricProps = mapValues({
|
|
1987
1996
|
[ComputedMetric.EHP]: { name: 'EHP' },
|
|
@@ -2202,6 +2211,7 @@ exports.EfficiencyAlgorithmType = void 0;
|
|
|
2202
2211
|
EfficiencyAlgorithmType["F2P_LVL3"] = "f2p_lvl3";
|
|
2203
2212
|
EfficiencyAlgorithmType["F2P_IRONMAN"] = "f2p_ironman";
|
|
2204
2213
|
EfficiencyAlgorithmType["F2P_LVL3_IRONMAN"] = "f2p_lvl3_ironman";
|
|
2214
|
+
EfficiencyAlgorithmType["DEF1"] = "def1";
|
|
2205
2215
|
})(exports.EfficiencyAlgorithmType || (exports.EfficiencyAlgorithmType = {}));
|
|
2206
2216
|
|
|
2207
2217
|
class EfficiencyClient extends BaseAPIClient {
|
|
@@ -2411,6 +2421,7 @@ exports.PLAYER_TYPES = PLAYER_TYPES;
|
|
|
2411
2421
|
exports.PRIVELEGED_GROUP_ROLES = PRIVELEGED_GROUP_ROLES;
|
|
2412
2422
|
exports.Period = Period;
|
|
2413
2423
|
exports.PeriodProps = PeriodProps;
|
|
2424
|
+
exports.PlayerAnnotationType = PlayerAnnotationType;
|
|
2414
2425
|
exports.PlayerBuild = PlayerBuild;
|
|
2415
2426
|
exports.PlayerBuildProps = PlayerBuildProps;
|
|
2416
2427
|
exports.PlayerStatus = PlayerStatus;
|
package/dist/es/index.js
CHANGED
|
@@ -550,7 +550,8 @@ const Activity = {
|
|
|
550
550
|
PVP_ARENA: 'pvp_arena',
|
|
551
551
|
SOUL_WARS_ZEAL: 'soul_wars_zeal',
|
|
552
552
|
GUARDIANS_OF_THE_RIFT: 'guardians_of_the_rift',
|
|
553
|
-
COLOSSEUM_GLORY: 'colosseum_glory'
|
|
553
|
+
COLOSSEUM_GLORY: 'colosseum_glory',
|
|
554
|
+
COLLECTIONS_LOGGED: 'collections_logged'
|
|
554
555
|
};
|
|
555
556
|
const Boss = {
|
|
556
557
|
ABYSSAL_SIRE: 'abyssal_sire',
|
|
@@ -602,6 +603,7 @@ const Boss = {
|
|
|
602
603
|
THE_CORRUPTED_GAUNTLET: 'the_corrupted_gauntlet',
|
|
603
604
|
THE_HUEYCOATL: 'the_hueycoatl',
|
|
604
605
|
THE_LEVIATHAN: 'the_leviathan',
|
|
606
|
+
THE_ROYAL_TITANS: 'the_royal_titans',
|
|
605
607
|
THE_WHISPERER: 'the_whisperer',
|
|
606
608
|
THEATRE_OF_BLOOD: 'theatre_of_blood',
|
|
607
609
|
THEATRE_OF_BLOOD_HARD_MODE: 'theatre_of_blood_hard_mode',
|
|
@@ -642,6 +644,11 @@ const PlayerType = {
|
|
|
642
644
|
HARDCORE: 'hardcore',
|
|
643
645
|
ULTIMATE: 'ultimate'
|
|
644
646
|
};
|
|
647
|
+
const PlayerAnnotationType = {
|
|
648
|
+
BLACKLIST: 'blacklist',
|
|
649
|
+
GREYLIST: 'greylist',
|
|
650
|
+
FAKE_F2P: 'fake_f2p'
|
|
651
|
+
};
|
|
645
652
|
const PlayerBuild = {
|
|
646
653
|
MAIN: 'main',
|
|
647
654
|
F2P: 'f2p',
|
|
@@ -1948,6 +1955,7 @@ const BossProps = mapValues({
|
|
|
1948
1955
|
[Boss.THE_GAUNTLET]: { name: 'The Gauntlet' },
|
|
1949
1956
|
[Boss.THE_CORRUPTED_GAUNTLET]: { name: 'The Corrupted Gauntlet' },
|
|
1950
1957
|
[Boss.THE_LEVIATHAN]: { name: 'The Leviathan' },
|
|
1958
|
+
[Boss.THE_ROYAL_TITANS]: { name: 'The Royal Titans' },
|
|
1951
1959
|
[Boss.THE_WHISPERER]: { name: 'The Whisperer' },
|
|
1952
1960
|
[Boss.THEATRE_OF_BLOOD]: { name: 'Theatre Of Blood' },
|
|
1953
1961
|
[Boss.THEATRE_OF_BLOOD_HARD_MODE]: { name: 'Theatre Of Blood (HM)' },
|
|
@@ -1979,7 +1987,8 @@ const ActivityProps = mapValues({
|
|
|
1979
1987
|
[Activity.PVP_ARENA]: { name: 'PvP Arena', minimumValue: 2525 },
|
|
1980
1988
|
[Activity.SOUL_WARS_ZEAL]: { name: 'Soul Wars Zeal', minimumValue: 200 },
|
|
1981
1989
|
[Activity.GUARDIANS_OF_THE_RIFT]: { name: 'Guardians of the Rift', minimumValue: 2 },
|
|
1982
|
-
[Activity.COLOSSEUM_GLORY]: { name: 'Colosseum Glory', minimumValue: 300 }
|
|
1990
|
+
[Activity.COLOSSEUM_GLORY]: { name: 'Colosseum Glory', minimumValue: 300 },
|
|
1991
|
+
[Activity.COLLECTIONS_LOGGED]: { name: 'Collection Logs', minimumValue: 500 }
|
|
1983
1992
|
}, props => (Object.assign(Object.assign({}, props), { type: MetricType.ACTIVITY, measure: MetricMeasure.SCORE, minimumValue: 'minimumValue' in props ? props.minimumValue : 1 })));
|
|
1984
1993
|
const ComputedMetricProps = mapValues({
|
|
1985
1994
|
[ComputedMetric.EHP]: { name: 'EHP' },
|
|
@@ -2200,6 +2209,7 @@ var EfficiencyAlgorithmType;
|
|
|
2200
2209
|
EfficiencyAlgorithmType["F2P_LVL3"] = "f2p_lvl3";
|
|
2201
2210
|
EfficiencyAlgorithmType["F2P_IRONMAN"] = "f2p_ironman";
|
|
2202
2211
|
EfficiencyAlgorithmType["F2P_LVL3_IRONMAN"] = "f2p_lvl3_ironman";
|
|
2212
|
+
EfficiencyAlgorithmType["DEF1"] = "def1";
|
|
2203
2213
|
})(EfficiencyAlgorithmType || (EfficiencyAlgorithmType = {}));
|
|
2204
2214
|
|
|
2205
2215
|
class EfficiencyClient extends BaseAPIClient {
|
|
@@ -2373,4 +2383,4 @@ class WOMClient extends BaseAPIClient {
|
|
|
2373
2383
|
}
|
|
2374
2384
|
}
|
|
2375
2385
|
|
|
2376
|
-
export { ACTIVITIES, Activity, ActivityType, BOSSES, Boss, CAPPED_MAX_TOTAL_XP, COMBAT_SKILLS, COMPETITION_STATUSES, COMPETITION_TYPES, COMPUTED_METRICS, COUNTRY_CODES, CompetitionCSVTableType, CompetitionStatus, CompetitionStatusProps, CompetitionType, CompetitionTypeProps, ComputedMetric, Country, CountryProps, EfficiencyAlgorithmType, F2P_BOSSES, GROUP_ROLES, GroupRole, GroupRoleProps, MAX_LEVEL, MAX_SKILL_EXP, MAX_VIRTUAL_LEVEL, MEMBER_SKILLS, METRICS, Metric, MetricMeasure, MetricProps, MetricType, NameChangeStatus, PERIODS, PLAYER_BUILDS, PLAYER_STATUSES, PLAYER_TYPES, PRIVELEGED_GROUP_ROLES, Period, PeriodProps, PlayerBuild, PlayerBuildProps, PlayerStatus, PlayerStatusProps, PlayerType, PlayerTypeProps, REAL_METRICS, REAL_SKILLS, SKILLS, SKILL_EXP_AT_99, Skill, WOMClient, findCountry, findCountryByCode, findCountryByName, findGroupRole, findMetric, findPeriod, findPlayerBuild, findPlayerType, formatNumber, getCombatLevel, getExpForLevel, getLevel, getMetricMeasure, getMetricName, getMetricRankKey, getMetricValueKey, getMinimumValue, getParentEfficiencyMetric, isActivity, isBoss, isCompetitionStatus, isCompetitionType, isComputedMetric, isCountry, isGroupRole, isMetric, isPeriod, isPlayerBuild, isPlayerStatus, isPlayerType, isSkill, padNumber, parsePeriodExpression, round };
|
|
2386
|
+
export { ACTIVITIES, Activity, ActivityType, BOSSES, Boss, CAPPED_MAX_TOTAL_XP, COMBAT_SKILLS, COMPETITION_STATUSES, COMPETITION_TYPES, COMPUTED_METRICS, COUNTRY_CODES, CompetitionCSVTableType, CompetitionStatus, CompetitionStatusProps, CompetitionType, CompetitionTypeProps, ComputedMetric, Country, CountryProps, EfficiencyAlgorithmType, F2P_BOSSES, GROUP_ROLES, GroupRole, GroupRoleProps, MAX_LEVEL, MAX_SKILL_EXP, MAX_VIRTUAL_LEVEL, MEMBER_SKILLS, METRICS, Metric, MetricMeasure, MetricProps, MetricType, NameChangeStatus, PERIODS, PLAYER_BUILDS, PLAYER_STATUSES, PLAYER_TYPES, PRIVELEGED_GROUP_ROLES, Period, PeriodProps, PlayerAnnotationType, PlayerBuild, PlayerBuildProps, PlayerStatus, PlayerStatusProps, PlayerType, PlayerTypeProps, REAL_METRICS, REAL_SKILLS, SKILLS, SKILL_EXP_AT_99, Skill, WOMClient, findCountry, findCountryByCode, findCountryByName, findGroupRole, findMetric, findPeriod, findPlayerBuild, findPlayerType, formatNumber, getCombatLevel, getExpForLevel, getLevel, getMetricMeasure, getMetricName, getMetricRankKey, getMetricValueKey, getMinimumValue, getParentEfficiencyMetric, isActivity, isBoss, isCompetitionStatus, isCompetitionType, isComputedMetric, isCountry, isGroupRole, isMetric, isPeriod, isPlayerBuild, isPlayerStatus, isPlayerType, isSkill, padNumber, parsePeriodExpression, round };
|
package/dist/es/index.mjs
CHANGED
|
@@ -550,7 +550,8 @@ const Activity = {
|
|
|
550
550
|
PVP_ARENA: 'pvp_arena',
|
|
551
551
|
SOUL_WARS_ZEAL: 'soul_wars_zeal',
|
|
552
552
|
GUARDIANS_OF_THE_RIFT: 'guardians_of_the_rift',
|
|
553
|
-
COLOSSEUM_GLORY: 'colosseum_glory'
|
|
553
|
+
COLOSSEUM_GLORY: 'colosseum_glory',
|
|
554
|
+
COLLECTIONS_LOGGED: 'collections_logged'
|
|
554
555
|
};
|
|
555
556
|
const Boss = {
|
|
556
557
|
ABYSSAL_SIRE: 'abyssal_sire',
|
|
@@ -602,6 +603,7 @@ const Boss = {
|
|
|
602
603
|
THE_CORRUPTED_GAUNTLET: 'the_corrupted_gauntlet',
|
|
603
604
|
THE_HUEYCOATL: 'the_hueycoatl',
|
|
604
605
|
THE_LEVIATHAN: 'the_leviathan',
|
|
606
|
+
THE_ROYAL_TITANS: 'the_royal_titans',
|
|
605
607
|
THE_WHISPERER: 'the_whisperer',
|
|
606
608
|
THEATRE_OF_BLOOD: 'theatre_of_blood',
|
|
607
609
|
THEATRE_OF_BLOOD_HARD_MODE: 'theatre_of_blood_hard_mode',
|
|
@@ -642,6 +644,11 @@ const PlayerType = {
|
|
|
642
644
|
HARDCORE: 'hardcore',
|
|
643
645
|
ULTIMATE: 'ultimate'
|
|
644
646
|
};
|
|
647
|
+
const PlayerAnnotationType = {
|
|
648
|
+
BLACKLIST: 'blacklist',
|
|
649
|
+
GREYLIST: 'greylist',
|
|
650
|
+
FAKE_F2P: 'fake_f2p'
|
|
651
|
+
};
|
|
645
652
|
const PlayerBuild = {
|
|
646
653
|
MAIN: 'main',
|
|
647
654
|
F2P: 'f2p',
|
|
@@ -1948,6 +1955,7 @@ const BossProps = mapValues({
|
|
|
1948
1955
|
[Boss.THE_GAUNTLET]: { name: 'The Gauntlet' },
|
|
1949
1956
|
[Boss.THE_CORRUPTED_GAUNTLET]: { name: 'The Corrupted Gauntlet' },
|
|
1950
1957
|
[Boss.THE_LEVIATHAN]: { name: 'The Leviathan' },
|
|
1958
|
+
[Boss.THE_ROYAL_TITANS]: { name: 'The Royal Titans' },
|
|
1951
1959
|
[Boss.THE_WHISPERER]: { name: 'The Whisperer' },
|
|
1952
1960
|
[Boss.THEATRE_OF_BLOOD]: { name: 'Theatre Of Blood' },
|
|
1953
1961
|
[Boss.THEATRE_OF_BLOOD_HARD_MODE]: { name: 'Theatre Of Blood (HM)' },
|
|
@@ -1979,7 +1987,8 @@ const ActivityProps = mapValues({
|
|
|
1979
1987
|
[Activity.PVP_ARENA]: { name: 'PvP Arena', minimumValue: 2525 },
|
|
1980
1988
|
[Activity.SOUL_WARS_ZEAL]: { name: 'Soul Wars Zeal', minimumValue: 200 },
|
|
1981
1989
|
[Activity.GUARDIANS_OF_THE_RIFT]: { name: 'Guardians of the Rift', minimumValue: 2 },
|
|
1982
|
-
[Activity.COLOSSEUM_GLORY]: { name: 'Colosseum Glory', minimumValue: 300 }
|
|
1990
|
+
[Activity.COLOSSEUM_GLORY]: { name: 'Colosseum Glory', minimumValue: 300 },
|
|
1991
|
+
[Activity.COLLECTIONS_LOGGED]: { name: 'Collection Logs', minimumValue: 500 }
|
|
1983
1992
|
}, props => (Object.assign(Object.assign({}, props), { type: MetricType.ACTIVITY, measure: MetricMeasure.SCORE, minimumValue: 'minimumValue' in props ? props.minimumValue : 1 })));
|
|
1984
1993
|
const ComputedMetricProps = mapValues({
|
|
1985
1994
|
[ComputedMetric.EHP]: { name: 'EHP' },
|
|
@@ -2200,6 +2209,7 @@ var EfficiencyAlgorithmType;
|
|
|
2200
2209
|
EfficiencyAlgorithmType["F2P_LVL3"] = "f2p_lvl3";
|
|
2201
2210
|
EfficiencyAlgorithmType["F2P_IRONMAN"] = "f2p_ironman";
|
|
2202
2211
|
EfficiencyAlgorithmType["F2P_LVL3_IRONMAN"] = "f2p_lvl3_ironman";
|
|
2212
|
+
EfficiencyAlgorithmType["DEF1"] = "def1";
|
|
2203
2213
|
})(EfficiencyAlgorithmType || (EfficiencyAlgorithmType = {}));
|
|
2204
2214
|
|
|
2205
2215
|
class EfficiencyClient extends BaseAPIClient {
|
|
@@ -2373,4 +2383,4 @@ class WOMClient extends BaseAPIClient {
|
|
|
2373
2383
|
}
|
|
2374
2384
|
}
|
|
2375
2385
|
|
|
2376
|
-
export { ACTIVITIES, Activity, ActivityType, BOSSES, Boss, CAPPED_MAX_TOTAL_XP, COMBAT_SKILLS, COMPETITION_STATUSES, COMPETITION_TYPES, COMPUTED_METRICS, COUNTRY_CODES, CompetitionCSVTableType, CompetitionStatus, CompetitionStatusProps, CompetitionType, CompetitionTypeProps, ComputedMetric, Country, CountryProps, EfficiencyAlgorithmType, F2P_BOSSES, GROUP_ROLES, GroupRole, GroupRoleProps, MAX_LEVEL, MAX_SKILL_EXP, MAX_VIRTUAL_LEVEL, MEMBER_SKILLS, METRICS, Metric, MetricMeasure, MetricProps, MetricType, NameChangeStatus, PERIODS, PLAYER_BUILDS, PLAYER_STATUSES, PLAYER_TYPES, PRIVELEGED_GROUP_ROLES, Period, PeriodProps, PlayerBuild, PlayerBuildProps, PlayerStatus, PlayerStatusProps, PlayerType, PlayerTypeProps, REAL_METRICS, REAL_SKILLS, SKILLS, SKILL_EXP_AT_99, Skill, WOMClient, findCountry, findCountryByCode, findCountryByName, findGroupRole, findMetric, findPeriod, findPlayerBuild, findPlayerType, formatNumber, getCombatLevel, getExpForLevel, getLevel, getMetricMeasure, getMetricName, getMetricRankKey, getMetricValueKey, getMinimumValue, getParentEfficiencyMetric, isActivity, isBoss, isCompetitionStatus, isCompetitionType, isComputedMetric, isCountry, isGroupRole, isMetric, isPeriod, isPlayerBuild, isPlayerStatus, isPlayerType, isSkill, padNumber, parsePeriodExpression, round };
|
|
2386
|
+
export { ACTIVITIES, Activity, ActivityType, BOSSES, Boss, CAPPED_MAX_TOTAL_XP, COMBAT_SKILLS, COMPETITION_STATUSES, COMPETITION_TYPES, COMPUTED_METRICS, COUNTRY_CODES, CompetitionCSVTableType, CompetitionStatus, CompetitionStatusProps, CompetitionType, CompetitionTypeProps, ComputedMetric, Country, CountryProps, EfficiencyAlgorithmType, F2P_BOSSES, GROUP_ROLES, GroupRole, GroupRoleProps, MAX_LEVEL, MAX_SKILL_EXP, MAX_VIRTUAL_LEVEL, MEMBER_SKILLS, METRICS, Metric, MetricMeasure, MetricProps, MetricType, NameChangeStatus, PERIODS, PLAYER_BUILDS, PLAYER_STATUSES, PLAYER_TYPES, PRIVELEGED_GROUP_ROLES, Period, PeriodProps, PlayerAnnotationType, PlayerBuild, PlayerBuildProps, PlayerStatus, PlayerStatusProps, PlayerType, PlayerTypeProps, REAL_METRICS, REAL_SKILLS, SKILLS, SKILL_EXP_AT_99, Skill, WOMClient, findCountry, findCountryByCode, findCountryByName, findGroupRole, findMetric, findPeriod, findPlayerBuild, findPlayerType, formatNumber, getCombatLevel, getExpForLevel, getLevel, getMetricMeasure, getMetricName, getMetricRankKey, getMetricValueKey, getMinimumValue, getParentEfficiencyMetric, isActivity, isBoss, isCompetitionStatus, isCompetitionType, isComputedMetric, isCountry, isGroupRole, isMetric, isPeriod, isPlayerBuild, isPlayerStatus, isPlayerType, isSkill, padNumber, parsePeriodExpression, round };
|
package/dist/index.d.ts
CHANGED
|
@@ -424,6 +424,7 @@ declare const Activity: {
|
|
|
424
424
|
readonly SOUL_WARS_ZEAL: "soul_wars_zeal";
|
|
425
425
|
readonly GUARDIANS_OF_THE_RIFT: "guardians_of_the_rift";
|
|
426
426
|
readonly COLOSSEUM_GLORY: "colosseum_glory";
|
|
427
|
+
readonly COLLECTIONS_LOGGED: "collections_logged";
|
|
427
428
|
};
|
|
428
429
|
type Activity = (typeof Activity)[keyof typeof Activity];
|
|
429
430
|
declare const Boss: {
|
|
@@ -476,6 +477,7 @@ declare const Boss: {
|
|
|
476
477
|
readonly THE_CORRUPTED_GAUNTLET: "the_corrupted_gauntlet";
|
|
477
478
|
readonly THE_HUEYCOATL: "the_hueycoatl";
|
|
478
479
|
readonly THE_LEVIATHAN: "the_leviathan";
|
|
480
|
+
readonly THE_ROYAL_TITANS: "the_royal_titans";
|
|
479
481
|
readonly THE_WHISPERER: "the_whisperer";
|
|
480
482
|
readonly THEATRE_OF_BLOOD: "theatre_of_blood";
|
|
481
483
|
readonly THEATRE_OF_BLOOD_HARD_MODE: "theatre_of_blood_hard_mode";
|
|
@@ -550,6 +552,7 @@ declare const Metric: {
|
|
|
550
552
|
readonly THE_CORRUPTED_GAUNTLET: "the_corrupted_gauntlet";
|
|
551
553
|
readonly THE_HUEYCOATL: "the_hueycoatl";
|
|
552
554
|
readonly THE_LEVIATHAN: "the_leviathan";
|
|
555
|
+
readonly THE_ROYAL_TITANS: "the_royal_titans";
|
|
553
556
|
readonly THE_WHISPERER: "the_whisperer";
|
|
554
557
|
readonly THEATRE_OF_BLOOD: "theatre_of_blood";
|
|
555
558
|
readonly THEATRE_OF_BLOOD_HARD_MODE: "theatre_of_blood_hard_mode";
|
|
@@ -580,6 +583,7 @@ declare const Metric: {
|
|
|
580
583
|
readonly SOUL_WARS_ZEAL: "soul_wars_zeal";
|
|
581
584
|
readonly GUARDIANS_OF_THE_RIFT: "guardians_of_the_rift";
|
|
582
585
|
readonly COLOSSEUM_GLORY: "colosseum_glory";
|
|
586
|
+
readonly COLLECTIONS_LOGGED: "collections_logged";
|
|
583
587
|
readonly OVERALL: "overall";
|
|
584
588
|
readonly ATTACK: "attack";
|
|
585
589
|
readonly DEFENCE: "defence";
|
|
@@ -628,6 +632,12 @@ declare const PlayerType: {
|
|
|
628
632
|
readonly ULTIMATE: "ultimate";
|
|
629
633
|
};
|
|
630
634
|
type PlayerType = (typeof PlayerType)[keyof typeof PlayerType];
|
|
635
|
+
declare const PlayerAnnotationType: {
|
|
636
|
+
readonly BLACKLIST: "blacklist";
|
|
637
|
+
readonly GREYLIST: "greylist";
|
|
638
|
+
readonly FAKE_F2P: "fake_f2p";
|
|
639
|
+
};
|
|
640
|
+
type PlayerAnnotationType = (typeof PlayerAnnotationType)[keyof typeof PlayerAnnotationType];
|
|
631
641
|
declare const PlayerBuild: {
|
|
632
642
|
readonly MAIN: "main";
|
|
633
643
|
readonly F2P: "f2p";
|
|
@@ -1440,7 +1450,8 @@ declare enum EfficiencyAlgorithmType {
|
|
|
1440
1450
|
F2P = "f2p",
|
|
1441
1451
|
F2P_LVL3 = "f2p_lvl3",
|
|
1442
1452
|
F2P_IRONMAN = "f2p_ironman",
|
|
1443
|
-
F2P_LVL3_IRONMAN = "f2p_lvl3_ironman"
|
|
1453
|
+
F2P_LVL3_IRONMAN = "f2p_lvl3_ironman",
|
|
1454
|
+
DEF1 = "def1"
|
|
1444
1455
|
}
|
|
1445
1456
|
interface SkillMetaMethod {
|
|
1446
1457
|
rate: number;
|
|
@@ -1651,6 +1662,7 @@ declare const MetricProps: {
|
|
|
1651
1662
|
readonly soul_wars_zeal: ActivityProperties;
|
|
1652
1663
|
readonly guardians_of_the_rift: ActivityProperties;
|
|
1653
1664
|
readonly colosseum_glory: ActivityProperties;
|
|
1665
|
+
readonly collections_logged: ActivityProperties;
|
|
1654
1666
|
readonly abyssal_sire: BossProperties;
|
|
1655
1667
|
readonly alchemical_hydra: BossProperties;
|
|
1656
1668
|
readonly amoxliatl: BossProperties;
|
|
@@ -1700,6 +1712,7 @@ declare const MetricProps: {
|
|
|
1700
1712
|
readonly the_corrupted_gauntlet: BossProperties;
|
|
1701
1713
|
readonly the_hueycoatl: BossProperties;
|
|
1702
1714
|
readonly the_leviathan: BossProperties;
|
|
1715
|
+
readonly the_royal_titans: BossProperties;
|
|
1703
1716
|
readonly the_whisperer: BossProperties;
|
|
1704
1717
|
readonly theatre_of_blood: BossProperties;
|
|
1705
1718
|
readonly theatre_of_blood_hard_mode: BossProperties;
|
|
@@ -2261,4 +2274,4 @@ declare class WOMClient extends BaseAPIClient {
|
|
|
2261
2274
|
constructor(options?: WOMClientOptions);
|
|
2262
2275
|
}
|
|
2263
2276
|
|
|
2264
|
-
export { ACTIVITIES, type Achievement, type AchievementDefinition, type AchievementProgress, type AchievementTemplate, Activity, type ActivityDelta, ActivityType, type ActivityValue, type AssertPlayerTypeResponse, BOSSES, type Bonus, Boss, type BossDelta, type BossMetaConfig, type BossValue, CAPPED_MAX_TOTAL_XP, COMBAT_SKILLS, COMPETITION_STATUSES, COMPETITION_TYPES, COMPUTED_METRICS, COUNTRY_CODES, type ChangeMemberRolePayload, CompetitionCSVTableType, type CompetitionDetails, type CompetitionDetailsCSVParams, type CompetitionListItem, CompetitionStatus, CompetitionStatusProps, CompetitionType, CompetitionTypeProps, type CompetitionWithParticipations, type CompetitionsSearchFilter, ComputedMetric, type ComputedMetricDelta, type ComputedMetricValue, Country, type CountryDetails, CountryProps, type CreateCompetitionPayload, type CreateCompetitionResponse, type CreateGroupPayload, type CreateGroupResponse, type DeltaGroupLeaderboardEntry, type DeltaLeaderboardEntry, type DeltaLeaderboardFilter, type DenyContext, type EditCompetitionPayload, type EditGroupPayload, EfficiencyAlgorithmType, type EfficiencyAlgorithmTypeUnion, type EfficiencyLeaderboardsFilter, type ExtendedAchievement, type ExtendedAchievementWithPlayer, F2P_BOSSES, type FlaggedPlayerReviewContext, type FormattedSnapshot, GROUP_ROLES, type GenericCountMessageResponse, type GenericMessageResponse, type GetGroupGainsFilter, type GetPlayerGainsResponse, type Group, type GroupDetails, type GroupHiscoresActivityItem, type GroupHiscoresBossItem, type GroupHiscoresComputedMetricItem, type GroupHiscoresEntry, type GroupHiscoresSkillItem, type GroupListItem, type GroupMemberFragment, type GroupRecordsFilter, GroupRole, GroupRoleProps, type GroupStatistics, MAX_LEVEL, MAX_SKILL_EXP, MAX_VIRTUAL_LEVEL, MEMBER_SKILLS, METRICS, type MapOf, type MeasuredDeltaProgress, type MemberActivityWithPlayer, type MemberInput, type MemberJoinedEvent, type MemberLeftEvent, type MemberRoleChangeEvent, type MembershipWithGroup, type MembershipWithPlayer, Metric, type MetricLeaders, MetricMeasure, MetricProps, MetricType, type MetricValueKey, type NameChange, type NameChangeDetails, NameChangeStatus, type NameChangeWithPlayer, type NameChangesSearchFilter, PERIODS, PLAYER_BUILDS, PLAYER_STATUSES, PLAYER_TYPES, PRIVELEGED_GROUP_ROLES, type ParticipationWithCompetition, type ParticipationWithCompetitionAndStandings, type ParticipationWithPlayer, type ParticipationWithPlayerAndProgress, Period, PeriodProps, type Player, type PlayerArchiveWithPlayer, PlayerBuild, PlayerBuildProps, type PlayerCompetitionStandingsFilter, type PlayerCompetitionsFilter, type PlayerDeltasMap, type PlayerDetails, type PlayerRecordsFilter, PlayerStatus, PlayerStatusProps, PlayerType, PlayerTypeProps, REAL_METRICS, REAL_SKILLS, type Record, type RecordLeaderboardEntry, type RecordLeaderboardFilter, SKILLS, SKILL_EXP_AT_99, Skill, type SkillDelta, type SkillMetaConfig, type SkillMetaMethod, type SkillValue, type SkipContext, type Snapshot, type SnapshotFragment, type Team, type TimeRangeFilter, type Top5ProgressResult, WOMClient, findCountry, findCountryByCode, findCountryByName, findGroupRole, findMetric, findPeriod, findPlayerBuild, findPlayerType, formatNumber, getCombatLevel, getExpForLevel, getLevel, getMetricMeasure, getMetricName, getMetricRankKey, getMetricValueKey, getMinimumValue, getParentEfficiencyMetric, isActivity, isBoss, isCompetitionStatus, isCompetitionType, isComputedMetric, isCountry, isGroupRole, isMetric, isPeriod, isPlayerBuild, isPlayerStatus, isPlayerType, isSkill, padNumber, parsePeriodExpression, round };
|
|
2277
|
+
export { ACTIVITIES, type Achievement, type AchievementDefinition, type AchievementProgress, type AchievementTemplate, Activity, type ActivityDelta, ActivityType, type ActivityValue, type AssertPlayerTypeResponse, BOSSES, type Bonus, Boss, type BossDelta, type BossMetaConfig, type BossValue, CAPPED_MAX_TOTAL_XP, COMBAT_SKILLS, COMPETITION_STATUSES, COMPETITION_TYPES, COMPUTED_METRICS, COUNTRY_CODES, type ChangeMemberRolePayload, CompetitionCSVTableType, type CompetitionDetails, type CompetitionDetailsCSVParams, type CompetitionListItem, CompetitionStatus, CompetitionStatusProps, CompetitionType, CompetitionTypeProps, type CompetitionWithParticipations, type CompetitionsSearchFilter, ComputedMetric, type ComputedMetricDelta, type ComputedMetricValue, Country, type CountryDetails, CountryProps, type CreateCompetitionPayload, type CreateCompetitionResponse, type CreateGroupPayload, type CreateGroupResponse, type DeltaGroupLeaderboardEntry, type DeltaLeaderboardEntry, type DeltaLeaderboardFilter, type DenyContext, type EditCompetitionPayload, type EditGroupPayload, EfficiencyAlgorithmType, type EfficiencyAlgorithmTypeUnion, type EfficiencyLeaderboardsFilter, type ExtendedAchievement, type ExtendedAchievementWithPlayer, F2P_BOSSES, type FlaggedPlayerReviewContext, type FormattedSnapshot, GROUP_ROLES, type GenericCountMessageResponse, type GenericMessageResponse, type GetGroupGainsFilter, type GetPlayerGainsResponse, type Group, type GroupDetails, type GroupHiscoresActivityItem, type GroupHiscoresBossItem, type GroupHiscoresComputedMetricItem, type GroupHiscoresEntry, type GroupHiscoresSkillItem, type GroupListItem, type GroupMemberFragment, type GroupRecordsFilter, GroupRole, GroupRoleProps, type GroupStatistics, MAX_LEVEL, MAX_SKILL_EXP, MAX_VIRTUAL_LEVEL, MEMBER_SKILLS, METRICS, type MapOf, type MeasuredDeltaProgress, type MemberActivityWithPlayer, type MemberInput, type MemberJoinedEvent, type MemberLeftEvent, type MemberRoleChangeEvent, type MembershipWithGroup, type MembershipWithPlayer, Metric, type MetricLeaders, MetricMeasure, MetricProps, MetricType, type MetricValueKey, type NameChange, type NameChangeDetails, NameChangeStatus, type NameChangeWithPlayer, type NameChangesSearchFilter, PERIODS, PLAYER_BUILDS, PLAYER_STATUSES, PLAYER_TYPES, PRIVELEGED_GROUP_ROLES, type ParticipationWithCompetition, type ParticipationWithCompetitionAndStandings, type ParticipationWithPlayer, type ParticipationWithPlayerAndProgress, Period, PeriodProps, type Player, PlayerAnnotationType, type PlayerArchiveWithPlayer, PlayerBuild, PlayerBuildProps, type PlayerCompetitionStandingsFilter, type PlayerCompetitionsFilter, type PlayerDeltasMap, type PlayerDetails, type PlayerRecordsFilter, PlayerStatus, PlayerStatusProps, PlayerType, PlayerTypeProps, REAL_METRICS, REAL_SKILLS, type Record, type RecordLeaderboardEntry, type RecordLeaderboardFilter, SKILLS, SKILL_EXP_AT_99, Skill, type SkillDelta, type SkillMetaConfig, type SkillMetaMethod, type SkillValue, type SkipContext, type Snapshot, type SnapshotFragment, type Team, type TimeRangeFilter, type Top5ProgressResult, WOMClient, findCountry, findCountryByCode, findCountryByName, findGroupRole, findMetric, findPeriod, findPlayerBuild, findPlayerType, formatNumber, getCombatLevel, getExpForLevel, getLevel, getMetricMeasure, getMetricName, getMetricRankKey, getMetricValueKey, getMinimumValue, getParentEfficiencyMetric, isActivity, isBoss, isCompetitionStatus, isCompetitionType, isComputedMetric, isCountry, isGroupRole, isMetric, isPeriod, isPlayerBuild, isPlayerStatus, isPlayerType, isSkill, padNumber, parsePeriodExpression, round };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise-old-man/utils",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.8",
|
|
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",
|