File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
auth/src/platform_browser Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,9 @@ export function getAuth(app: FirebaseApp = getApp()): Auth {
89
89
const authTokenSyncUrl = getExperimentalSetting ( 'authTokenSyncURL' ) ;
90
90
if ( authTokenSyncUrl ) {
91
91
const mintCookie = mintCookieFactory ( authTokenSyncUrl ) ;
92
- beforeAuthStateChanged ( auth , mintCookie , ( ) => mintCookie ( auth . currentUser ) ) ;
92
+ beforeAuthStateChanged ( auth , mintCookie , ( ) =>
93
+ mintCookie ( auth . currentUser )
94
+ ) ;
93
95
onIdTokenChanged ( auth , user => mintCookie ( user ) ) ;
94
96
}
95
97
Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ export type ExperimentalKey = 'authTokenSyncURL' | 'authIdTokenMaxAge';
28
28
* An object that can be injected into the environment as __FIREBASE_DEFAULTS__,
29
29
* either as a property of globalThis, a shell environment variable, or a
30
30
* cookie.
31
- *
31
+ *
32
32
* This object can be used to automatically configure and initialize
33
33
* a Firebase app as well as any emulators.
34
- *
34
+ *
35
35
* @public
36
36
*/
37
37
export interface FirebaseDefaults {
@@ -111,8 +111,9 @@ const getDefaults = (): FirebaseDefaults | undefined =>
111
111
* for the given product.
112
112
* @public
113
113
*/
114
- export const getDefaultEmulatorHost = ( productName : string ) : string | undefined =>
115
- getDefaults ( ) ?. emulatorHosts ?. [ productName ] ;
114
+ export const getDefaultEmulatorHost = (
115
+ productName : string
116
+ ) : string | undefined => getDefaults ( ) ?. emulatorHosts ?. [ productName ] ;
116
117
117
118
/**
118
119
* Returns Firebase app config stored in the __FIREBASE_DEFAULTS__ object.
You can’t perform that action at this time.
0 commit comments