@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
@@ -411,7 +411,7 @@ export declare interface Auth {
411
411
  */
412
412
  useDeviceLanguage(): void;
413
413
  /**
414
- * Signs out the current user.
414
+ * Signs out the current user. This does not automatically revoke the user's ID token.
415
415
  */
416
416
  signOut(): Promise<void>;
417
417
  }
@@ -1262,7 +1262,7 @@ export declare function getAuth(app?: FirebaseApp): Auth;
1262
1262
  export declare function getIdToken(user: User, forceRefresh?: boolean): Promise<string>;
1263
1263
 
1264
1264
  /**
1265
- * Returns a deserialized JSON Web Token (JWT) used to identitfy the user to a Firebase service.
1265
+ * Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service.
1266
1266
  *
1267
1267
  * @remarks
1268
1268
  * Returns the current token if it has not expired or if it will not expire in the next five
@@ -3582,7 +3582,7 @@ export declare interface User extends UserInfo {
3582
3582
  */
3583
3583
  getIdToken(forceRefresh?: boolean): Promise<string>;
3584
3584
  /**
3585
- * Returns a deserialized JSON Web Token (JWT) used to identitfy the user to a Firebase service.
3585
+ * Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service.
3586
3586
  *
3587
3587
  * @remarks
3588
3588
  * Returns the current token if it has not expired or if it will not expire in the next five
package/dist/auth.d.ts CHANGED
@@ -420,7 +420,7 @@ export declare interface Auth {
420
420
  */
421
421
  useDeviceLanguage(): void;
422
422
  /**
423
- * Signs out the current user.
423
+ * Signs out the current user. This does not automatically revoke the user's ID token.
424
424
  */
425
425
  signOut(): Promise<void>;
426
426
  }
@@ -1554,7 +1554,7 @@ export declare function getAuth(app?: FirebaseApp): Auth;
1554
1554
  export declare function getIdToken(user: User, forceRefresh?: boolean): Promise<string>;
1555
1555
 
1556
1556
  /**
1557
- * Returns a deserialized JSON Web Token (JWT) used to identitfy the user to a Firebase service.
1557
+ * Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service.
1558
1558
  *
1559
1559
  * @remarks
1560
1560
  * Returns the current token if it has not expired or if it will not expire in the next five
@@ -4048,7 +4048,7 @@ export declare interface User extends UserInfo {
4048
4048
  */
4049
4049
  getIdToken(forceRefresh?: boolean): Promise<string>;
4050
4050
  /**
4051
- * Returns a deserialized JSON Web Token (JWT) used to identitfy the user to a Firebase service.
4051
+ * Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service.
4052
4052
  *
4053
4053
  * @remarks
4054
4054
  * Returns the current token if it has not expired or if it will not expire in the next five
@@ -1066,7 +1066,7 @@ function getIdToken(user, forceRefresh = false) {
1066
1066
  return util.getModularInstance(user).getIdToken(forceRefresh);
1067
1067
  }
1068
1068
  /**
1069
- * Returns a deserialized JSON Web Token (JWT) used to identitfy the user to a Firebase service.
1069
+ * Returns a deserialized JSON Web Token (JWT) used to identify the user to a Firebase service.
1070
1070
  *
1071
1071
  * @remarks
1072
1072
  * Returns the current token if it has not expired or if it will not expire in the next five
@@ -9866,7 +9866,7 @@ function _isEmptyString(input) {
9866
9866
  }
9867
9867
 
9868
9868
  var name = "@firebase/auth";
9869
- var version = "0.23.1";
9869
+ var version = "0.23.2-20230511223943";
9870
9870
 
9871
9871
  /**
9872
9872
  * @license
@@ -9975,10 +9975,6 @@ function registerAuth(clientPlatform) {
9975
9975
  const appCheckServiceProvider = container.getProvider('app-check-internal');
9976
9976
  const { apiKey, authDomain } = app.options;
9977
9977
  _assert(apiKey && !apiKey.includes(':'), "invalid-api-key" /* AuthErrorCode.INVALID_API_KEY */, { appName: app.name });
9978
- // Auth domain is optional if IdP sign in isn't being used
9979
- _assert(!(authDomain === null || authDomain === void 0 ? void 0 : authDomain.includes(':')), "argument-error" /* AuthErrorCode.ARGUMENT_ERROR */, {
9980
- appName: app.name
9981
- });
9982
9978
  const config = {
9983
9979
  apiKey,
9984
9980
  authDomain,
@@ -10195,4 +10191,4 @@ exports.updateProfile = updateProfile;
10195
10191
  exports.useDeviceLanguage = useDeviceLanguage;
10196
10192
  exports.verifyBeforeUpdateEmail = verifyBeforeUpdateEmail;
10197
10193
  exports.verifyPasswordResetCode = verifyPasswordResetCode;
10198
- //# sourceMappingURL=index-d2009dbb.js.map
10194
+ //# sourceMappingURL=index-8999b68a.js.map