@wise-old-man/utils 4.0.13 → 4.0.14
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 +0 -2
- package/dist/es/index.js +0 -2
- package/dist/es/index.mjs +0 -2
- package/dist/index.d.ts +0 -10
- package/package.json +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -940,7 +940,6 @@ const Skill = {
|
|
|
940
940
|
SAILING: 'sailing'
|
|
941
941
|
};
|
|
942
942
|
const Activity = {
|
|
943
|
-
LEAGUE_POINTS: 'league_points',
|
|
944
943
|
BOUNTY_HUNTER_HUNTER: 'bounty_hunter_hunter',
|
|
945
944
|
BOUNTY_HUNTER_ROGUE: 'bounty_hunter_rogue',
|
|
946
945
|
CLUE_SCROLLS_ALL: 'clue_scrolls_all',
|
|
@@ -2191,7 +2190,6 @@ const BossProps = mapValues({
|
|
|
2191
2190
|
[Boss.ZULRAH]: { name: 'Zulrah' }
|
|
2192
2191
|
}, props => (Object.assign(Object.assign({}, props), { type: exports.MetricType.BOSS, measure: exports.MetricMeasure.KILLS, isMembers: 'isMembers' in props ? props.isMembers : true, minimumValue: 'minimumValue' in props ? props.minimumValue : 5 })));
|
|
2193
2192
|
const ActivityProps = mapValues({
|
|
2194
|
-
[Activity.LEAGUE_POINTS]: { name: 'League Points', minimumValue: 100 },
|
|
2195
2193
|
[Activity.BOUNTY_HUNTER_HUNTER]: { name: 'Bounty Hunter (Hunter)', minimumValue: 2 },
|
|
2196
2194
|
[Activity.BOUNTY_HUNTER_ROGUE]: { name: 'Bounty Hunter (Rogue)', minimumValue: 2 },
|
|
2197
2195
|
[Activity.CLUE_SCROLLS_ALL]: { name: 'Clue Scrolls (All)' },
|
package/dist/es/index.js
CHANGED
|
@@ -938,7 +938,6 @@ const Skill = {
|
|
|
938
938
|
SAILING: 'sailing'
|
|
939
939
|
};
|
|
940
940
|
const Activity = {
|
|
941
|
-
LEAGUE_POINTS: 'league_points',
|
|
942
941
|
BOUNTY_HUNTER_HUNTER: 'bounty_hunter_hunter',
|
|
943
942
|
BOUNTY_HUNTER_ROGUE: 'bounty_hunter_rogue',
|
|
944
943
|
CLUE_SCROLLS_ALL: 'clue_scrolls_all',
|
|
@@ -2189,7 +2188,6 @@ const BossProps = mapValues({
|
|
|
2189
2188
|
[Boss.ZULRAH]: { name: 'Zulrah' }
|
|
2190
2189
|
}, props => (Object.assign(Object.assign({}, props), { type: MetricType.BOSS, measure: MetricMeasure.KILLS, isMembers: 'isMembers' in props ? props.isMembers : true, minimumValue: 'minimumValue' in props ? props.minimumValue : 5 })));
|
|
2191
2190
|
const ActivityProps = mapValues({
|
|
2192
|
-
[Activity.LEAGUE_POINTS]: { name: 'League Points', minimumValue: 100 },
|
|
2193
2191
|
[Activity.BOUNTY_HUNTER_HUNTER]: { name: 'Bounty Hunter (Hunter)', minimumValue: 2 },
|
|
2194
2192
|
[Activity.BOUNTY_HUNTER_ROGUE]: { name: 'Bounty Hunter (Rogue)', minimumValue: 2 },
|
|
2195
2193
|
[Activity.CLUE_SCROLLS_ALL]: { name: 'Clue Scrolls (All)' },
|
package/dist/es/index.mjs
CHANGED
|
@@ -938,7 +938,6 @@ const Skill = {
|
|
|
938
938
|
SAILING: 'sailing'
|
|
939
939
|
};
|
|
940
940
|
const Activity = {
|
|
941
|
-
LEAGUE_POINTS: 'league_points',
|
|
942
941
|
BOUNTY_HUNTER_HUNTER: 'bounty_hunter_hunter',
|
|
943
942
|
BOUNTY_HUNTER_ROGUE: 'bounty_hunter_rogue',
|
|
944
943
|
CLUE_SCROLLS_ALL: 'clue_scrolls_all',
|
|
@@ -2189,7 +2188,6 @@ const BossProps = mapValues({
|
|
|
2189
2188
|
[Boss.ZULRAH]: { name: 'Zulrah' }
|
|
2190
2189
|
}, props => (Object.assign(Object.assign({}, props), { type: MetricType.BOSS, measure: MetricMeasure.KILLS, isMembers: 'isMembers' in props ? props.isMembers : true, minimumValue: 'minimumValue' in props ? props.minimumValue : 5 })));
|
|
2191
2190
|
const ActivityProps = mapValues({
|
|
2192
|
-
[Activity.LEAGUE_POINTS]: { name: 'League Points', minimumValue: 100 },
|
|
2193
2191
|
[Activity.BOUNTY_HUNTER_HUNTER]: { name: 'Bounty Hunter (Hunter)', minimumValue: 2 },
|
|
2194
2192
|
[Activity.BOUNTY_HUNTER_ROGUE]: { name: 'Bounty Hunter (Rogue)', minimumValue: 2 },
|
|
2195
2193
|
[Activity.CLUE_SCROLLS_ALL]: { name: 'Clue Scrolls (All)' },
|
package/dist/index.d.ts
CHANGED
|
@@ -42,7 +42,6 @@ declare const Skill: {
|
|
|
42
42
|
};
|
|
43
43
|
type Skill = (typeof Skill)[keyof typeof Skill];
|
|
44
44
|
declare const Activity: {
|
|
45
|
-
readonly LEAGUE_POINTS: "league_points";
|
|
46
45
|
readonly BOUNTY_HUNTER_HUNTER: "bounty_hunter_hunter";
|
|
47
46
|
readonly BOUNTY_HUNTER_ROGUE: "bounty_hunter_rogue";
|
|
48
47
|
readonly CLUE_SCROLLS_ALL: "clue_scrolls_all";
|
|
@@ -209,7 +208,6 @@ declare const Metric: {
|
|
|
209
208
|
readonly YAMA: "yama";
|
|
210
209
|
readonly ZALCANO: "zalcano";
|
|
211
210
|
readonly ZULRAH: "zulrah";
|
|
212
|
-
readonly LEAGUE_POINTS: "league_points";
|
|
213
211
|
readonly BOUNTY_HUNTER_HUNTER: "bounty_hunter_hunter";
|
|
214
212
|
readonly BOUNTY_HUNTER_ROGUE: "bounty_hunter_rogue";
|
|
215
213
|
readonly CLUE_SCROLLS_ALL: "clue_scrolls_all";
|
|
@@ -313,8 +311,6 @@ interface Snapshot {
|
|
|
313
311
|
constructionExperience: number;
|
|
314
312
|
sailingRank: number;
|
|
315
313
|
sailingExperience: number;
|
|
316
|
-
league_pointsRank: number;
|
|
317
|
-
league_pointsScore: number;
|
|
318
314
|
bounty_hunter_hunterRank: number;
|
|
319
315
|
bounty_hunter_hunterScore: number;
|
|
320
316
|
bounty_hunter_rogueRank: number;
|
|
@@ -3139,12 +3135,6 @@ declare const MetricProps: {
|
|
|
3139
3135
|
type: MetricType;
|
|
3140
3136
|
measure: MetricMeasure;
|
|
3141
3137
|
};
|
|
3142
|
-
readonly league_points: {
|
|
3143
|
-
name: string;
|
|
3144
|
-
minimumValue: number;
|
|
3145
|
-
type: MetricType;
|
|
3146
|
-
measure: MetricMeasure;
|
|
3147
|
-
};
|
|
3148
3138
|
readonly bounty_hunter_hunter: {
|
|
3149
3139
|
name: string;
|
|
3150
3140
|
minimumValue: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise-old-man/utils",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.14",
|
|
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",
|