v5.0.0
5.0.0 (2024-09-18)
Features
BREAKING CHANGES
verifyRequestByKeyId() now returns an object with a
isValidproperty and a
cache` property.
Before
const isValid = await verifyRequestByKeyId();
After
const { isValid, cache } = await verifyRequestByKeyId();
fetchVerificationKeys()
now returns an object with a
keys
property and acache
property.
Before
const keys = await fetchVerificationKeys();
After
const { keys, cache } = await fetchVerificationKeys();