Skip to content

Releases: copilot-extensions/preview-sdk.js

v2.4.0

02 Sep 22:47
6cd9abf
Compare
Choose a tag to compare

2.4.0 (2024-09-02)

Features

v2.3.0

02 Sep 03:16
730db8c
Compare
Choose a tag to compare

2.3.0 (2024-09-02)

Features

v2.2.0

01 Sep 02:22
2e4c32f
Compare
Choose a tag to compare

2.2.0 (2024-09-01)

Features

  • parseRequestBody(), transformPayloadForOpenAICompatibility(), verifyAndParseRequest(), getUserMessage(), getUserConfirmation() (#34) (2e4c32f)

v2.1.0

31 Aug 23:12
2c0e04f
Compare
Choose a tag to compare

2.1.0 (2024-08-31)

Features

  • createAckEvent(), createTextEvent(), createConfirmationEvent(), createReferencesEvent(), createErrorsEvent(), createDoneEvent() (#32) (2c0e04f)

v2.0.0

28 Aug 19:07
c2cc765
Compare
Choose a tag to compare

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 });

Features

  • verifyRequestByKeyId(), verifyRequest(), fetchVerificationKeys() (#8) (c2cc765)

v1.0.0

26 Aug 21:54
5338d71
Compare
Choose a tag to compare

1.0.0 (2024-08-26)

Features