@firebase/auth 0.17.2-canary.cd9ca9b73 → 0.17.2-canary.f90c1d081
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-public.d.ts +4 -0
- package/dist/auth.d.ts +4 -0
- package/dist/cordova/index.js +2 -2
- package/dist/cordova/internal.js +9 -5
- package/dist/cordova/internal.js.map +1 -1
- package/dist/cordova/{popup_redirect-f1a78d03.js → popup_redirect-377cad82.js} +8 -7
- package/dist/cordova/popup_redirect-377cad82.js.map +1 -0
- package/dist/cordova/src/api/account_management/mfa.d.ts +6 -6
- package/dist/cordova/src/api/authentication/mfa.d.ts +4 -4
- package/dist/cordova/src/platform_browser/mfa/assertions/phone.d.ts +4 -0
- package/dist/esm2017/{index-d40aae14.js → index-d62ca8a4.js} +14 -9
- package/dist/esm2017/index-d62ca8a4.js.map +1 -0
- package/dist/esm2017/index.js +1 -1
- package/dist/esm2017/internal.js +2 -2
- package/dist/esm2017/src/api/account_management/mfa.d.ts +6 -6
- package/dist/esm2017/src/api/authentication/mfa.d.ts +4 -4
- package/dist/esm2017/src/platform_browser/mfa/assertions/phone.d.ts +4 -0
- package/dist/esm5/{index-b4b399f3.js → index-a6e424a8.js} +13 -8
- package/dist/esm5/index-a6e424a8.js.map +1 -0
- package/dist/esm5/index.js +1 -1
- package/dist/esm5/internal.js +2 -2
- package/dist/esm5/src/api/account_management/mfa.d.ts +6 -6
- package/dist/esm5/src/api/authentication/mfa.d.ts +4 -4
- package/dist/esm5/src/platform_browser/mfa/assertions/phone.d.ts +4 -0
- package/dist/index.webworker.esm5.js +3 -2
- package/dist/index.webworker.esm5.js.map +1 -1
- package/dist/node/{index-3711dbe8.js → index-44a550cc.js} +4 -3
- package/dist/node/index-44a550cc.js.map +1 -0
- package/dist/node/index.js +1 -1
- package/dist/node/internal.js +2 -2
- package/dist/node/internal.js.map +1 -1
- package/dist/node/src/api/account_management/mfa.d.ts +6 -6
- package/dist/node/src/api/authentication/mfa.d.ts +4 -4
- package/dist/node/src/platform_browser/mfa/assertions/phone.d.ts +4 -0
- package/dist/rn/{enum_maps-d47c5c6e.js → enum_maps-c170af97.js} +7 -5
- package/dist/rn/enum_maps-c170af97.js.map +1 -0
- package/dist/rn/index.js +1 -1
- package/dist/rn/internal.js +8 -4
- package/dist/rn/internal.js.map +1 -1
- package/dist/rn/src/api/account_management/mfa.d.ts +6 -6
- package/dist/rn/src/api/authentication/mfa.d.ts +4 -4
- package/dist/rn/src/platform_browser/mfa/assertions/phone.d.ts +4 -0
- package/dist/src/api/account_management/mfa.d.ts +6 -6
- package/dist/src/api/authentication/mfa.d.ts +4 -4
- package/dist/src/platform_browser/mfa/assertions/phone.d.ts +4 -0
- package/package.json +6 -6
- package/dist/cordova/popup_redirect-f1a78d03.js.map +0 -1
- package/dist/esm2017/index-d40aae14.js.map +0 -1
- package/dist/esm5/index-b4b399f3.js.map +0 -1
- package/dist/node/index-3711dbe8.js.map +0 -1
- package/dist/rn/enum_maps-d47c5c6e.js.map +0 -1
|
@@ -41,29 +41,29 @@ export interface StartPhoneMfaEnrollmentRequest {
|
|
|
41
41
|
phoneNumber: string;
|
|
42
42
|
recaptchaToken: string;
|
|
43
43
|
};
|
|
44
|
-
tenantId
|
|
44
|
+
tenantId?: string;
|
|
45
45
|
}
|
|
46
46
|
export interface StartPhoneMfaEnrollmentResponse {
|
|
47
47
|
phoneSessionInfo: {
|
|
48
48
|
sessionInfo: string;
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
export declare function startEnrollPhoneMfa(auth: AuthInternal, request:
|
|
51
|
+
export declare function startEnrollPhoneMfa(auth: AuthInternal, request: StartPhoneMfaEnrollmentRequest): Promise<StartPhoneMfaEnrollmentResponse>;
|
|
52
52
|
export interface FinalizePhoneMfaEnrollmentRequest {
|
|
53
53
|
idToken: string;
|
|
54
54
|
phoneVerificationInfo: SignInWithPhoneNumberRequest;
|
|
55
55
|
displayName?: string | null;
|
|
56
|
-
tenantId
|
|
56
|
+
tenantId?: string;
|
|
57
57
|
}
|
|
58
58
|
export interface FinalizePhoneMfaEnrollmentResponse extends FinalizeMfaResponse {
|
|
59
59
|
}
|
|
60
|
-
export declare function finalizeEnrollPhoneMfa(auth: AuthInternal, request:
|
|
60
|
+
export declare function finalizeEnrollPhoneMfa(auth: AuthInternal, request: FinalizePhoneMfaEnrollmentRequest): Promise<FinalizePhoneMfaEnrollmentResponse>;
|
|
61
61
|
export interface WithdrawMfaRequest {
|
|
62
62
|
idToken: string;
|
|
63
63
|
mfaEnrollmentId: string;
|
|
64
|
-
tenantId
|
|
64
|
+
tenantId?: string;
|
|
65
65
|
}
|
|
66
66
|
export interface WithdrawMfaResponse extends FinalizeMfaResponse {
|
|
67
67
|
}
|
|
68
|
-
export declare function withdrawMfa(auth: AuthInternal, request:
|
|
68
|
+
export declare function withdrawMfa(auth: AuthInternal, request: WithdrawMfaRequest): Promise<WithdrawMfaResponse>;
|
|
69
69
|
export {};
|
|
@@ -36,22 +36,22 @@ export interface StartPhoneMfaSignInRequest {
|
|
|
36
36
|
phoneSignInInfo: {
|
|
37
37
|
recaptchaToken: string;
|
|
38
38
|
};
|
|
39
|
-
tenantId
|
|
39
|
+
tenantId?: string;
|
|
40
40
|
}
|
|
41
41
|
export interface StartPhoneMfaSignInResponse {
|
|
42
42
|
phoneResponseInfo: {
|
|
43
43
|
sessionInfo: string;
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
export declare function startSignInPhoneMfa(auth: Auth, request:
|
|
46
|
+
export declare function startSignInPhoneMfa(auth: Auth, request: StartPhoneMfaSignInRequest): Promise<StartPhoneMfaSignInResponse>;
|
|
47
47
|
export interface FinalizePhoneMfaSignInRequest {
|
|
48
48
|
mfaPendingCredential: string;
|
|
49
49
|
phoneVerificationInfo: SignInWithPhoneNumberRequest;
|
|
50
|
-
tenantId
|
|
50
|
+
tenantId?: string;
|
|
51
51
|
}
|
|
52
52
|
export interface FinalizePhoneMfaSignInResponse extends FinalizeMfaResponse {
|
|
53
53
|
}
|
|
54
|
-
export declare function finalizeSignInPhoneMfa(auth: Auth, request:
|
|
54
|
+
export declare function finalizeSignInPhoneMfa(auth: Auth, request: FinalizePhoneMfaSignInRequest): Promise<FinalizePhoneMfaSignInResponse>;
|
|
55
55
|
/**
|
|
56
56
|
* @internal
|
|
57
57
|
*/
|
|
@@ -49,4 +49,8 @@ export declare class PhoneMultiFactorGenerator {
|
|
|
49
49
|
* {@link MultiFactorResolver.resolveSignIn}
|
|
50
50
|
*/
|
|
51
51
|
static assertion(credential: PhoneAuthCredential): PhoneMultiFactorAssertion;
|
|
52
|
+
/**
|
|
53
|
+
* The identifier of the phone second factor: `phone`.
|
|
54
|
+
*/
|
|
55
|
+
static FACTOR_ID: string;
|
|
52
56
|
}
|
|
@@ -41,29 +41,29 @@ export interface StartPhoneMfaEnrollmentRequest {
|
|
|
41
41
|
phoneNumber: string;
|
|
42
42
|
recaptchaToken: string;
|
|
43
43
|
};
|
|
44
|
-
tenantId
|
|
44
|
+
tenantId?: string;
|
|
45
45
|
}
|
|
46
46
|
export interface StartPhoneMfaEnrollmentResponse {
|
|
47
47
|
phoneSessionInfo: {
|
|
48
48
|
sessionInfo: string;
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
|
-
export declare function startEnrollPhoneMfa(auth: AuthInternal, request:
|
|
51
|
+
export declare function startEnrollPhoneMfa(auth: AuthInternal, request: StartPhoneMfaEnrollmentRequest): Promise<StartPhoneMfaEnrollmentResponse>;
|
|
52
52
|
export interface FinalizePhoneMfaEnrollmentRequest {
|
|
53
53
|
idToken: string;
|
|
54
54
|
phoneVerificationInfo: SignInWithPhoneNumberRequest;
|
|
55
55
|
displayName?: string | null;
|
|
56
|
-
tenantId
|
|
56
|
+
tenantId?: string;
|
|
57
57
|
}
|
|
58
58
|
export interface FinalizePhoneMfaEnrollmentResponse extends FinalizeMfaResponse {
|
|
59
59
|
}
|
|
60
|
-
export declare function finalizeEnrollPhoneMfa(auth: AuthInternal, request:
|
|
60
|
+
export declare function finalizeEnrollPhoneMfa(auth: AuthInternal, request: FinalizePhoneMfaEnrollmentRequest): Promise<FinalizePhoneMfaEnrollmentResponse>;
|
|
61
61
|
export interface WithdrawMfaRequest {
|
|
62
62
|
idToken: string;
|
|
63
63
|
mfaEnrollmentId: string;
|
|
64
|
-
tenantId
|
|
64
|
+
tenantId?: string;
|
|
65
65
|
}
|
|
66
66
|
export interface WithdrawMfaResponse extends FinalizeMfaResponse {
|
|
67
67
|
}
|
|
68
|
-
export declare function withdrawMfa(auth: AuthInternal, request:
|
|
68
|
+
export declare function withdrawMfa(auth: AuthInternal, request: WithdrawMfaRequest): Promise<WithdrawMfaResponse>;
|
|
69
69
|
export {};
|
|
@@ -36,22 +36,22 @@ export interface StartPhoneMfaSignInRequest {
|
|
|
36
36
|
phoneSignInInfo: {
|
|
37
37
|
recaptchaToken: string;
|
|
38
38
|
};
|
|
39
|
-
tenantId
|
|
39
|
+
tenantId?: string;
|
|
40
40
|
}
|
|
41
41
|
export interface StartPhoneMfaSignInResponse {
|
|
42
42
|
phoneResponseInfo: {
|
|
43
43
|
sessionInfo: string;
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
|
-
export declare function startSignInPhoneMfa(auth: Auth, request:
|
|
46
|
+
export declare function startSignInPhoneMfa(auth: Auth, request: StartPhoneMfaSignInRequest): Promise<StartPhoneMfaSignInResponse>;
|
|
47
47
|
export interface FinalizePhoneMfaSignInRequest {
|
|
48
48
|
mfaPendingCredential: string;
|
|
49
49
|
phoneVerificationInfo: SignInWithPhoneNumberRequest;
|
|
50
|
-
tenantId
|
|
50
|
+
tenantId?: string;
|
|
51
51
|
}
|
|
52
52
|
export interface FinalizePhoneMfaSignInResponse extends FinalizeMfaResponse {
|
|
53
53
|
}
|
|
54
|
-
export declare function finalizeSignInPhoneMfa(auth: Auth, request:
|
|
54
|
+
export declare function finalizeSignInPhoneMfa(auth: Auth, request: FinalizePhoneMfaSignInRequest): Promise<FinalizePhoneMfaSignInResponse>;
|
|
55
55
|
/**
|
|
56
56
|
* @internal
|
|
57
57
|
*/
|
|
@@ -49,4 +49,8 @@ export declare class PhoneMultiFactorGenerator {
|
|
|
49
49
|
* {@link MultiFactorResolver.resolveSignIn}
|
|
50
50
|
*/
|
|
51
51
|
static assertion(credential: PhoneAuthCredential): PhoneMultiFactorAssertion;
|
|
52
|
+
/**
|
|
53
|
+
* The identifier of the phone second factor: `phone`.
|
|
54
|
+
*/
|
|
55
|
+
static FACTOR_ID: string;
|
|
52
56
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/auth",
|
|
3
|
-
"version": "0.17.2-canary.
|
|
3
|
+
"version": "0.17.2-canary.f90c1d081",
|
|
4
4
|
"description": "The Firebase Authenticaton component of the Firebase JS SDK.",
|
|
5
5
|
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
|
|
6
6
|
"main": "dist/node/index.js",
|
|
@@ -47,19 +47,19 @@
|
|
|
47
47
|
"typings:public": "node ../../scripts/build/use_typings.js ./dist/auth-public.d.ts"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
|
-
"@firebase/app": "0.7.0-canary.
|
|
50
|
+
"@firebase/app": "0.7.0-canary.f90c1d081"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@firebase/component": "0.5.6-canary.
|
|
54
|
-
"@firebase/logger": "0.2.6-canary.
|
|
55
|
-
"@firebase/util": "1.3.0-canary.
|
|
53
|
+
"@firebase/component": "0.5.6-canary.f90c1d081",
|
|
54
|
+
"@firebase/logger": "0.2.6-canary.f90c1d081",
|
|
55
|
+
"@firebase/util": "1.3.0-canary.f90c1d081",
|
|
56
56
|
"node-fetch": "2.6.2",
|
|
57
57
|
"selenium-webdriver": "4.0.0-rc-1",
|
|
58
58
|
"tslib": "^2.1.0"
|
|
59
59
|
},
|
|
60
60
|
"license": "Apache-2.0",
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@firebase/app": "0.7.0-canary.
|
|
62
|
+
"@firebase/app": "0.7.0-canary.f90c1d081",
|
|
63
63
|
"@rollup/plugin-json": "4.1.0",
|
|
64
64
|
"rollup": "2.56.3",
|
|
65
65
|
"rollup-plugin-sourcemaps": "0.6.3",
|