All notable changes to the project will be documented in this file.
4.0.1 (2022-08-27)
- add base64url without buffer (7dc8d53)
4.0.0 (2022-08-25)
- feat!: remove buffer (08856ac)
- Removes the
buffer
dependency and switches to the more modern Uint8Array
3.1.1 (2022-06-01)
- allow compressed private keys (a7cfc6a)
3.1.0 (2022-05-31)
- replace crypto dependencies (50bc8eb)
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Added async functions that use Web Crypto API used for hashing, if available. Otherwise uses the Node.js
crypto
module.
- No longer exporting buggy
@types/bn.js
package. Lib consumers no longer require enabling synthetic default imports.
- Fixed bug with type packages listed in
devDependencies
instead ofdependencies
.
- Added types to TokenInterface.
- Ported to Typescript.
- We now have an .eslintrc definition and code that passes that linting spec.
- You can now add custom header fields to the JWS header by passing
an object to the
TokenSigner.sign()
method'scustomHeader
parameter.
- Use
Buffer.from
instead of deprecatednew Buffer()