Skip to content

Commit

Permalink
v0.8.0
Browse files Browse the repository at this point in the history
changes:

* avoids initial refresh when user has no session (#61)
* throws error instead of returning stale access tokens when offline
  (#63)

fixes:

* properly exports `OnRefreshResponse` type
  • Loading branch information
cmatheson committed Dec 31, 2024
1 parent e50c0f7 commit 13f3f14
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@workos-inc/authkit-js",
"version": "0.7.3",
"version": "0.8.0",
"description": "AuthKit SDK",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export { createClient } from "./create-client";
export { getClaims } from "./utils/session-data";
export { User, AuthenticationResponse } from "./interfaces";
export { User, AuthenticationResponse, OnRefreshResponse } from "./interfaces";
export { AuthKitError, LoginRequiredError } from "./errors";

0 comments on commit 13f3f14

Please sign in to comment.