Skip to content

Conversation

@gr2m
Copy link
Contributor

@gr2m gr2m commented Aug 28, 2024

BREAKING CHANGE: verify() method has been replaced by verifyRequestByKeyId() for clarity

Before:

import { verify } from "@copilot-extensions/preview-sdk";
const payloadIsVerified = await verify(request.body, signature, keyId, { token });

After

import { verifyRequestByKeyId } from "@copilot-extensions/preview-sdk";
const payloadIsVerified = await verifyRequestByKeyId(request.body, signature, key, { token });

@gr2m gr2m marked this pull request as ready for review August 28, 2024 17:00
@gr2m gr2m merged commit c2cc765 into main Aug 28, 2024
@gr2m gr2m deleted the gr2m/2/verify-split branch August 28, 2024 19:07
@github-actions
Copy link

🎉 This issue has been resolved in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant