@wise-old-man/utils 2.0.9 → 2.0.10

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
@@ -2010,7 +2010,7 @@ declare class PlayersClient extends BaseAPIClient {
2010
2010
  * Fetches all of the player's past snapshots.
2011
2011
  * @returns A list of snapshots.
2012
2012
  */
2013
- getPlayerSnapshots(username: string, options?: TimeRangeFilter, pagination?: PaginationOptions): Promise<FormattedSnapshot[]>;
2013
+ getPlayerSnapshots(username: string, options?: TimeRangeFilter): Promise<FormattedSnapshot[]>;
2014
2014
  /**
2015
2015
  * Fetches all of the player's approved name changes.
2016
2016
  * @returns A list of name changes.
package/dist/index.js CHANGED
@@ -398,8 +398,8 @@ class PlayersClient extends BaseAPIClient {
398
398
  * Fetches all of the player's past snapshots.
399
399
  * @returns A list of snapshots.
400
400
  */
401
- getPlayerSnapshots(username, options, pagination) {
402
- return this.getRequest(`/players/${username}/snapshots`, Object.assign(Object.assign({}, options), pagination));
401
+ getPlayerSnapshots(username, options) {
402
+ return this.getRequest(`/players/${username}/snapshots`, options);
403
403
  }
404
404
  /**
405
405
  * Fetches all of the player's approved name changes.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise-old-man/utils",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
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",