v0.27.1
gonzalogarciajaubert
released this
22 Apr 14:25
·
829 commits
to main
since this release
The token verifier publicKey
is now a Promise<string>
instead of a string
to allow Booster to block the execution while verifying tokens. This is a small breaking change. You will need to upgrade your code to use a Promise or simple use Promise.resolve
. Example
publicKey: Promise.resolve(
fs.readFileSync(path.join(__dirname, '..', '..', 'assets', 'certs', 'public.key'), 'utf8')
),
What's Changed
- Promisified public key field in the token verifier config by @javiertoledo in #1067
Full Changelog: v0.27.0...v0.27.1