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 1515 * limitations under the License.
1616 */
1717
18- import { FirebaseApp } from '@firebase/app-exp' ;
18+ import { FirebaseApp , _getProvider } from '@firebase/app-exp' ;
1919
2020import { initializeAuth } from './src' ;
2121import { registerAuth } from './src/core/auth/register' ;
@@ -65,7 +65,6 @@ import {
6565 UserProfile ,
6666 PhoneInfoOptions
6767} from '@firebase/auth-types-exp' ;
68- import { _getProvider } from '@firebase/app-exp' ;
6968
7069// Public types
7170export {
Original file line number Diff line number Diff line change @@ -168,6 +168,11 @@ export class RecaptchaVerifier
168168 this . auth ,
169169 AuthErrorCode . ARGUMENT_ERROR
170170 ) ;
171+ _assert (
172+ typeof document !== 'undefined' ,
173+ this . auth ,
174+ AuthErrorCode . OPERATION_NOT_SUPPORTED
175+ ) ;
171176 }
172177
173178 private makeTokenCallback (
You can’t perform that action at this time.
0 commit comments