Skip to content

Commit bc3eb13

Browse files
authored
Export initAuth from index
1 parent d4755dd commit bc3eb13

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import setupServiceModule from './service-module/service-module'
33
import setupAuthModule from './auth-module/auth-module'
44
import _merge from 'lodash.merge'
55
import _cloneDeep from 'lodash.clonedeep'
6-
import { normalizePath, makeConfig } from './utils'
6+
import { normalizePath, makeConfig, initAuth } from './utils'
77

88
const defaultOptions = {
99
idField: 'id', // The field in each record that will contain the id
@@ -20,6 +20,8 @@ const defaultOptions = {
2020
}
2121
}
2222

23+
export { initAuth }
24+
2325
export default function (clientOrStore, options = {}, modules = {}) {
2426
var theClone = _cloneDeep(defaultOptions)
2527
options = _merge(theClone, options)

0 commit comments

Comments
 (0)