@firebase/auth 0.21.6-canary.a8d6499b1 → 0.21.6
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/README.md +0 -5
- package/dist/auth-public.d.ts +0 -1
- package/dist/auth.d.ts +0 -2
- package/dist/browser-cjs/{index-a031a7c0.js → index-39443020.js} +3 -5
- package/dist/browser-cjs/index-39443020.js.map +1 -0
- package/dist/browser-cjs/index.js +1 -1
- package/dist/browser-cjs/internal.js +1 -1
- package/dist/browser-cjs/src/core/errors.d.ts +0 -1
- package/dist/browser-cjs/src/core/index.d.ts +0 -1
- package/dist/cordova/index.js +2 -2
- package/dist/cordova/internal.js +2 -2
- package/dist/cordova/{popup_redirect-69cff576.js → popup_redirect-8b388294.js} +3 -5
- package/dist/cordova/popup_redirect-8b388294.js.map +1 -0
- package/dist/cordova/src/core/errors.d.ts +0 -1
- package/dist/cordova/src/core/index.d.ts +0 -1
- package/dist/esm2017/{index-33f309f3.js → index-2d01563f.js} +3 -5
- package/dist/esm2017/index-2d01563f.js.map +1 -0
- package/dist/esm2017/index.js +1 -1
- package/dist/esm2017/internal.js +2 -2
- package/dist/esm2017/src/core/errors.d.ts +0 -1
- package/dist/esm2017/src/core/index.d.ts +0 -1
- package/dist/esm5/{index-588c4d42.js → index-44fc929c.js} +3 -5
- package/dist/esm5/index-44fc929c.js.map +1 -0
- package/dist/esm5/index.js +1 -1
- package/dist/esm5/internal.js +2 -2
- package/dist/esm5/src/core/errors.d.ts +0 -1
- package/dist/esm5/src/core/index.d.ts +0 -1
- package/dist/index.webworker.esm5.js +2 -4
- package/dist/index.webworker.esm5.js.map +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node/internal.js +1 -1
- package/dist/node/src/core/errors.d.ts +0 -1
- package/dist/node/src/core/index.d.ts +0 -1
- package/dist/node/{totp-4f539e73.js → totp-5e73d8e7.js} +3 -5
- package/dist/node/totp-5e73d8e7.js.map +1 -0
- package/dist/node-esm/index.js +1 -1
- package/dist/node-esm/internal.js +2 -2
- package/dist/node-esm/src/core/errors.d.ts +0 -1
- package/dist/node-esm/src/core/index.d.ts +0 -1
- package/dist/node-esm/{totp-aec70fa2.js → totp-7b645f19.js} +3 -5
- package/dist/node-esm/totp-7b645f19.js.map +1 -0
- package/dist/rn/index.js +1 -1
- package/dist/rn/internal.js +1 -1
- package/dist/rn/{phone-a38a417c.js → phone-ec210006.js} +3 -5
- package/dist/rn/phone-ec210006.js.map +1 -0
- package/dist/rn/src/core/errors.d.ts +0 -1
- package/dist/rn/src/core/index.d.ts +0 -1
- package/dist/src/core/errors.d.ts +0 -1
- package/dist/src/core/index.d.ts +0 -1
- package/package.json +6 -6
- package/dist/browser-cjs/index-a031a7c0.js.map +0 -1
- package/dist/cordova/popup_redirect-69cff576.js.map +0 -1
- package/dist/esm2017/index-33f309f3.js.map +0 -1
- package/dist/esm5/index-588c4d42.js.map +0 -1
- package/dist/node/totp-4f539e73.js.map +0 -1
- package/dist/node-esm/totp-aec70fa2.js.map +0 -1
- package/dist/rn/phone-a38a417c.js.map +0 -1
package/dist/node/index.js
CHANGED
package/dist/node/internal.js
CHANGED
|
@@ -86,7 +86,6 @@ export declare const enum AuthErrorCode {
|
|
|
86
86
|
MISSING_MFA_INFO = "missing-multi-factor-info",
|
|
87
87
|
MISSING_MFA_SESSION = "missing-multi-factor-session",
|
|
88
88
|
MISSING_PHONE_NUMBER = "missing-phone-number",
|
|
89
|
-
MISSING_PASSWORD = "missing-password",
|
|
90
89
|
MISSING_SESSION_INFO = "missing-verification-id",
|
|
91
90
|
MODULE_DESTROYED = "app-deleted",
|
|
92
91
|
NEED_CONFIRMATION = "account-exists-with-different-credential",
|
|
@@ -43,7 +43,6 @@ export declare function setPersistence(auth: Auth, persistence: Persistence): Pr
|
|
|
43
43
|
*
|
|
44
44
|
* @remarks
|
|
45
45
|
* This includes sign-in, sign-out, and token refresh events.
|
|
46
|
-
* This will not be triggered automatically upon ID token expiration. Use {@link User.getIdToken} to refresh the ID token.
|
|
47
46
|
*
|
|
48
47
|
* @param auth - The {@link Auth} instance.
|
|
49
48
|
* @param nextOrObserver - callback triggered on change.
|
|
@@ -236,7 +236,6 @@ function _debugErrorMap() {
|
|
|
236
236
|
_a["missing-or-invalid-nonce" /* AuthErrorCode.MISSING_OR_INVALID_NONCE */] = 'The request does not contain a valid nonce. This can occur if the ' +
|
|
237
237
|
'SHA-256 hash of the provided raw nonce does not match the hashed nonce ' +
|
|
238
238
|
'in the ID token payload.',
|
|
239
|
-
_a["missing-password" /* AuthErrorCode.MISSING_PASSWORD */] = 'A non-empty password must be provided',
|
|
240
239
|
_a["missing-multi-factor-info" /* AuthErrorCode.MISSING_MFA_INFO */] = 'No second factor identifier is provided.',
|
|
241
240
|
_a["missing-multi-factor-session" /* AuthErrorCode.MISSING_MFA_SESSION */] = 'The request is missing proof of first factor successful sign-in.',
|
|
242
241
|
_a["missing-phone-number" /* AuthErrorCode.MISSING_PHONE_NUMBER */] = 'To send verification codes, provide a phone number for the recipient.',
|
|
@@ -881,7 +880,7 @@ var SERVER_ERROR_MAP = (_a$1 = {},
|
|
|
881
880
|
// Sign in with email and password errors (some apply to sign up too).
|
|
882
881
|
_a$1["INVALID_PASSWORD" /* ServerError.INVALID_PASSWORD */] = "wrong-password" /* AuthErrorCode.INVALID_PASSWORD */,
|
|
883
882
|
// This can only happen if the SDK sends a bad request.
|
|
884
|
-
_a$1["MISSING_PASSWORD" /* ServerError.MISSING_PASSWORD */] = "
|
|
883
|
+
_a$1["MISSING_PASSWORD" /* ServerError.MISSING_PASSWORD */] = "internal-error" /* AuthErrorCode.INTERNAL_ERROR */,
|
|
885
884
|
// Sign up with email and password errors.
|
|
886
885
|
_a$1["EMAIL_EXISTS" /* ServerError.EMAIL_EXISTS */] = "email-already-in-use" /* AuthErrorCode.EMAIL_EXISTS */,
|
|
887
886
|
_a$1["PASSWORD_LOGIN_DISABLED" /* ServerError.PASSWORD_LOGIN_DISABLED */] = "operation-not-allowed" /* AuthErrorCode.OPERATION_NOT_ALLOWED */,
|
|
@@ -6698,7 +6697,6 @@ function setPersistence(auth, persistence) {
|
|
|
6698
6697
|
*
|
|
6699
6698
|
* @remarks
|
|
6700
6699
|
* This includes sign-in, sign-out, and token refresh events.
|
|
6701
|
-
* This will not be triggered automatically upon ID token expiration. Use {@link User.getIdToken} to refresh the ID token.
|
|
6702
6700
|
*
|
|
6703
6701
|
* @param auth - The {@link Auth} instance.
|
|
6704
6702
|
* @param nextOrObserver - callback triggered on change.
|
|
@@ -7091,7 +7089,7 @@ function multiFactor(user) {
|
|
|
7091
7089
|
}
|
|
7092
7090
|
|
|
7093
7091
|
var name = "@firebase/auth";
|
|
7094
|
-
var version = "0.21.6
|
|
7092
|
+
var version = "0.21.6";
|
|
7095
7093
|
|
|
7096
7094
|
/**
|
|
7097
7095
|
* @license
|
|
@@ -7664,4 +7662,4 @@ exports.updateProfile = updateProfile;
|
|
|
7664
7662
|
exports.useDeviceLanguage = useDeviceLanguage;
|
|
7665
7663
|
exports.verifyBeforeUpdateEmail = verifyBeforeUpdateEmail;
|
|
7666
7664
|
exports.verifyPasswordResetCode = verifyPasswordResetCode;
|
|
7667
|
-
//# sourceMappingURL=totp-
|
|
7665
|
+
//# sourceMappingURL=totp-5e73d8e7.js.map
|