Skip to content

Releases: MrZillaGold/NameMCWrapper

2.0.0

27 Apr 10:23
Compare
Choose a tag to compare

🌟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, use getPlayer instead.
  • Removed the endpoint parameter when initializing the NameMC class.
  • When using the transformSkin method, SkinContext is returned instead of a string.

1.8.11

18 Apr 11:30
Compare
Choose a tag to compare
  • Fix front and back skins model

1.8.10

08 Apr 21:47
Compare
Choose a tag to compare
  • Fix skins model parse

1.8.8

29 Mar 22:33
Compare
Choose a tag to compare
  • Improve imports

1.8.7

29 Mar 22:12
Compare
Choose a tag to compare
  • Fix subdomain check

1.8.6

29 Mar 21:42
Compare
Choose a tag to compare
  • Fix proxy suffix

1.8.5

29 Mar 21:35
Compare
Choose a tag to compare
  • rendersIgnoreProxy option from NameMC.

1.8.4

28 Mar 10:46
Compare
Choose a tag to compare

1.8.3

28 Mar 10:12
Compare
Choose a tag to compare
  • Improve types.

1.8.1

28 Mar 01:08
Compare
Choose a tag to compare
  • defaultSkinsModel options for NameMC class