Skip to content

Commit

Permalink
add to edge as well
Browse files Browse the repository at this point in the history
  • Loading branch information
benevbright committed Oct 2, 2023
1 parent 81bfca9 commit 670f8f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/edge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
HandleLogout,
HandleProfile,
SessionCache,
TouchSession,
UpdateSession,
WithApiAuthRequired,
WithPageAuthRequired,
Expand Down Expand Up @@ -65,6 +66,7 @@ const getSessionCache = () => getInstance().sessionCache;
export const getSession: GetSession = (...args) => getInstance().getSession(...args);
export const updateSession: UpdateSession = (...args) => getInstance().updateSession(...args);
export const getAccessToken: GetAccessToken = (...args) => getInstance().getAccessToken(...args);
export const touchSession: TouchSession = (...args) => getInstance().touchSession(...args);
export const withApiAuthRequired: WithApiAuthRequired = (...args) =>
(getInstance().withApiAuthRequired as any)(...args);
export const withPageAuthRequired: WithPageAuthRequired = withPageAuthRequiredFactory(getLoginUrl(), getSessionCache);
Expand Down

0 comments on commit 670f8f5

Please sign in to comment.