diff --git a/.changeset/token-source.md b/.changeset/token-source.md deleted file mode 100644 index b25a7237..00000000 --- a/.changeset/token-source.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'livekit-server-sdk': minor ---- - -Add a `tokenProvider` client option, which gets the token for each call from the grants the call needs, in place of signing it with an API key and secret. Add `AccessToken.toClaimsJson()`, which returns the claims as JSON without signing them; an `AccessToken` now needs an API key and secret only to sign. diff --git a/packages/livekit-server-sdk/CHANGELOG.md b/packages/livekit-server-sdk/CHANGELOG.md index dd8b0827..ca6b761c 100644 --- a/packages/livekit-server-sdk/CHANGELOG.md +++ b/packages/livekit-server-sdk/CHANGELOG.md @@ -1,5 +1,11 @@ # livekit-server-sdk +## 2.20.0 + +### Minor Changes + +- Add a `tokenProvider` client option, which gets the token for each call from the grants the call needs, in place of signing it with an API key and secret. Add `AccessToken.toClaimsJson()`, which returns the claims as JSON without signing them; an `AccessToken` now needs an API key and secret only to sign. - [#782](https://github.com/livekit/node-sdks/pull/782) ([@davidzhao](https://github.com/davidzhao)) + ## 2.19.3 ### Patch Changes diff --git a/packages/livekit-server-sdk/package.json b/packages/livekit-server-sdk/package.json index 0612d44c..8e5e1b7f 100644 --- a/packages/livekit-server-sdk/package.json +++ b/packages/livekit-server-sdk/package.json @@ -1,6 +1,6 @@ { "name": "livekit-server-sdk", - "version": "2.19.3", + "version": "2.20.0", "description": "Server-side SDK for LiveKit", "main": "dist/index.js", "require": "dist/index.cjs",