mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
1.0 KiB
1.0 KiB
Change log
Version 3.1.2
- Add a generic as return type so the user can specify what's expected, this will still be
unknown
by default - Export
JwtHeader
andJwtPayload
that can be used with the generic return type as-is or extended.
Version 3.1.0
- Add TypeScript type definition
- Fix CJS default export
Version 3.0.0
- Include an ESM build for native JavaScript imports
Warning: this version has some potentially breaking changes!
- If you've previously imported the library as
import * as jwt_decode from 'jwt-decode'
, you'll have to change your import toimport jwt_decode from 'jwt-decode';
.