From 90bc41d37d97d0d5d6e4d546a02a79716e0294c7 Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 25 Mar 2022 21:09:04 -0500 Subject: [PATCH] add stuff for ranks --- package.json | 2 +- src/responses/player.ts | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b57caa2..f65f525 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "typed-hypixel-api", - "version": "0.1.9", + "version": "0.1.10", "main": "build/index.js", "types": "build/index.d.js", "repository": "https://github.com/skyblockstats/typed-hypixel-api.git", diff --git a/src/responses/player.ts b/src/responses/player.ts index b562293..122f42f 100644 --- a/src/responses/player.ts +++ b/src/responses/player.ts @@ -44,7 +44,13 @@ export interface PlayerDataResponse { lastLogout: number friendRequestsUuid: any[] channel?: 'ALL' - newPackageRank?: 'MVP_PLUS' + + packageRank?: string + newPackageRank?: string + monthlyPackageRank?: 'NONE' | string + rank?: string + prefix?: string + [key: `levelup_${string}`]: number currentPet?: string network_update_book: number