Skip to content

Commit

Permalink
Export all errors from SPA-JS
Browse files Browse the repository at this point in the history
  • Loading branch information
frederikprijck committed Oct 31, 2023
1 parent 30e1707 commit 3c2e3af
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export {
Auth0ProviderOptions,
AppState,
} from './auth0-provider';
export { default as useAuth0 } from './use-auth0';
export { default as useAuth0, useCustomAuth0 } from './use-auth0';
export { default as withAuth0, WithAuth0Props } from './with-auth0';
export {
default as withAuthenticationRequired,
Expand All @@ -30,5 +30,11 @@ export {
InMemoryCache,
LocalStorageCache,
Cacheable,
TimeoutError,
MfaRequiredError,
PopupCancelledError,
PopupTimeoutError,
AuthenticationError,
MissingRefreshTokenError,
} from '@auth0/auth0-spa-js';
export { OAuthError } from './errors';

0 comments on commit 3c2e3af

Please sign in to comment.