Skip to content

Commit 2a2e56e

Browse files
committed
Fix broken stuff
1 parent 4646437 commit 2a2e56e

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

common/api-review/auth-exp.api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export class ActionCodeURL implements externs.ActionCodeURL {
2929
// (undocumented)
3030
readonly languageCode: string | null;
3131
// (undocumented)
32-
readonly operation: externs.Operation;
32+
readonly operation: externs.ActionCodeOperation;
3333
// (undocumented)
3434
static parseLink(link: string): externs.ActionCodeURL | null;
3535
// (undocumented)

packages-exp/auth-compat-exp/index.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ function registerAuthCompat(instance: _FirebaseNamespace): void {
5151
.setServiceProps({
5252
ActionCodeInfo: {
5353
Operation: {
54-
EMAIL_SIGNIN: externs.Operation.EMAIL_SIGNIN,
55-
PASSWORD_RESET: externs.Operation.PASSWORD_RESET,
56-
RECOVER_EMAIL: externs.Operation.RECOVER_EMAIL,
54+
EMAIL_SIGNIN: externs.ActionCodeOperation.EMAIL_SIGNIN,
55+
PASSWORD_RESET: externs.ActionCodeOperation.PASSWORD_RESET,
56+
RECOVER_EMAIL: externs.ActionCodeOperation.RECOVER_EMAIL,
5757
REVERT_SECOND_FACTOR_ADDITION:
58-
externs.Operation.REVERT_SECOND_FACTOR_ADDITION,
59-
VERIFY_AND_CHANGE_EMAIL: externs.Operation.VERIFY_AND_CHANGE_EMAIL,
60-
VERIFY_EMAIL: externs.Operation.VERIFY_EMAIL
58+
externs.ActionCodeOperation.REVERT_SECOND_FACTOR_ADDITION,
59+
VERIFY_AND_CHANGE_EMAIL: externs.ActionCodeOperation.VERIFY_AND_CHANGE_EMAIL,
60+
VERIFY_EMAIL: externs.ActionCodeOperation.VERIFY_EMAIL
6161
}
6262
},
6363
EmailAuthProvider: impl.EmailAuthProvider,

packages-exp/auth-types-exp/index.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,12 +1072,12 @@ export abstract class MultiFactorResolver {
10721072
* The list of hints for the second factors needed to complete the sign-in for the current
10731073
* session.
10741074
*/
1075-
hints: MultiFactorInfo[];
1075+
readonly hints: MultiFactorInfo[];
10761076
/**
10771077
* The session identifier for the current sign-in flow, which can be used to complete the second
10781078
* factor sign-in.
10791079
*/
1080-
session: MultiFactorSession;
1080+
readonly session: MultiFactorSession;
10811081
/**
10821082
* A helper function to help users complete sign in with a second factor using an
10831083
* {@link @firebase/auth-types#MultiFactorAssertion} confirming the user successfully completed the second factor
@@ -1423,7 +1423,7 @@ export interface UserCredential {
14231423
/**
14241424
* The provider which was used to authenticate the user.
14251425
*/
1426-
providerId: ProviderId | null;
1426+
providerId: string | null;
14271427
/**
14281428
* The type of operation which was used to authenticate the user (such as sign-in or link).
14291429
*/
@@ -1495,7 +1495,7 @@ export interface AdditionalUserInfo {
14951495
/**
14961496
* Identifier for the provider used to authenticate this user.
14971497
*/
1498-
readonly providerId: ProviderId | null;
1498+
readonly providerId: string | null;
14991499
/**
15001500
* The username if the provider is GitHub or Twitter.
15011501
*/

0 commit comments

Comments
 (0)