@firebase/auth 0.23.0-canary.253b998fc → 0.23.0

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 (40) hide show
  1. package/dist/browser-cjs/{index-51fc658c.js → index-8174c221.js} +4 -6
  2. package/dist/{esm2017/index-184d8cdb.js.map → browser-cjs/index-8174c221.js.map} +1 -1
  3. package/dist/browser-cjs/index.js +1 -1
  4. package/dist/browser-cjs/internal.js +1 -1
  5. package/dist/browser-cjs/src/platform_browser/strategies/popup.d.ts +1 -1
  6. package/dist/cordova/index.js +2 -2
  7. package/dist/cordova/internal.js +4 -6
  8. package/dist/cordova/internal.js.map +1 -1
  9. package/dist/cordova/{popup_redirect-eb696ff9.js → popup_redirect-fedd78b2.js} +2 -2
  10. package/dist/cordova/{popup_redirect-eb696ff9.js.map → popup_redirect-fedd78b2.js.map} +1 -1
  11. package/dist/cordova/src/platform_browser/strategies/popup.d.ts +1 -1
  12. package/dist/esm2017/{index-184d8cdb.js → index-16e22603.js} +4 -6
  13. package/dist/{browser-cjs/index-51fc658c.js.map → esm2017/index-16e22603.js.map} +1 -1
  14. package/dist/esm2017/index.js +1 -1
  15. package/dist/esm2017/internal.js +2 -2
  16. package/dist/esm2017/src/platform_browser/strategies/popup.d.ts +1 -1
  17. package/dist/esm5/{index-003869b4.js → index-932ba0f0.js} +4 -6
  18. package/dist/esm5/{index-003869b4.js.map → index-932ba0f0.js.map} +1 -1
  19. package/dist/esm5/index.js +1 -1
  20. package/dist/esm5/internal.js +2 -2
  21. package/dist/esm5/src/platform_browser/strategies/popup.d.ts +1 -1
  22. package/dist/index.webworker.esm5.js +1 -1
  23. package/dist/node/index.js +1 -1
  24. package/dist/node/internal.js +1 -1
  25. package/dist/node/src/platform_browser/strategies/popup.d.ts +1 -1
  26. package/dist/node/{totp-6870cc48.js → totp-919eeeb3.js} +2 -2
  27. package/dist/node/{totp-6870cc48.js.map → totp-919eeeb3.js.map} +1 -1
  28. package/dist/node-esm/index.js +1 -1
  29. package/dist/node-esm/internal.js +2 -2
  30. package/dist/node-esm/src/platform_browser/strategies/popup.d.ts +1 -1
  31. package/dist/node-esm/{totp-71c80239.js → totp-abcc15a3.js} +2 -2
  32. package/dist/node-esm/{totp-71c80239.js.map → totp-abcc15a3.js.map} +1 -1
  33. package/dist/rn/index.js +1 -1
  34. package/dist/rn/internal.js +3 -5
  35. package/dist/rn/internal.js.map +1 -1
  36. package/dist/rn/{phone-09947e3b.js → phone-1dccf30c.js} +2 -2
  37. package/dist/rn/{phone-09947e3b.js.map → phone-1dccf30c.js.map} +1 -1
  38. package/dist/rn/src/platform_browser/strategies/popup.d.ts +1 -1
  39. package/dist/src/platform_browser/strategies/popup.d.ts +1 -1
  40. package/package.json +6 -6
@@ -17,7 +17,7 @@
17
17
  import { Auth, AuthProvider, PopupRedirectResolver, User, UserCredential } from '../../model/public_types';
18
18
  import { Delay } from '../../core/util/delay';
19
19
  export declare const enum _Timeout {
20
- AUTH_EVENT = 8000
20
+ AUTH_EVENT = 2000
21
21
  }
22
22
  export declare const _POLL_WINDOW_CLOSE_TIMEOUT: Delay;
23
23
  /**
@@ -8618,13 +8618,11 @@ class PopupOperation extends AbstractPopupRedirectOperation {
8618
8618
  if ((_b = (_a = this.authWindow) === null || _a === void 0 ? void 0 : _a.window) === null || _b === void 0 ? void 0 : _b.closed) {
8619
8619
  // Make sure that there is sufficient time for whatever action to
8620
8620
  // complete. The window could have closed but the sign in network
8621
- // call could still be in flight. This is specifically true for
8622
- // Firefox or if the opener is in an iframe, in which case the oauth
8623
- // helper closes the popup.
8621
+ // call could still be in flight.
8624
8622
  this.pollId = window.setTimeout(() => {
8625
8623
  this.pollId = null;
8626
8624
  this.reject(_createError(this.auth, "popup-closed-by-user" /* AuthErrorCode.POPUP_CLOSED_BY_USER */));
8627
- }, 8000 /* _Timeout.AUTH_EVENT */);
8625
+ }, 2000 /* _Timeout.AUTH_EVENT */);
8628
8626
  return;
8629
8627
  }
8630
8628
  this.pollId = window.setTimeout(poll, _POLL_WINDOW_CLOSE_TIMEOUT.get());
@@ -9868,7 +9866,7 @@ function _isEmptyString(input) {
9868
9866
  }
9869
9867
 
9870
9868
  var name = "@firebase/auth";
9871
- var version = "0.23.0-canary.253b998fc";
9869
+ var version = "0.23.0";
9872
9870
 
9873
9871
  /**
9874
9872
  * @license
@@ -10093,4 +10091,4 @@ function getAuth(app = getApp()) {
10093
10091
  registerAuth("Browser" /* ClientPlatform.BROWSER */);
10094
10092
 
10095
10093
  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 };
10096
- //# sourceMappingURL=index-184d8cdb.js.map
10094
+ //# sourceMappingURL=index-16e22603.js.map