File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
packages-exp/auth-compat-exp Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 22
22
* just use index.ts
23
23
*/
24
24
export * from './index' ;
25
- import { FetchProvider } from '@firebase/auth-exp/internal' ;
25
+ import { FetchProvider } from '@firebase/auth-exp/internal' ;
26
26
import * as fetchImpl from 'node-fetch' ;
27
27
28
28
FetchProvider . initialize (
29
29
( fetchImpl . default as unknown ) as typeof fetch ,
30
30
( fetchImpl . Headers as unknown ) as typeof Headers ,
31
31
( fetchImpl . Response as unknown ) as typeof Response
32
- ) ;
32
+ ) ;
Original file line number Diff line number Diff line change @@ -72,15 +72,13 @@ export class Auth
72
72
this . auth . _updateErrorMap ( exp . debugErrorMap ) ;
73
73
74
74
// Only use a popup/redirect resolver in browser environments
75
- const resolver = typeof window !== 'undefined' ? CompatPopupRedirectResolver : undefined ;
75
+ const resolver =
76
+ typeof window !== 'undefined' ? CompatPopupRedirectResolver : undefined ;
76
77
77
78
// This promise is intended to float; auth initialization happens in the
78
79
// background, meanwhile the auth object may be used by the app.
79
80
// eslint-disable-next-line @typescript-eslint/no-floating-promises
80
- this . auth . _initializeWithPersistence (
81
- hierarchy ,
82
- resolver
83
- ) ;
81
+ this . auth . _initializeWithPersistence ( hierarchy , resolver ) ;
84
82
}
85
83
86
84
get emulatorConfig ( ) : compat . EmulatorConfig | null {
You can’t perform that action at this time.
0 commit comments