@wise-old-man/utils 3.0.2 → 3.0.3
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 +4 -3
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1385,7 +1385,8 @@ declare enum EfficiencyAlgorithmType {
|
|
|
1385
1385
|
LVL3 = "lvl3",
|
|
1386
1386
|
F2P = "f2p",
|
|
1387
1387
|
F2P_LVL3 = "f2p_lvl3",
|
|
1388
|
-
F2P_IRONMAN = "f2p_ironman"
|
|
1388
|
+
F2P_IRONMAN = "f2p_ironman",
|
|
1389
|
+
F2P_LVL3_IRONMAN = "f2p_lvl3_ironman"
|
|
1389
1390
|
}
|
|
1390
1391
|
interface SkillMetaMethod {
|
|
1391
1392
|
rate: number;
|
|
@@ -1412,6 +1413,7 @@ interface Bonus {
|
|
|
1412
1413
|
ratio: number;
|
|
1413
1414
|
}
|
|
1414
1415
|
interface EfficiencyAlgorithm {
|
|
1416
|
+
type: EfficiencyAlgorithmType;
|
|
1415
1417
|
skillMetas: SkillMetaConfig[];
|
|
1416
1418
|
bossMetas: BossMetaConfig[];
|
|
1417
1419
|
maximumEHP: number;
|
|
@@ -1423,7 +1425,6 @@ interface EfficiencyAlgorithm {
|
|
|
1423
1425
|
calculateSkillEHP(skill: Skill, experienceMap: ExperienceMap): number;
|
|
1424
1426
|
calculateBossEHB(boss: Boss, killcountMap: KillcountMap): number;
|
|
1425
1427
|
}
|
|
1426
|
-
declare type AlgorithmCache = MapOf<EfficiencyAlgorithmType, EfficiencyAlgorithm>;
|
|
1427
1428
|
|
|
1428
1429
|
declare type DenyContext = {
|
|
1429
1430
|
reason: 'manual_review';
|
|
@@ -2171,4 +2172,4 @@ declare class WOMClient extends BaseAPIClient {
|
|
|
2171
2172
|
constructor(options?: WOMClientOptions);
|
|
2172
2173
|
}
|
|
2173
2174
|
|
|
2174
|
-
export { ACTIVITIES, Achievement, AchievementDefinition, AchievementProgress, AchievementTemplate, Activity, ActivityDelta, ActivityValue, ActivityValueWithPlayer,
|
|
2175
|
+
export { ACTIVITIES, Achievement, AchievementDefinition, AchievementProgress, AchievementTemplate, Activity, ActivityDelta, ActivityValue, ActivityValueWithPlayer, AssertPlayerTypeResponse, BOSSES, Bonus, BonusType, Boss, BossDelta, BossMetaConfig, BossValue, BossValueWithPlayer, CAPPED_MAX_TOTAL_XP, CMLGroupData, COMBAT_SKILLS, COMPETITION_STATUSES, COMPETITION_TYPES, COMPUTED_METRICS, COUNTRY_CODES, ChangeMemberRolePayload, CompetitionDetails, CompetitionListItem, CompetitionStatus, CompetitionStatusProps, CompetitionType, CompetitionTypeProps, CompetitionWithParticipations, CompetitionsSearchFilter, ComputedMetric, ComputedMetricDelta, ComputedMetricValue, ComputedMetricValueWithPlayer, Country, CountryDetails, CountryProps, CreateCompetitionPayload, CreateCompetitionResponse, CreateGroupPayload, CreateGroupResponse, DeltaGroupLeaderboardEntry, DeltaLeaderboardEntry, DeltaLeaderboardFilter, DenyContext, EditCompetitionPayload, EditGroupPayload, EfficiencyAlgorithm, EfficiencyAlgorithmType, EfficiencyAlgorithmTypeUnion, EfficiencyLeaderboardsFilter, EfficiencyMap, ExperienceMap, ExtendedAchievement, ExtendedAchievementWithPlayer, F2P_BOSSES, FlaggedPlayerReviewContext, FormattedSnapshot, GROUP_ROLES, GenericCountMessageResponse, GenericMessageResponse, GetGroupGainsFilter, GetPlayerGainsResponse, GroupDetails, GroupHiscoresActivityItem, GroupHiscoresBossItem, GroupHiscoresComputedMetricItem, GroupHiscoresEntry, GroupHiscoresSkillItem, GroupListItem, GroupMemberFragment, GroupRecordsFilter, GroupRole, GroupRoleProps, GroupStatistics, KillcountMap, MAX_LEVEL, MAX_SKILL_EXP, MAX_VIRTUAL_LEVEL, MEMBER_SKILLS, METRICS, MapOf, MeasuredDeltaProgress, MemberInput, MembershipWithGroup, MembershipWithPlayer, Metric, MetricLeaders, MetricMeasure, MetricProps, MetricType, MetricValueKey, MigrationDataSource, NameChange, NameChangeDetails, NameChangeStatus, NameChangesSearchFilter, PERIODS, PLAYER_BUILDS, PLAYER_STATUSES, PLAYER_TYPES, PRIVELEGED_GROUP_ROLES, ParticipationWithCompetition, ParticipationWithCompetitionAndStandings, ParticipationWithPlayer, ParticipationWithPlayerAndProgress, Period, PeriodProps, Player, PlayerBuild, PlayerBuildProps, PlayerCompetitionStandingsFilter, PlayerCompetitionsFilter, PlayerDeltasArray, PlayerDeltasMap, PlayerDetails, PlayerRecordsFilter, PlayerStatus, PlayerStatusProps, PlayerType, PlayerTypeProps, REAL_SKILLS, Record, RecordLeaderboardEntry, RecordLeaderboardFilter, SKILLS, SKILL_EXP_AT_99, Skill, SkillDelta, SkillMetaConfig, SkillMetaMethod, SkillValue, SkillValueWithPlayer, SkipContext, Snapshot, SnapshotDataSource, SnapshotFragment, Team, TempleGroupData, TimeRangeFilter, 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, parseMetricAbbreviation, parsePeriodExpression, round };
|
package/dist/index.js
CHANGED
|
@@ -2394,6 +2394,7 @@ exports.EfficiencyAlgorithmType = void 0;
|
|
|
2394
2394
|
EfficiencyAlgorithmType["F2P"] = "f2p";
|
|
2395
2395
|
EfficiencyAlgorithmType["F2P_LVL3"] = "f2p_lvl3";
|
|
2396
2396
|
EfficiencyAlgorithmType["F2P_IRONMAN"] = "f2p_ironman";
|
|
2397
|
+
EfficiencyAlgorithmType["F2P_LVL3_IRONMAN"] = "f2p_lvl3_ironman";
|
|
2397
2398
|
})(exports.EfficiencyAlgorithmType || (exports.EfficiencyAlgorithmType = {}));
|
|
2398
2399
|
|
|
2399
2400
|
exports.MigrationDataSource = void 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise-old-man/utils",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.3",
|
|
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",
|