@wise-old-man/utils 2.1.12 → 2.1.13

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
@@ -181,7 +181,6 @@ export type Prisma_Base_Player = {
181
181
  build: PlayerBuild
182
182
  status: PlayerStatus
183
183
  country: Country | null
184
- flagged: boolean
185
184
  exp: bigint
186
185
  ehp: number
187
186
  ehb: number
@@ -2130,7 +2129,7 @@ declare class EfficiencyClient extends BaseAPIClient {
2130
2129
  * Fetches the top EHP (Efficient Hours Played) rates.
2131
2130
  * @returns A list of skilling methods and their bonus exp ratios.
2132
2131
  */
2133
- getEHPRates(algorithmType: EfficiencyAlgorithmTypeUnion): Promise<SkillMetaConfig[]>;
2132
+ getEHPRates(algorithmType: EfficiencyAlgorithmTypeUnion): Promise<SkillMetaConfig>;
2134
2133
  /**
2135
2134
  * Fetches the top EHB (Efficient Hours Bossed) rates.
2136
2135
  * @returns A list of bosses and their respective "per-hour" kill rates.
package/dist/index.js CHANGED
@@ -2381,10 +2381,7 @@ class EfficiencyClient extends BaseAPIClient {
2381
2381
  * @returns A list of skilling methods and their bonus exp ratios.
2382
2382
  */
2383
2383
  getEHPRates(algorithmType) {
2384
- return this.getRequest('/efficiency/rates', {
2385
- metric: Metric.EHP,
2386
- type: algorithmType
2387
- });
2384
+ return this.getRequest('/efficiency/rates', { metric: Metric.EHP, type: algorithmType });
2388
2385
  }
2389
2386
  /**
2390
2387
  * Fetches the top EHB (Efficient Hours Bossed) rates.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise-old-man/utils",
3
- "version": "2.1.12",
3
+ "version": "2.1.13",
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",