@wise-old-man/utils 3.0.0 → 3.0.2

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
@@ -570,6 +570,7 @@ declare type PlayerType = typeof PlayerType[keyof typeof PlayerType];
570
570
  declare const PlayerBuild: {
571
571
  readonly MAIN: "main";
572
572
  readonly F2P: "f2p";
573
+ readonly F2P_LVL3: "f2p_lvl3";
573
574
  readonly LVL3: "lvl3";
574
575
  readonly ZERKER: "zerker";
575
576
  readonly DEF1: "def1";
@@ -1382,7 +1383,9 @@ declare enum EfficiencyAlgorithmType {
1382
1383
  IRONMAN = "ironman",
1383
1384
  ULTIMATE = "ultimate",
1384
1385
  LVL3 = "lvl3",
1385
- F2P = "f2p"
1386
+ F2P = "f2p",
1387
+ F2P_LVL3 = "f2p_lvl3",
1388
+ F2P_IRONMAN = "f2p_ironman"
1386
1389
  }
1387
1390
  interface SkillMetaMethod {
1388
1391
  rate: number;
@@ -1723,7 +1726,7 @@ declare const PlayerStatusProps: MapOf<PlayerStatus, {
1723
1726
  name: string;
1724
1727
  }>;
1725
1728
  declare const PLAYER_TYPES: ("unknown" | "regular" | "ironman" | "hardcore" | "ultimate")[];
1726
- declare const PLAYER_BUILDS: ("main" | "f2p" | "lvl3" | "zerker" | "def1" | "hp10")[];
1729
+ declare const PLAYER_BUILDS: ("main" | "f2p" | "f2p_lvl3" | "lvl3" | "zerker" | "def1" | "hp10")[];
1727
1730
  declare const PLAYER_STATUSES: ("active" | "unranked" | "flagged" | "archived" | "banned")[];
1728
1731
  declare function isPlayerType(typeString: string): typeString is PlayerType;
1729
1732
  declare function isPlayerBuild(buildString: string): buildString is PlayerBuild;
package/dist/index.js CHANGED
@@ -611,6 +611,7 @@ const PlayerType = {
611
611
  const PlayerBuild = {
612
612
  MAIN: 'main',
613
613
  F2P: 'f2p',
614
+ F2P_LVL3: 'f2p_lvl3',
614
615
  LVL3: 'lvl3',
615
616
  ZERKER: 'zerker',
616
617
  DEF1: 'def1',
@@ -2297,6 +2298,7 @@ const PlayerTypeProps = {
2297
2298
  const PlayerBuildProps = {
2298
2299
  [PlayerBuild.MAIN]: { name: 'Main' },
2299
2300
  [PlayerBuild.F2P]: { name: 'F2P' },
2301
+ [PlayerBuild.F2P_LVL3]: { name: 'F2P & Level 3' },
2300
2302
  [PlayerBuild.LVL3]: { name: 'Level 3' },
2301
2303
  [PlayerBuild.ZERKER]: { name: 'Zerker Pure' },
2302
2304
  [PlayerBuild.DEF1]: { name: '1 Defence Pure' },
@@ -2390,6 +2392,8 @@ exports.EfficiencyAlgorithmType = void 0;
2390
2392
  EfficiencyAlgorithmType["ULTIMATE"] = "ultimate";
2391
2393
  EfficiencyAlgorithmType["LVL3"] = "lvl3";
2392
2394
  EfficiencyAlgorithmType["F2P"] = "f2p";
2395
+ EfficiencyAlgorithmType["F2P_LVL3"] = "f2p_lvl3";
2396
+ EfficiencyAlgorithmType["F2P_IRONMAN"] = "f2p_ironman";
2393
2397
  })(exports.EfficiencyAlgorithmType || (exports.EfficiencyAlgorithmType = {}));
2394
2398
 
2395
2399
  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.0",
3
+ "version": "3.0.2",
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",