Skip to content

Commit 730ac46

Browse files
committed
Minor optimisations to type exports and error messages
1 parent 7ffcaa0 commit 730ac46

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/index.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@ import {
1111
revokeToken,
1212
} from './Oauth';
1313

14-
export type { PopupConfiguration };
15-
export type { Token };
14+
export type { Token, PopupConfiguration };
1615

1716
export type AuthConfigurationInput = {
1817
domain?: string;
@@ -118,7 +117,7 @@ async function authenticate(configuration: AuthConfiguration, popUp: Popup): Pro
118117
}
119118

120119
POPUP_STATE.open = false;
121-
throw new AuthenticatorError('ERR_AUTH', 'Failed getting access token.');
120+
throw new AuthenticatorError('ERR_AUTH', 'Failed retrieving access token.');
122121
}
123122
}
124123

0 commit comments

Comments
 (0)