Skip to content

@labdigital/[email protected]

Compare
Choose a tag to compare
@github-actions github-actions released this 26 May 10:44
· 12 commits to main since this release

Major Changes

  • abf409b: Switch to ESM only builds

Minor Changes

  • 3d5baf8: Add ability to set custom expires time for the various cookies. For example:

    const cookieTokenSource = new CookieTokenSource({
      secure: true,
      sameSite: "strict",
      refreshTokenPath: "/refresh",
      userToken: {
        expiresIn: 30 * 24 * 60 * 60, // 30 days
      },
    });

    This will set the user token cookie to expire in 30 days. The default value is when
    the browser is closed.

Patch Changes