diff --git a/.changeset/cyan-apples-fold.md b/.changeset/cyan-apples-fold.md deleted file mode 100644 index 4e907c7b..00000000 --- a/.changeset/cyan-apples-fold.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@logto/client": patch ---- - -Use `requestedAt` + `expiresIn` to calculate an approximately `expiredAt` timestamp, in order to ensure it is always smaller than the actual `exp` timestamp in access token claims. diff --git a/packages/client/CHANGELOG.md b/packages/client/CHANGELOG.md index 25681223..681e8cfb 100644 --- a/packages/client/CHANGELOG.md +++ b/packages/client/CHANGELOG.md @@ -1,5 +1,11 @@ # Change Log +## 2.2.1 + +### Patch Changes + +- 5ed5b92: Use `requestedAt` + `expiresIn` to calculate an approximately `expiredAt` timestamp, in order to ensure it is always smaller than the actual `exp` timestamp in access token claims. + ## 2.2.0 ### Minor Changes diff --git a/packages/client/package.json b/packages/client/package.json index 55c1e800..0a7463fb 100644 --- a/packages/client/package.json +++ b/packages/client/package.json @@ -1,6 +1,6 @@ { "name": "@logto/client", - "version": "2.2.0", + "version": "2.2.1", "type": "module", "main": "./lib/index.cjs", "module": "./lib/index.js",