File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/platform_browser/recaptcha Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
- import { FirebaseApp } from '@firebase/app-exp' ;
18
+ import { FirebaseApp , _getProvider } from '@firebase/app-exp' ;
19
19
20
20
import { initializeAuth } from './src' ;
21
21
import { registerAuth } from './src/core/auth/register' ;
@@ -65,7 +65,6 @@ import {
65
65
UserProfile ,
66
66
PhoneInfoOptions
67
67
} from '@firebase/auth-types-exp' ;
68
- import { _getProvider } from '@firebase/app-exp' ;
69
68
70
69
// Public types
71
70
export {
Original file line number Diff line number Diff line change @@ -168,6 +168,11 @@ export class RecaptchaVerifier
168
168
this . auth ,
169
169
AuthErrorCode . ARGUMENT_ERROR
170
170
) ;
171
+ _assert (
172
+ typeof document !== 'undefined' ,
173
+ this . auth ,
174
+ AuthErrorCode . OPERATION_NOT_SUPPORTED
175
+ ) ;
171
176
}
172
177
173
178
private makeTokenCallback (
You can’t perform that action at this time.
0 commit comments