@wise-old-man/utils 4.0.1 → 4.0.2

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +3 -3
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -2100,9 +2100,9 @@ declare class GroupsClient extends BaseAPIClient {
2100
2100
  * Fetches a group members' latest name changes.
2101
2101
  * @returns A list of name change (approved) requests.
2102
2102
  */
2103
- getGroupNameChanges(id: number, pagination?: PaginationOptions): Promise<NameChange & {
2103
+ getGroupNameChanges(id: number, pagination?: PaginationOptions): Promise<(NameChange & {
2104
2104
  player: PlayerResponse;
2105
- }>;
2105
+ })[]>;
2106
2106
  /**
2107
2107
  * Fetches a group's general statistics.
2108
2108
  * @returns An object with a few statistic values and an average stats snapshot.
@@ -2198,7 +2198,7 @@ declare class PlayersClient extends BaseAPIClient {
2198
2198
  * @returns A list of memberships, with the respective group included.
2199
2199
  */
2200
2200
  getPlayerGroups(username: string, pagination?: PaginationOptions): Promise<(Membership & {
2201
- player: PlayerResponse;
2201
+ group: GroupResponse;
2202
2202
  })[]>;
2203
2203
  /**
2204
2204
  * Fetches a player's gains, for a specific period or time range, as a [metric: data] map.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise-old-man/utils",
3
- "version": "4.0.1",
3
+ "version": "4.0.2",
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",