diff --git a/src/index.cjs.ts b/src/index.cjs.ts index 921737d14..ab2f5c971 100644 --- a/src/index.cjs.ts +++ b/src/index.cjs.ts @@ -3,7 +3,8 @@ import createAuth0Client, { GenericError, AuthenticationError, TimeoutError, - PopupTimeoutError + PopupTimeoutError, + MfaRequiredError } from './index'; /** @@ -17,5 +18,6 @@ wrapper.GenericError = GenericError; wrapper.AuthenticationError = AuthenticationError; wrapper.TimeoutError = TimeoutError; wrapper.PopupTimeoutError = PopupTimeoutError; +wrapper.MfaRequiredError = MfaRequiredError; export default wrapper; diff --git a/src/index.ts b/src/index.ts index 8c8928cb2..d32417312 100644 --- a/src/index.ts +++ b/src/index.ts @@ -29,7 +29,8 @@ export { AuthenticationError, TimeoutError, PopupTimeoutError, - PopupCancelledError + PopupCancelledError, + MfaRequiredError } from './errors'; export { ICache, LocalStorageCache, InMemoryCache, Cacheable } from './cache';