Skip to content

v5.0.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 18 Sep 03:56
· 7 commits to main since this release
1f56d8e

5.0.0 (2024-09-18)

Features

  • support caching of verification kys (#81) (1f56d8e), closes #9

BREAKING CHANGES

  • verifyRequestByKeyId() now returns an object with a isValid property and acache` 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();