Skip to content

Commit

Permalink
fix: auth export format
Browse files Browse the repository at this point in the history
  • Loading branch information
duncangrubbs committed May 1, 2024
1 parent 83e5747 commit b97bd6a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import {
} from './middleware/index.js'
import { Middleware } from './shared-types/middleware.type.js'
import { HttpApi } from './lib/http-api.service.js'
import Auth from './lib/auth.service.js'
import { OzzzyAuth } from './lib/auth.service.js'
import { AuthTypes } from './shared-types/auth-types.enum.js'
import { RestMethods } from './shared-types/rest-methods.enum.js'
import { logger as loggerUtil } from './utils/logger.js'

export {
HttpApi,
Auth,
OzzzyAuth,
RestMethods,
type Middleware,
AuthTypes,
Expand Down
4 changes: 1 addition & 3 deletions src/lib/auth.service.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { AuthTypes } from '../shared-types/auth-types.enum.js'
import { AuthProvider } from '../shared-types/auth.type.js'

class OzzzyAuth implements AuthProvider {
export class OzzzyAuth implements AuthProvider {
type: AuthTypes
token: string
header: string
Expand All @@ -21,5 +21,3 @@ class OzzzyAuth implements AuthProvider {
}
}
}

export default OzzzyAuth

0 comments on commit b97bd6a

Please sign in to comment.