@wise-old-man/utils 2.1.11 → 2.1.12
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 +1 -1
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -2130,7 +2130,7 @@ declare class EfficiencyClient extends BaseAPIClient {
|
|
|
2130
2130
|
* Fetches the top EHP (Efficient Hours Played) rates.
|
|
2131
2131
|
* @returns A list of skilling methods and their bonus exp ratios.
|
|
2132
2132
|
*/
|
|
2133
|
-
getEHPRates(algorithmType: EfficiencyAlgorithmTypeUnion): Promise<SkillMetaConfig>;
|
|
2133
|
+
getEHPRates(algorithmType: EfficiencyAlgorithmTypeUnion): Promise<SkillMetaConfig[]>;
|
|
2134
2134
|
/**
|
|
2135
2135
|
* Fetches the top EHB (Efficient Hours Bossed) rates.
|
|
2136
2136
|
* @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', {
|
|
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.
|
|
3
|
+
"version": "2.1.12",
|
|
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",
|