@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/README.md
CHANGED
|
@@ -40,11 +40,6 @@ commands also run various tests:
|
|
|
40
40
|
* `yarn test:webdriver` — Executes only the Selenium WebDriver
|
|
41
41
|
integration tests
|
|
42
42
|
|
|
43
|
-
Note - The webdriver tests require the Chrome webdriver to match the version of Chrome running locally.
|
|
44
|
-
In the CI environment, this is ensured using the environment variable [here.](https://github.com/firebase/firebase-js-sdk/blob/6e80a678fe0c31046860554cec0459a2be34d22b/.github/workflows/test-changed-auth.yml#L7)
|
|
45
|
-
When running locally, change the chromedriver version in [package.json](https://github.com/firebase/firebase-js-sdk/blob/6e80a678fe0c31046860554cec0459a2be34d22b/packages/auth/package.json#L124) to match your local Chrome version and run `yarn install`.
|
|
46
|
-
|
|
47
|
-
|
|
48
43
|
For example, to run all integration and WebDriver tests against the emulator,
|
|
49
44
|
you would simply execute the following command:
|
|
50
45
|
|
package/dist/auth-public.d.ts
CHANGED
|
@@ -2135,7 +2135,6 @@ export declare function onAuthStateChanged(auth: Auth, nextOrObserver: NextOrObs
|
|
|
2135
2135
|
*
|
|
2136
2136
|
* @remarks
|
|
2137
2137
|
* This includes sign-in, sign-out, and token refresh events.
|
|
2138
|
-
* This will not be triggered automatically upon ID token expiration. Use {@link User.getIdToken} to refresh the ID token.
|
|
2139
2138
|
*
|
|
2140
2139
|
* @param auth - The {@link Auth} instance.
|
|
2141
2140
|
* @param nextOrObserver - callback triggered on change.
|
package/dist/auth.d.ts
CHANGED
|
@@ -575,7 +575,6 @@ declare const enum AuthErrorCode {
|
|
|
575
575
|
MISSING_MFA_INFO = "missing-multi-factor-info",
|
|
576
576
|
MISSING_MFA_SESSION = "missing-multi-factor-session",
|
|
577
577
|
MISSING_PHONE_NUMBER = "missing-phone-number",
|
|
578
|
-
MISSING_PASSWORD = "missing-password",
|
|
579
578
|
MISSING_SESSION_INFO = "missing-verification-id",
|
|
580
579
|
MODULE_DESTROYED = "app-deleted",
|
|
581
580
|
NEED_CONFIRMATION = "account-exists-with-different-credential",
|
|
@@ -2470,7 +2469,6 @@ export declare function onAuthStateChanged(auth: Auth, nextOrObserver: NextOrObs
|
|
|
2470
2469
|
*
|
|
2471
2470
|
* @remarks
|
|
2472
2471
|
* This includes sign-in, sign-out, and token refresh events.
|
|
2473
|
-
* This will not be triggered automatically upon ID token expiration. Use {@link User.getIdToken} to refresh the ID token.
|
|
2474
2472
|
*
|
|
2475
2473
|
* @param auth - The {@link Auth} instance.
|
|
2476
2474
|
* @param nextOrObserver - callback triggered on change.
|
|
@@ -214,7 +214,6 @@ function _debugErrorMap() {
|
|
|
214
214
|
["missing-or-invalid-nonce" /* AuthErrorCode.MISSING_OR_INVALID_NONCE */]: 'The request does not contain a valid nonce. This can occur if the ' +
|
|
215
215
|
'SHA-256 hash of the provided raw nonce does not match the hashed nonce ' +
|
|
216
216
|
'in the ID token payload.',
|
|
217
|
-
["missing-password" /* AuthErrorCode.MISSING_PASSWORD */]: 'A non-empty password must be provided',
|
|
218
217
|
["missing-multi-factor-info" /* AuthErrorCode.MISSING_MFA_INFO */]: 'No second factor identifier is provided.',
|
|
219
218
|
["missing-multi-factor-session" /* AuthErrorCode.MISSING_MFA_SESSION */]: 'The request is missing proof of first factor successful sign-in.',
|
|
220
219
|
["missing-phone-number" /* AuthErrorCode.MISSING_PHONE_NUMBER */]: 'To send verification codes, provide a phone number for the recipient.',
|
|
@@ -841,7 +840,7 @@ const SERVER_ERROR_MAP = {
|
|
|
841
840
|
// Sign in with email and password errors (some apply to sign up too).
|
|
842
841
|
["INVALID_PASSWORD" /* ServerError.INVALID_PASSWORD */]: "wrong-password" /* AuthErrorCode.INVALID_PASSWORD */,
|
|
843
842
|
// This can only happen if the SDK sends a bad request.
|
|
844
|
-
["MISSING_PASSWORD" /* ServerError.MISSING_PASSWORD */]: "
|
|
843
|
+
["MISSING_PASSWORD" /* ServerError.MISSING_PASSWORD */]: "internal-error" /* AuthErrorCode.INTERNAL_ERROR */,
|
|
845
844
|
// Sign up with email and password errors.
|
|
846
845
|
["EMAIL_EXISTS" /* ServerError.EMAIL_EXISTS */]: "email-already-in-use" /* AuthErrorCode.EMAIL_EXISTS */,
|
|
847
846
|
["PASSWORD_LOGIN_DISABLED" /* ServerError.PASSWORD_LOGIN_DISABLED */]: "operation-not-allowed" /* AuthErrorCode.OPERATION_NOT_ALLOWED */,
|
|
@@ -5691,7 +5690,6 @@ function setPersistence(auth, persistence) {
|
|
|
5691
5690
|
*
|
|
5692
5691
|
* @remarks
|
|
5693
5692
|
* This includes sign-in, sign-out, and token refresh events.
|
|
5694
|
-
* This will not be triggered automatically upon ID token expiration. Use {@link User.getIdToken} to refresh the ID token.
|
|
5695
5693
|
*
|
|
5696
5694
|
* @param auth - The {@link Auth} instance.
|
|
5697
5695
|
* @param nextOrObserver - callback triggered on change.
|
|
@@ -9487,7 +9485,7 @@ function _isEmptyString(input) {
|
|
|
9487
9485
|
}
|
|
9488
9486
|
|
|
9489
9487
|
var name = "@firebase/auth";
|
|
9490
|
-
var version = "0.21.6
|
|
9488
|
+
var version = "0.21.6";
|
|
9491
9489
|
|
|
9492
9490
|
/**
|
|
9493
9491
|
* @license
|
|
@@ -9816,4 +9814,4 @@ exports.updateProfile = updateProfile;
|
|
|
9816
9814
|
exports.useDeviceLanguage = useDeviceLanguage;
|
|
9817
9815
|
exports.verifyBeforeUpdateEmail = verifyBeforeUpdateEmail;
|
|
9818
9816
|
exports.verifyPasswordResetCode = verifyPasswordResetCode;
|
|
9819
|
-
//# sourceMappingURL=index-
|
|
9817
|
+
//# sourceMappingURL=index-39443020.js.map
|