UNPKG

rivalsjs

Version:

<h1 align="center"> Rivals JS </h1>

87 lines (52 loc) 5.69 kB
# Changelog ## [1.2.0](https://github.com/MatthewSH/rivalsjs/compare/v1.1.0...v1.2.0) (2025-07-07) ### Features * allow disabling of rate limit header verification ([17a9ccf](https://github.com/MatthewSH/rivalsjs/commit/17a9ccfc11031fda209746ebbe34c926f19d6518)) ## [1.1.0](https://github.com/MatthewSH/rivalsjs/compare/v1.0.4...v1.1.0) (2025-07-07) ### Features * add single match route ([54261e4](https://github.com/MatthewSH/rivalsjs/commit/54261e4a20e049cef682cbbf86e202b3cc6f0b18)) ### Bug Fixes * support alternative cache header ([cef4a7e](https://github.com/MatthewSH/rivalsjs/commit/cef4a7e0535fea29c9f69ec0fac62b53584bc429)) ## [1.0.4](https://github.com/MatthewSH/rivalsjs/compare/v1.0.3...v1.0.4) (2025-07-06) ### Bug Fixes * provenance generation ([ad76cf2](https://github.com/MatthewSH/rivalsjs/commit/ad76cf27f03ef1eed77038f966dc3249bec8d9b8)) ## [1.0.3](https://github.com/MatthewSH/rivalsjs/compare/v1.0.2...v1.0.3) (2025-07-05) ### Bug Fixes * comments and typings ([e3adace](https://github.com/MatthewSH/rivalsjs/commit/e3adace6502e83127927e5fdf131813943aa291f)) * **skip-ci:** another releaseplease change ([bbc875e](https://github.com/MatthewSH/rivalsjs/commit/bbc875e05def9a16392c03c741ab4023babea9c3)) * **skip-ci:** npm publish ([a35d76f](https://github.com/MatthewSH/rivalsjs/commit/a35d76f9d5676203d1eef14e69a7a139cd21b807)) ## [1.0.2](https://github.com/MatthewSH/rivalsjs/compare/v1.0.1...v1.0.2) (2025-07-03) ### Bug Fixes * point to correct repo ([d2eebf5](https://github.com/MatthewSH/rivalsjs/commit/d2eebf56502e3e25ef91a7eaf4a24a1a2d5ac5ac)) ## [1.0.1](https://github.com/MatthewSH/rivalsjs/compare/v1.0.0...v1.0.1) (2025-07-03) ### Bug Fixes * release please job ([3ee3b30](https://github.com/MatthewSH/rivalsjs/commit/3ee3b307fcd04423bd0aa2676faf6b0a38a8cdb1)) ## 1.0.0 (2025-07-03) ### Features * **achievements:** add single achievement ([1315983](https://github.com/MatthewSH/rivalsjs/commit/131598372ae419ef55f4b69bcaa5608b1b7b91ed)) * **achievements:** refactor achievements retrieval and response transformation ([e18de82](https://github.com/MatthewSH/rivalsjs/commit/e18de8282014ca16d6498ae0c1ab29675f82e172)) * add camel case transformation utilities and update health check response handling ([42e8fa6](https://github.com/MatthewSH/rivalsjs/commit/42e8fa681a34571e3a188b720c127617d07599ac)) * add camel case utilities and update API response handling ([3666f48](https://github.com/MatthewSH/rivalsjs/commit/3666f48633aa2c454fdf705bd4abd561acf9aa1a)) * add JSDoc comments for createRivalsClient and player functions ([243f1d7](https://github.com/MatthewSH/rivalsjs/commit/243f1d725c407c2a26e55a0159b09e1e38ea4e02)) * add logger with pino and update axios user agent logging ([c575ca4](https://github.com/MatthewSH/rivalsjs/commit/c575ca42e3e2e6122e6e320a82a104a00a3dd9dd)) * add release workflow ([fb3849f](https://github.com/MatthewSH/rivalsjs/commit/fb3849f5020337828bba0fcb127ed70b88d1d48c)) * add user agent to headers ([6336677](https://github.com/MatthewSH/rivalsjs/commit/6336677ad0a22dcf26e47e00b1dbe0c3d8858ed4)) * **client:** add retryOnRateLimit option and add more logging ([5df1a60](https://github.com/MatthewSH/rivalsjs/commit/5df1a60ca2d995a44fc13749ea461193b2a2b69c)) * **heroes:** add hero types and API ([02a0103](https://github.com/MatthewSH/rivalsjs/commit/02a0103eb42edceb6efc88047d96c9b6b5c4a52d)) * initialize project structure and some base ([7d0234a](https://github.com/MatthewSH/rivalsjs/commit/7d0234a50996984c94723aad57006dcf4a322019)) * **maps:** add all maps ([f040f57](https://github.com/MatthewSH/rivalsjs/commit/f040f57b5700e49e57a4c4bdc7e80c071409a295)) * **player:** add findPlayer API and related types ([43731e7](https://github.com/MatthewSH/rivalsjs/commit/43731e7b63a48cd7c318e39cf8a93ac8748e5605)) * **player:** add getPlayer API and response transformation ([ce47741](https://github.com/MatthewSH/rivalsjs/commit/ce4774150c96f78d85630cfa6bf508513811d990)) * **player:** add getPlayerMatchHistory and transformer ([cf93d47](https://github.com/MatthewSH/rivalsjs/commit/cf93d4733470f19262d5157bc7c5b9db01570599)) * **player:** add updatePlayer and response transformer ([f69449e](https://github.com/MatthewSH/rivalsjs/commit/f69449e4a475097948b63c853c7be74c354e0c68)) * prep for axios replace ([aba31dd](https://github.com/MatthewSH/rivalsjs/commit/aba31ddb551c1bc8a8fda0e7d8efec5697a063ec)) * update axios headers and refactor health check response handling ([9981362](https://github.com/MatthewSH/rivalsjs/commit/99813620def8d940829dcda07e6c740412706075)) * **v2:** add initial base for v2 API ([6fc6aed](https://github.com/MatthewSH/rivalsjs/commit/6fc6aedb464b87d1b276a1a5a1a48f0fbc058b0a)) ### Bug Fixes * correct asset URL formatting ([a0d8714](https://github.com/MatthewSH/rivalsjs/commit/a0d87149b17fa7631237abd4e06f5f07cb1d40d7)) * correct spelling of 'vulnerability' in security policy ([9733adb](https://github.com/MatthewSH/rivalsjs/commit/9733adba105a7d8edb46d19d75e4c4a0e4164533)) * handle missing rate limit header for healthcheck endpoint ([1d557b1](https://github.com/MatthewSH/rivalsjs/commit/1d557b1ba6daaba72058ab91141c2cf18b11f920)) * handle null input in convertToAssetUrl function ([f7710ed](https://github.com/MatthewSH/rivalsjs/commit/f7710eded10c983b6af84203309e781fdecff033)) * i hate workflows ([9ac2b2e](https://github.com/MatthewSH/rivalsjs/commit/9ac2b2e585a2f9ef2f6f9d98ac9b89385ffd438f)) * improve rate limit header logging ([5f7cb5e](https://github.com/MatthewSH/rivalsjs/commit/5f7cb5e4c6a3c68bd308bb0cbd8356be7d855d07)) * typing location ([d86d15b](https://github.com/MatthewSH/rivalsjs/commit/d86d15b7d1516328ad5fe0bd317b861035390e64))