Skip to content

Commit 8d13839

Browse files
Merge pull request #56 from CalvinWalzel/patch-4
Add initAuth export to index
2 parents 0164f35 + adfe87c commit 8d13839

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/index.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
import setupServiceModule from './service-module/service-module'
22
import setupAuthModule from './auth-module/auth-module'
3+
import { initAuth } from './utils'
34

45
const globalDefaults = {
56
idField: 'id', // The field in each record that will contain the id
67
autoRemove: false, // automatically remove records missing from responses (only use with feathers-rest)
78
nameStyle: 'short' // Determines the source of the module name. 'short', 'path', or 'explicit'
89
}
910

11+
export { initAuth }
12+
1013
export default function (feathersClient, globalOptions = {}) {
1114
globalOptions = Object.assign({}, globalDefaults, globalOptions)
1215

0 commit comments

Comments
 (0)