Repository navigation
v2.0.0
Features
Add Bean cosmetics and images
Add optional key argument for Client#stats()
Add response flags options for cosmetic and shop endpoints
Add ResponseFlags enum
Types
Re-type all nullable properties as optional
Add NewDisplayAsset#renderImages
Add ShopEntry#colors
Add default type generic to CosmeticSearchOptions
Update AnyCosmetic union type
Remove deprecated types
Update all types in accordance with Fortnite-API documentation
Refactors
Replace node-fetch package with the Node.js native Fetch API
- Node.js v18 or higher is now required.
Remove deprecated endpoints, functions, and types
Integrate Client#listCosmetics() into Client#cosmetics()
Rename Client#findCosmetic() to #brCosmeticsSearch()
Rename Client#filterCosmetics() to #brCosmeticsSearchAll()
Replace Client#brShop() and #newShop() with #shop()