@wise-old-man/utils 3.1.2 → 3.1.3

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
@@ -2077,10 +2077,11 @@ declare class PlayersClient extends BaseAPIClient {
2077
2077
  getPlayerSnapshots(username: string, options?: TimeRangeFilter): Promise<FormattedSnapshot[]>;
2078
2078
  /**
2079
2079
  * Fetches all of the player's past snapshots' timeline.
2080
- * @returns A list of timeseries data (value, date)
2080
+ * @returns A list of timeseries data (value, rank, date)
2081
2081
  */
2082
2082
  getPlayerSnapshotTimeline(username: string, metric: Metric, options?: TimeRangeFilter): Promise<{
2083
2083
  value: number;
2084
+ rank: number;
2084
2085
  date: Date;
2085
2086
  }[]>;
2086
2087
  /**
package/dist/index.js CHANGED
@@ -424,7 +424,7 @@ class PlayersClient extends BaseAPIClient {
424
424
  }
425
425
  /**
426
426
  * Fetches all of the player's past snapshots' timeline.
427
- * @returns A list of timeseries data (value, date)
427
+ * @returns A list of timeseries data (value, rank, date)
428
428
  */
429
429
  getPlayerSnapshotTimeline(username, metric, options) {
430
430
  return this.getRequest(`/players/${username}/snapshots/timeline`, Object.assign(Object.assign({}, options), { metric }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise-old-man/utils",
3
- "version": "3.1.2",
3
+ "version": "3.1.3",
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",