@firebase/auth-compat 0.5.15 → 0.5.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/auth-compat/index.d.ts +50 -50
- package/dist/auth-compat/index.node.d.ts +24 -24
- package/dist/auth-compat/scripts/run_node_tests.d.ts +17 -17
- package/dist/auth-compat/src/auth.d.ts +72 -72
- package/dist/auth-compat/src/auth.test.d.ts +17 -17
- package/dist/auth-compat/src/persistence.d.ts +29 -29
- package/dist/auth-compat/src/phone_auth_provider.d.ts +29 -29
- package/dist/auth-compat/src/platform.d.ts +39 -39
- package/dist/auth-compat/src/popup_redirect.d.ts +34 -34
- package/dist/auth-compat/src/popup_redirect.test.d.ts +17 -17
- package/dist/auth-compat/src/recaptcha_verifier.d.ts +28 -28
- package/dist/auth-compat/src/user.d.ts +64 -64
- package/dist/auth-compat/src/user_credential.d.ts +20 -20
- package/dist/auth-compat/src/wrap.d.ts +26 -26
- package/dist/auth-compat/test/helpers/helpers.d.ts +24 -24
- package/dist/auth-compat/test/integration/flows/anonymous.test.d.ts +17 -17
- package/dist/auth-compat/test/integration/flows/custom.test.d.ts +17 -17
- package/dist/auth-compat/test/integration/flows/email.test.d.ts +17 -17
- package/dist/auth-compat/test/integration/flows/idp.test.d.ts +17 -17
- package/dist/auth-compat/test/integration/flows/oob.test.d.ts +17 -17
- package/dist/auth-compat/test/integration/flows/phone.test.d.ts +17 -17
- package/dist/esm/auth-compat/index.d.ts +50 -50
- package/dist/esm/auth-compat/index.node.d.ts +24 -24
- package/dist/esm/auth-compat/scripts/run_node_tests.d.ts +17 -17
- package/dist/esm/auth-compat/src/auth.d.ts +72 -72
- package/dist/esm/auth-compat/src/auth.test.d.ts +17 -17
- package/dist/esm/auth-compat/src/persistence.d.ts +29 -29
- package/dist/esm/auth-compat/src/phone_auth_provider.d.ts +29 -29
- package/dist/esm/auth-compat/src/platform.d.ts +39 -39
- package/dist/esm/auth-compat/src/popup_redirect.d.ts +34 -34
- package/dist/esm/auth-compat/src/popup_redirect.test.d.ts +17 -17
- package/dist/esm/auth-compat/src/recaptcha_verifier.d.ts +28 -28
- package/dist/esm/auth-compat/src/user.d.ts +64 -64
- package/dist/esm/auth-compat/src/user_credential.d.ts +20 -20
- package/dist/esm/auth-compat/src/wrap.d.ts +26 -26
- package/dist/esm/auth-compat/test/helpers/helpers.d.ts +24 -24
- package/dist/esm/auth-compat/test/integration/flows/anonymous.test.d.ts +17 -17
- package/dist/esm/auth-compat/test/integration/flows/custom.test.d.ts +17 -17
- package/dist/esm/auth-compat/test/integration/flows/email.test.d.ts +17 -17
- package/dist/esm/auth-compat/test/integration/flows/idp.test.d.ts +17 -17
- package/dist/esm/auth-compat/test/integration/flows/oob.test.d.ts +17 -17
- package/dist/esm/auth-compat/test/integration/flows/phone.test.d.ts +17 -17
- package/dist/esm/index.node.esm.js +993 -993
- package/dist/esm/index.node.esm.js.map +1 -1
- package/dist/firebase-auth.js +1 -1
- package/dist/firebase-auth.js.map +1 -1
- package/dist/index.cjs.js +977 -977
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +977 -977
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.node.cjs.js +993 -993
- package/dist/index.node.cjs.js.map +1 -1
- package/package.json +7 -7
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2020 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2020 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import { FirebaseApp } from '@firebase/app-compat';
|
|
18
|
-
import * as exp from '@firebase/auth/internal';
|
|
19
|
-
import * as compat from '@firebase/auth-types';
|
|
20
|
-
import { Compat } from '@firebase/util';
|
|
21
|
-
export declare class RecaptchaVerifier implements compat.RecaptchaVerifier, Compat<exp.ApplicationVerifier> {
|
|
22
|
-
readonly _delegate: exp.RecaptchaVerifier;
|
|
23
|
-
type: string;
|
|
24
|
-
constructor(container: HTMLElement | string, parameters?: object | null, app?: FirebaseApp);
|
|
25
|
-
clear(): void;
|
|
26
|
-
render(): Promise<number>;
|
|
27
|
-
verify(): Promise<string>;
|
|
28
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import { FirebaseApp } from '@firebase/app-compat';
|
|
18
|
+
import * as exp from '@firebase/auth/internal';
|
|
19
|
+
import * as compat from '@firebase/auth-types';
|
|
20
|
+
import { Compat } from '@firebase/util';
|
|
21
|
+
export declare class RecaptchaVerifier implements compat.RecaptchaVerifier, Compat<exp.ApplicationVerifier> {
|
|
22
|
+
readonly _delegate: exp.RecaptchaVerifier;
|
|
23
|
+
type: string;
|
|
24
|
+
constructor(container: HTMLElement | string, parameters?: object | null, app?: FirebaseApp);
|
|
25
|
+
clear(): void;
|
|
26
|
+
render(): Promise<number>;
|
|
27
|
+
verify(): Promise<string>;
|
|
28
|
+
}
|
|
@@ -1,64 +1,64 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2020 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import * as exp from '@firebase/auth/internal';
|
|
18
|
-
import * as compat from '@firebase/auth-types';
|
|
19
|
-
import { Compat } from '@firebase/util';
|
|
20
|
-
export declare class User implements compat.User, Compat<exp.User> {
|
|
21
|
-
readonly _delegate: exp.User;
|
|
22
|
-
private static readonly USER_MAP;
|
|
23
|
-
readonly multiFactor: compat.MultiFactorUser;
|
|
24
|
-
private constructor();
|
|
25
|
-
static getOrCreate(user: exp.User): User;
|
|
26
|
-
delete(): Promise<void>;
|
|
27
|
-
reload(): Promise<void>;
|
|
28
|
-
toJSON(): object;
|
|
29
|
-
getIdTokenResult(forceRefresh?: boolean): Promise<compat.IdTokenResult>;
|
|
30
|
-
getIdToken(forceRefresh?: boolean): Promise<string>;
|
|
31
|
-
linkAndRetrieveDataWithCredential(credential: compat.AuthCredential): Promise<compat.UserCredential>;
|
|
32
|
-
linkWithCredential(credential: compat.AuthCredential): Promise<compat.UserCredential>;
|
|
33
|
-
linkWithPhoneNumber(phoneNumber: string, applicationVerifier: compat.ApplicationVerifier): Promise<compat.ConfirmationResult>;
|
|
34
|
-
linkWithPopup(provider: compat.AuthProvider): Promise<compat.UserCredential>;
|
|
35
|
-
linkWithRedirect(provider: compat.AuthProvider): Promise<void>;
|
|
36
|
-
reauthenticateAndRetrieveDataWithCredential(credential: compat.AuthCredential): Promise<compat.UserCredential>;
|
|
37
|
-
reauthenticateWithCredential(credential: compat.AuthCredential): Promise<compat.UserCredential>;
|
|
38
|
-
reauthenticateWithPhoneNumber(phoneNumber: string, applicationVerifier: compat.ApplicationVerifier): Promise<compat.ConfirmationResult>;
|
|
39
|
-
reauthenticateWithPopup(provider: compat.AuthProvider): Promise<compat.UserCredential>;
|
|
40
|
-
reauthenticateWithRedirect(provider: compat.AuthProvider): Promise<void>;
|
|
41
|
-
sendEmailVerification(actionCodeSettings?: compat.ActionCodeSettings | null): Promise<void>;
|
|
42
|
-
unlink(providerId: string): Promise<compat.User>;
|
|
43
|
-
updateEmail(newEmail: string): Promise<void>;
|
|
44
|
-
updatePassword(newPassword: string): Promise<void>;
|
|
45
|
-
updatePhoneNumber(phoneCredential: compat.AuthCredential): Promise<void>;
|
|
46
|
-
updateProfile(profile: {
|
|
47
|
-
displayName?: string | null;
|
|
48
|
-
photoURL?: string | null;
|
|
49
|
-
}): Promise<void>;
|
|
50
|
-
verifyBeforeUpdateEmail(newEmail: string, actionCodeSettings?: compat.ActionCodeSettings | null): Promise<void>;
|
|
51
|
-
get emailVerified(): boolean;
|
|
52
|
-
get isAnonymous(): boolean;
|
|
53
|
-
get metadata(): compat.UserMetadata;
|
|
54
|
-
get phoneNumber(): string | null;
|
|
55
|
-
get providerData(): Array<compat.UserInfo | null>;
|
|
56
|
-
get refreshToken(): string;
|
|
57
|
-
get tenantId(): string | null;
|
|
58
|
-
get displayName(): string | null;
|
|
59
|
-
get email(): string | null;
|
|
60
|
-
get photoURL(): string | null;
|
|
61
|
-
get providerId(): string;
|
|
62
|
-
get uid(): string;
|
|
63
|
-
private get auth();
|
|
64
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import * as exp from '@firebase/auth/internal';
|
|
18
|
+
import * as compat from '@firebase/auth-types';
|
|
19
|
+
import { Compat } from '@firebase/util';
|
|
20
|
+
export declare class User implements compat.User, Compat<exp.User> {
|
|
21
|
+
readonly _delegate: exp.User;
|
|
22
|
+
private static readonly USER_MAP;
|
|
23
|
+
readonly multiFactor: compat.MultiFactorUser;
|
|
24
|
+
private constructor();
|
|
25
|
+
static getOrCreate(user: exp.User): User;
|
|
26
|
+
delete(): Promise<void>;
|
|
27
|
+
reload(): Promise<void>;
|
|
28
|
+
toJSON(): object;
|
|
29
|
+
getIdTokenResult(forceRefresh?: boolean): Promise<compat.IdTokenResult>;
|
|
30
|
+
getIdToken(forceRefresh?: boolean): Promise<string>;
|
|
31
|
+
linkAndRetrieveDataWithCredential(credential: compat.AuthCredential): Promise<compat.UserCredential>;
|
|
32
|
+
linkWithCredential(credential: compat.AuthCredential): Promise<compat.UserCredential>;
|
|
33
|
+
linkWithPhoneNumber(phoneNumber: string, applicationVerifier: compat.ApplicationVerifier): Promise<compat.ConfirmationResult>;
|
|
34
|
+
linkWithPopup(provider: compat.AuthProvider): Promise<compat.UserCredential>;
|
|
35
|
+
linkWithRedirect(provider: compat.AuthProvider): Promise<void>;
|
|
36
|
+
reauthenticateAndRetrieveDataWithCredential(credential: compat.AuthCredential): Promise<compat.UserCredential>;
|
|
37
|
+
reauthenticateWithCredential(credential: compat.AuthCredential): Promise<compat.UserCredential>;
|
|
38
|
+
reauthenticateWithPhoneNumber(phoneNumber: string, applicationVerifier: compat.ApplicationVerifier): Promise<compat.ConfirmationResult>;
|
|
39
|
+
reauthenticateWithPopup(provider: compat.AuthProvider): Promise<compat.UserCredential>;
|
|
40
|
+
reauthenticateWithRedirect(provider: compat.AuthProvider): Promise<void>;
|
|
41
|
+
sendEmailVerification(actionCodeSettings?: compat.ActionCodeSettings | null): Promise<void>;
|
|
42
|
+
unlink(providerId: string): Promise<compat.User>;
|
|
43
|
+
updateEmail(newEmail: string): Promise<void>;
|
|
44
|
+
updatePassword(newPassword: string): Promise<void>;
|
|
45
|
+
updatePhoneNumber(phoneCredential: compat.AuthCredential): Promise<void>;
|
|
46
|
+
updateProfile(profile: {
|
|
47
|
+
displayName?: string | null;
|
|
48
|
+
photoURL?: string | null;
|
|
49
|
+
}): Promise<void>;
|
|
50
|
+
verifyBeforeUpdateEmail(newEmail: string, actionCodeSettings?: compat.ActionCodeSettings | null): Promise<void>;
|
|
51
|
+
get emailVerified(): boolean;
|
|
52
|
+
get isAnonymous(): boolean;
|
|
53
|
+
get metadata(): compat.UserMetadata;
|
|
54
|
+
get phoneNumber(): string | null;
|
|
55
|
+
get providerData(): Array<compat.UserInfo | null>;
|
|
56
|
+
get refreshToken(): string;
|
|
57
|
+
get tenantId(): string | null;
|
|
58
|
+
get displayName(): string | null;
|
|
59
|
+
get email(): string | null;
|
|
60
|
+
get photoURL(): string | null;
|
|
61
|
+
get providerId(): string;
|
|
62
|
+
get uid(): string;
|
|
63
|
+
private get auth();
|
|
64
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2020 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import * as exp from '@firebase/auth/internal';
|
|
18
|
-
import * as compat from '@firebase/auth-types';
|
|
19
|
-
export declare function convertCredential(auth: exp.Auth, credentialPromise: Promise<exp.UserCredential>): Promise<compat.UserCredential>;
|
|
20
|
-
export declare function convertConfirmationResult(auth: exp.Auth, confirmationResultPromise: Promise<exp.ConfirmationResult>): Promise<compat.ConfirmationResult>;
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import * as exp from '@firebase/auth/internal';
|
|
18
|
+
import * as compat from '@firebase/auth-types';
|
|
19
|
+
export declare function convertCredential(auth: exp.Auth, credentialPromise: Promise<exp.UserCredential>): Promise<compat.UserCredential>;
|
|
20
|
+
export declare function convertConfirmationResult(auth: exp.Auth, confirmationResultPromise: Promise<exp.ConfirmationResult>): Promise<compat.ConfirmationResult>;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2020 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
/** Forward direction wrapper from Compat --unwrap-> Exp */
|
|
18
|
-
export interface Wrapper<T> {
|
|
19
|
-
unwrap(): T;
|
|
20
|
-
}
|
|
21
|
-
/** Reverse direction wrapper from Exp --wrapped--> Compat */
|
|
22
|
-
export interface ReverseWrapper<T> {
|
|
23
|
-
wrapped(): T;
|
|
24
|
-
}
|
|
25
|
-
export declare function unwrap<T>(object: unknown): T;
|
|
26
|
-
export declare function wrapped<T>(object: unknown): T;
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
/** Forward direction wrapper from Compat --unwrap-> Exp */
|
|
18
|
+
export interface Wrapper<T> {
|
|
19
|
+
unwrap(): T;
|
|
20
|
+
}
|
|
21
|
+
/** Reverse direction wrapper from Exp --wrapped--> Compat */
|
|
22
|
+
export interface ReverseWrapper<T> {
|
|
23
|
+
wrapped(): T;
|
|
24
|
+
}
|
|
25
|
+
export declare function unwrap<T>(object: unknown): T;
|
|
26
|
+
export declare function wrapped<T>(object: unknown): T;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2020 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import '@firebase/auth-compat';
|
|
18
|
-
import { Provider } from '@firebase/component';
|
|
19
|
-
import '../..';
|
|
20
|
-
export declare const FAKE_HEARTBEAT_CONTROLLER_PROVIDER: Provider<"heartbeat">;
|
|
21
|
-
export declare const FAKE_APP_CHECK_CONTROLLER_PROVIDER: Provider<"app-check-internal">;
|
|
22
|
-
export declare function initializeTestInstance(): void;
|
|
23
|
-
export declare function cleanUpTestInstance(): Promise<void>;
|
|
24
|
-
export declare function randomEmail(): string;
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import '@firebase/auth-compat';
|
|
18
|
+
import { Provider } from '@firebase/component';
|
|
19
|
+
import '../..';
|
|
20
|
+
export declare const FAKE_HEARTBEAT_CONTROLLER_PROVIDER: Provider<"heartbeat">;
|
|
21
|
+
export declare const FAKE_APP_CHECK_CONTROLLER_PROVIDER: Provider<"app-check-internal">;
|
|
22
|
+
export declare function initializeTestInstance(): void;
|
|
23
|
+
export declare function cleanUpTestInstance(): Promise<void>;
|
|
24
|
+
export declare function randomEmail(): string;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2020 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2020 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
import '@firebase/auth-compat';
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
import '@firebase/auth-compat';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2020 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2021 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2021 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2020 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @license
|
|
3
|
-
* Copyright 2020 Google LLC
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
-
* See the License for the specific language governing permissions and
|
|
15
|
-
* limitations under the License.
|
|
16
|
-
*/
|
|
17
|
-
export {};
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright 2020 Google LLC
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
* you may not use this file except in compliance with the License.
|
|
7
|
+
* You may obtain a copy of the License at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
* See the License for the specific language governing permissions and
|
|
15
|
+
* limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
export {};
|