Releases: MrZillaGold/NameMCWrapper
Releases · MrZillaGold/NameMCWrapper
2.0.0
🌟Highlights
Now all methods return context classes instead of objects, this is still the same JSON, but the ability to call additional methods for individual contexts has been added.
The loadPayload
method allows you to load complete information about an object, if it was not found during the initial parse.
Example:
const skins = await new NameMC()
.skinHistory({ nickname: "Twennnn" });
const skin = skins[0];
// skin.tags => []
await skin.loadPayload();
// skin.tags => ["Hat", "Boy", ...]
All available class methods can be viewed in the files.
🚀 Features
- Parsing the list of the player's favorite servers.
- Parsing Badlion player statistics.
- Support for new parameters for renders:
cape
,shadow_color
,shadow_radius
,shadow_x
,shadow_y
.
⚠️ BREAKING CHANGES
- Removed the
getPlayerInfo
method, usegetPlayer
instead. - Removed the
endpoint
parameter when initializing the NameMC class. - When using the
transformSkin
method,SkinContext
is returned instead of astring
.
1.8.11
- Fix front and back skins model
1.8.10
- Fix skins model parse
1.8.8
- Improve imports
1.8.7
- Fix subdomain check
1.8.6
- Fix proxy suffix
1.8.5
1.8.4
- Fix default skin model for
getRenders()
;.
1.8.3
- Improve types.