Releases: copilot-extensions/preview-sdk.js
Releases · copilot-extensions/preview-sdk.js
v2.4.0
v2.3.0
v2.2.0
v2.1.0
v2.0.0
BREAKING CHANGES
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 });