File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 11< % const { serviceMapping, serviceOptions, writeImportStatement } = options % >
22
3- < % const hasOnAuthStateChangedMutation = ( typeof serviceOptions . initialize . onAuthStateChangedMutation === 'string' ) % >
4- < % const hasOnAuthStateChangedAction = ( typeof serviceOptions . initialize . onAuthStateChangedAction === 'string' ) % >
3+ < % const hasOnAuthStateChangedMutation = ( serviceOptions . initialize && typeof serviceOptions . initialize . onAuthStateChangedMutation === 'string' ) % >
4+ < % const hasOnAuthStateChangedAction = ( serviceOptions . initialize && typeof serviceOptions . initialize . onAuthStateChangedAction === 'string' ) % >
55< % const hasOnAuthStateChanged = ( hasOnAuthStateChangedMutation || hasOnAuthStateChangedAction ) % >
6- < % const onIdTokenChangedMutation = ( typeof serviceOptions . initialize . onIdTokenChangedMutation === 'string' ) % >
7- < % const onIdTokenChangedAction = ( typeof serviceOptions . initialize . onIdTokenChangedAction === 'string' ) % >
6+ < % const onIdTokenChangedMutation = ( serviceOptions . initialize && typeof serviceOptions . initialize . onIdTokenChangedMutation === 'string' ) % >
7+ < % const onIdTokenChangedAction = ( serviceOptions . initialize && typeof serviceOptions . initialize . onIdTokenChangedAction === 'string' ) % >
88< % const hasIdTokenChanged = ( onIdTokenChangedMutation || onIdTokenChangedAction ) % >
99
1010export default async function ( session , firebase , ctx , inject ) {
You can’t perform that action at this time.
0 commit comments