Skip to content

Commit

Permalink
Export MfaRequiredError
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck committed Sep 8, 2021
1 parent 6f5dced commit 4d9fa48
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/index.cjs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import createAuth0Client, {
GenericError,
AuthenticationError,
TimeoutError,
PopupTimeoutError
PopupTimeoutError,
MfaRequiredError
} from './index';

/**
Expand All @@ -17,5 +18,6 @@ wrapper.GenericError = GenericError;
wrapper.AuthenticationError = AuthenticationError;
wrapper.TimeoutError = TimeoutError;
wrapper.PopupTimeoutError = PopupTimeoutError;
wrapper.MfaRequiredError = MfaRequiredError;

export default wrapper;
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ export {
AuthenticationError,
TimeoutError,
PopupTimeoutError,
PopupCancelledError
PopupCancelledError,
MfaRequiredError
} from './errors';

export { ICache, LocalStorageCache, InMemoryCache, Cacheable } from './cache';

0 comments on commit 4d9fa48

Please sign in to comment.