Releases: Luna-devv/lunify.js
Releases · Luna-devv/lunify.js
0.2.0
Features
- Add more infos to the error by @fb-sean (pull 2)
- Remove
client.fetchCredentials()
in favour of fetching credentials automatically (748f9d5)
Remove any
<Lunify>.fetchCredentials()
and<Lunify>.ready
snippets in your code to migrate, the<CredentialsManager>.getAuthorization()
method will now automatically fetch credentials if there weren't fetched before.
Full Changelog: v0.1.12...v0.2.0
0.1.12
0.1.9
0.1.8
0.1.7
Features
- add
UserOauth.isValid()
, uses current date and expiresTimestamp to check token validity (3b56649) - fix type for
UserOauth.refreshToken
,string
->string | null
(even if it shouldn't benull
) (3b56649)
Bug fixes
- use old access token on
OauthManager.refreshToken()
when spotify doesn't return new (9409609)
^ Bug was found and initially fixed by @Luna-devv (detailes); spotify API bug report found by @Digital39999; This fix is still being tested
Full Changelog: v0.1.1...v0.1.7