Skip to content

Commit e4f39e0

Browse files
committed
v0.8.0
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
1 parent fbadeb6 commit e4f39e0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@workos-inc/authkit-js",
3-
"version": "0.7.3",
3+
"version": "0.8.0",
44
"description": "AuthKit SDK",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
export { createClient } from "./create-client";
22
export { getClaims } from "./utils/session-data";
3-
export { User, AuthenticationResponse } from "./interfaces";
3+
export { User, AuthenticationResponse, OnRefreshResponse } from "./interfaces";
44
export { AuthKitError, LoginRequiredError } from "./errors";

0 commit comments

Comments
 (0)