Skip to content

Commit bc51634

Browse files
committed
feat: export BASE_URL and Options interface
1 parent 4f5e721 commit bc51634

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
interface Options {
1+
export interface Options {
22
clientId: string
33

44
allowSignup?: boolean
@@ -21,7 +21,7 @@ export interface Result {
2121
url: string
2222
}
2323

24-
const BASE_URL = 'https://github.com/login/oauth/authorize'
24+
export const BASE_URL = 'https://github.com/login/oauth/authorize'
2525

2626
export function oauthLoginUrl (options: Options): Result {
2727
const scopesNormalized = typeof options.scopes === 'string'

0 commit comments

Comments
 (0)