Releases: copilot-extensions/preview-sdk.js
Releases · copilot-extensions/preview-sdk.js
v5.0.1
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();
v4.0.3
v4.0.2
v4.0.1
v4.0.0
BREAKING CHANGES
- All
create*Event
methods now return a string instead
of an object with a.toString()
method.
Before:
esponse.write(createTextEvent("Hello, world!").toString());
Now:
esponse.write(createTextEvent("Hello, world!"));