@wise-old-man/utils 2.1.8 → 2.1.10

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 CHANGED
@@ -677,7 +677,6 @@ declare const PlayerType: {
677
677
  readonly IRONMAN: "ironman";
678
678
  readonly HARDCORE: "hardcore";
679
679
  readonly ULTIMATE: "ultimate";
680
- readonly FRESH_START: "fresh_start";
681
680
  };
682
681
  declare type PlayerType = typeof PlayerType[keyof typeof PlayerType];
683
682
  declare const PlayerBuild: {
@@ -1792,7 +1791,7 @@ declare const PlayerBuildProps: MapOf<PlayerBuild, {
1792
1791
  declare const PlayerStatusProps: MapOf<PlayerStatus, {
1793
1792
  name: string;
1794
1793
  }>;
1795
- declare const PLAYER_TYPES: ("unknown" | "regular" | "ironman" | "hardcore" | "ultimate" | "fresh_start")[];
1794
+ declare const PLAYER_TYPES: ("unknown" | "regular" | "ironman" | "hardcore" | "ultimate")[];
1796
1795
  declare const PLAYER_BUILDS: ("main" | "f2p" | "lvl3" | "zerker" | "def1" | "hp10")[];
1797
1796
  declare const PLAYER_STATUSES: ("active" | "unranked" | "flagged" | "archived")[];
1798
1797
  declare function isPlayerType(typeString: string): typeString is PlayerType;
package/dist/index.js CHANGED
@@ -588,8 +588,7 @@ const PlayerType = {
588
588
  REGULAR: 'regular',
589
589
  IRONMAN: 'ironman',
590
590
  HARDCORE: 'hardcore',
591
- ULTIMATE: 'ultimate',
592
- FRESH_START: 'fresh_start'
591
+ ULTIMATE: 'ultimate'
593
592
  };
594
593
  const PlayerBuild = {
595
594
  MAIN: 'main',
@@ -1874,7 +1873,7 @@ const BossProps = lodash.mapValues({
1874
1873
  [Boss.WINTERTODT]: { name: 'Wintertodt' },
1875
1874
  [Boss.ZALCANO]: { name: 'Zalcano' },
1876
1875
  [Boss.ZULRAH]: { name: 'Zulrah' }
1877
- }, 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 : 25 })));
1876
+ }, 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 : 20 })));
1878
1877
  const ActivityProps = lodash.mapValues({
1879
1878
  [Activity.LEAGUE_POINTS]: { name: 'League Points' },
1880
1879
  [Activity.BOUNTY_HUNTER_HUNTER]: { name: 'Bounty Hunter (Hunter)' },
@@ -2262,8 +2261,7 @@ const PlayerTypeProps = {
2262
2261
  [PlayerType.REGULAR]: { name: 'Regular' },
2263
2262
  [PlayerType.IRONMAN]: { name: 'Ironman' },
2264
2263
  [PlayerType.HARDCORE]: { name: 'Hardcore' },
2265
- [PlayerType.ULTIMATE]: { name: 'Ultimate' },
2266
- [PlayerType.FRESH_START]: { name: 'Fresh Start' }
2264
+ [PlayerType.ULTIMATE]: { name: 'Ultimate' }
2267
2265
  };
2268
2266
  const PlayerBuildProps = {
2269
2267
  [PlayerBuild.MAIN]: { name: 'Main' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise-old-man/utils",
3
- "version": "2.1.8",
3
+ "version": "2.1.10",
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",