@firebase/auth 0.23.1 → 0.23.2-20230511223943

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.
Files changed (58) hide show
  1. package/dist/auth-public.d.ts +3 -3
  2. package/dist/auth.d.ts +3 -3
  3. package/dist/browser-cjs/{index-d2009dbb.js → index-8999b68a.js} +3 -7
  4. package/dist/browser-cjs/index-8999b68a.js.map +1 -0
  5. package/dist/browser-cjs/index.js +1 -1
  6. package/dist/browser-cjs/internal.js +1 -1
  7. package/dist/browser-cjs/src/core/user/id_token_result.d.ts +1 -1
  8. package/dist/browser-cjs/src/model/public_types.d.ts +2 -2
  9. package/dist/cordova/index.js +2 -2
  10. package/dist/cordova/internal.js +2 -2
  11. package/dist/cordova/{popup_redirect-9cdb61d2.js → popup_redirect-0d411519.js} +3 -7
  12. package/dist/cordova/popup_redirect-0d411519.js.map +1 -0
  13. package/dist/cordova/src/core/user/id_token_result.d.ts +1 -1
  14. package/dist/cordova/src/model/public_types.d.ts +2 -2
  15. package/dist/esm2017/{index-eaf604ee.js → index-8f8ec7ab.js} +3 -7
  16. package/dist/esm2017/index-8f8ec7ab.js.map +1 -0
  17. package/dist/esm2017/index.js +1 -1
  18. package/dist/esm2017/internal.js +2 -2
  19. package/dist/esm2017/src/core/user/id_token_result.d.ts +1 -1
  20. package/dist/esm2017/src/model/public_types.d.ts +2 -2
  21. package/dist/esm5/{index-2bcde735.js → index-a2e6e186.js} +3 -7
  22. package/dist/esm5/index-a2e6e186.js.map +1 -0
  23. package/dist/esm5/index.js +1 -1
  24. package/dist/esm5/internal.js +2 -2
  25. package/dist/esm5/src/core/user/id_token_result.d.ts +1 -1
  26. package/dist/esm5/src/model/public_types.d.ts +2 -2
  27. package/dist/index.webworker.esm5.js +2 -6
  28. package/dist/index.webworker.esm5.js.map +1 -1
  29. package/dist/node/index.js +1 -1
  30. package/dist/node/internal.js +1 -1
  31. package/dist/node/src/core/user/id_token_result.d.ts +1 -1
  32. package/dist/node/src/model/public_types.d.ts +2 -2
  33. package/dist/node/{totp-5fc361f8.js → totp-a52f251c.js} +3 -7
  34. package/dist/node/totp-a52f251c.js.map +1 -0
  35. package/dist/node-esm/index.js +1 -1
  36. package/dist/node-esm/internal.js +2 -2
  37. package/dist/node-esm/src/core/user/id_token_result.d.ts +1 -1
  38. package/dist/node-esm/src/model/public_types.d.ts +2 -2
  39. package/dist/node-esm/{totp-035c6eef.js → totp-29c58289.js} +3 -7
  40. package/dist/node-esm/totp-29c58289.js.map +1 -0
  41. package/dist/rn/index.js +1 -1
  42. package/dist/rn/internal.js +1 -1
  43. package/dist/rn/{phone-ae3fa109.js → phone-446148f3.js} +3 -7
  44. package/dist/rn/phone-446148f3.js.map +1 -0
  45. package/dist/rn/src/core/user/id_token_result.d.ts +1 -1
  46. package/dist/rn/src/model/public_types.d.ts +2 -2
  47. package/dist/src/core/user/id_token_result.d.ts +1 -1
  48. package/dist/src/model/public_types.d.ts +2 -2
  49. package/package.json +3 -3
  50. package/CHANGELOG.md +0 -504
  51. package/dist/browser-cjs/index-d2009dbb.js.map +0 -1
  52. package/dist/cordova/popup_redirect-9cdb61d2.js.map +0 -1
  53. package/dist/esm2017/index-eaf604ee.js.map +0 -1
  54. package/dist/esm5/index-2bcde735.js.map +0 -1
  55. package/dist/node/totp-5fc361f8.js.map +0 -1
  56. package/dist/node-esm/totp-035c6eef.js.map +0 -1
  57. package/dist/rn/phone-ae3fa109.js.map +0 -1
  58. package/dist/tsdoc-metadata.json +0 -11
@@ -29,7 +29,7 @@ import { IdTokenResult, ParsedToken, User } from '../../model/public_types';
29
29
  */
30
30
  export declare function getIdToken(user: User, forceRefresh?: boolean): Promise<string>;
31
31
  /**
32
- * Returns a deserialized JSON Web Token (JWT) used to identitfy the user to a Firebase service.
32
+ * Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service.
33
33
  *
34
34
  * @remarks
35
35
  * Returns the current token if it has not expired or if it will not expire in the next five
@@ -278,7 +278,7 @@ export interface Auth {
278
278
  */
279
279
  useDeviceLanguage(): void;
280
280
  /**
281
- * Signs out the current user.
281
+ * Signs out the current user. This does not automatically revoke the user's ID token.
282
282
  */
283
283
  signOut(): Promise<void>;
284
284
  }
@@ -948,7 +948,7 @@ export interface User extends UserInfo {
948
948
  */
949
949
  getIdToken(forceRefresh?: boolean): Promise<string>;
950
950
  /**
951
- * Returns a deserialized JSON Web Token (JWT) used to identitfy the user to a Firebase service.
951
+ * Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service.
952
952
  *
953
953
  * @remarks
954
954
  * Returns the current token if it has not expired or if it will not expire in the next five
@@ -1064,7 +1064,7 @@ function getIdToken(user, forceRefresh = false) {
1064
1064
  return getModularInstance(user).getIdToken(forceRefresh);
1065
1065
  }
1066
1066
  /**
1067
- * Returns a deserialized JSON Web Token (JWT) used to identitfy the user to a Firebase service.
1067
+ * Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service.
1068
1068
  *
1069
1069
  * @remarks
1070
1070
  * Returns the current token if it has not expired or if it will not expire in the next five
@@ -9864,7 +9864,7 @@ function _isEmptyString(input) {
9864
9864
  }
9865
9865
 
9866
9866
  var name = "@firebase/auth";
9867
- var version = "0.23.1";
9867
+ var version = "0.23.2-20230511223943";
9868
9868
 
9869
9869
  /**
9870
9870
  * @license
@@ -9973,10 +9973,6 @@ function registerAuth(clientPlatform) {
9973
9973
  const appCheckServiceProvider = container.getProvider('app-check-internal');
9974
9974
  const { apiKey, authDomain } = app.options;
9975
9975
  _assert(apiKey && !apiKey.includes(':'), "invalid-api-key" /* AuthErrorCode.INVALID_API_KEY */, { appName: app.name });
9976
- // Auth domain is optional if IdP sign in isn't being used
9977
- _assert(!(authDomain === null || authDomain === void 0 ? void 0 : authDomain.includes(':')), "argument-error" /* AuthErrorCode.ARGUMENT_ERROR */, {
9978
- appName: app.name
9979
- });
9980
9976
  const config = {
9981
9977
  apiKey,
9982
9978
  authDomain,
@@ -10089,4 +10085,4 @@ function getAuth(app = getApp()) {
10089
10085
  registerAuth("Browser" /* ClientPlatform.BROWSER */);
10090
10086
 
10091
10087
  export { signInWithCredential as $, ActionCodeOperation as A, signOut as B, deleteUser as C, debugErrorMap as D, prodErrorMap as E, FactorId as F, AUTH_ERROR_CODES_MAP_DO_NOT_USE_INTERNALLY as G, initializeAuth as H, connectAuthEmulator as I, AuthCredential as J, EmailAuthCredential as K, OAuthCredential as L, PhoneAuthCredential as M, inMemoryPersistence as N, OperationType as O, PhoneAuthProvider as P, EmailAuthProvider as Q, RecaptchaVerifier as R, SignInMethod as S, TotpMultiFactorGenerator as T, FacebookAuthProvider as U, GoogleAuthProvider as V, GithubAuthProvider as W, OAuthProvider as X, SAMLAuthProvider as Y, TwitterAuthProvider as Z, signInAnonymously as _, browserSessionPersistence as a, linkWithCredential as a0, reauthenticateWithCredential as a1, signInWithCustomToken as a2, sendPasswordResetEmail as a3, confirmPasswordReset as a4, applyActionCode as a5, checkActionCode as a6, verifyPasswordResetCode as a7, createUserWithEmailAndPassword as a8, signInWithEmailAndPassword as a9, _assert as aA, AuthEventManager as aB, _getInstance as aC, _persistenceKeyName as aD, _getRedirectResult as aE, _overrideRedirectResult as aF, _clearRedirectOutcomes as aG, _castAuth as aH, UserImpl as aI, AuthImpl as aJ, _getClientVersion as aK, _generateEventId as aL, AuthPopup as aM, FetchProvider as aN, SAMLAuthCredential as aO, sendSignInLinkToEmail as aa, isSignInWithEmailLink as ab, signInWithEmailLink as ac, fetchSignInMethodsForEmail as ad, sendEmailVerification as ae, verifyBeforeUpdateEmail as af, ActionCodeURL as ag, parseActionCodeURL as ah, updateProfile as ai, updateEmail as aj, updatePassword as ak, getIdToken as al, getIdTokenResult as am, unlink as an, getAdditionalUserInfo as ao, reload as ap, getMultiFactorResolver as aq, multiFactor as ar, debugAssert as as, _isIOS as at, _isAndroid as au, _fail as av, _getRedirectUrl as aw, _getProjectConfig as ax, _isIOS7Or8 as ay, _createError as az, browserLocalPersistence as b, signInWithPopup as c, linkWithPopup as d, reauthenticateWithPopup as e, signInWithRedirect as f, linkWithRedirect as g, reauthenticateWithRedirect as h, indexedDBLocalPersistence as i, getRedirectResult as j, browserPopupRedirectResolver as k, linkWithPhoneNumber as l, PhoneMultiFactorGenerator as m, TotpSecret as n, getAuth as o, ProviderId as p, setPersistence as q, reauthenticateWithPhoneNumber as r, signInWithPhoneNumber as s, initializeRecaptchaConfig as t, updatePhoneNumber as u, onIdTokenChanged as v, beforeAuthStateChanged as w, onAuthStateChanged as x, useDeviceLanguage as y, updateCurrentUser as z };
10092
- //# sourceMappingURL=index-eaf604ee.js.map
10088
+ //# sourceMappingURL=index-8f8ec7ab.js.map