@wise-old-man/utils 2.1.13 → 2.1.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/index.d.ts CHANGED
@@ -2129,7 +2129,7 @@ declare class EfficiencyClient extends BaseAPIClient {
2129
2129
  * Fetches the top EHP (Efficient Hours Played) rates.
2130
2130
  * @returns A list of skilling methods and their bonus exp ratios.
2131
2131
  */
2132
- getEHPRates(algorithmType: EfficiencyAlgorithmTypeUnion): Promise<SkillMetaConfig>;
2132
+ getEHPRates(algorithmType: EfficiencyAlgorithmTypeUnion): Promise<SkillMetaConfig[]>;
2133
2133
  /**
2134
2134
  * Fetches the top EHB (Efficient Hours Bossed) rates.
2135
2135
  * @returns A list of bosses and their respective "per-hour" kill rates.
package/dist/index.js CHANGED
@@ -2381,7 +2381,10 @@ 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', { metric: Metric.EHP, type: algorithmType });
2384
+ return this.getRequest('/efficiency/rates', {
2385
+ metric: Metric.EHP,
2386
+ type: algorithmType
2387
+ });
2385
2388
  }
2386
2389
  /**
2387
2390
  * 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.13",
3
+ "version": "2.1.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",