@donotdev/auth 0.0.9 → 0.0.10

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/AuthStore.d.ts.map +1 -1
  2. package/dist/AuthStore.js +1 -1
  3. package/dist/FirebaseAccountLinking.d.ts.map +1 -1
  4. package/dist/FirebaseAccountLinking.js +1 -1
  5. package/dist/FirebaseAuth.d.ts.map +1 -1
  6. package/dist/FirebaseAuth.js +1 -1
  7. package/dist/FirebaseSmartRecovery.js +1 -1
  8. package/dist/authHelpers.js +1 -1
  9. package/dist/components/AccountLinking.js +1 -1
  10. package/dist/components/AuthFallback.js +1 -1
  11. package/dist/components/AuthPartnerButton.js +2 -2
  12. package/dist/components/DeleteAccountDialogs.js +1 -1
  13. package/dist/components/EmailLinkForm.js +1 -1
  14. package/dist/components/EmailPasswordForm.js +1 -1
  15. package/dist/components/EmailVerification.js +1 -1
  16. package/dist/components/Feature.js +1 -1
  17. package/dist/components/FeatureGuard.js +1 -1
  18. package/dist/components/FeaturePlaceholder.js +1 -1
  19. package/dist/components/GoogleOneTap.js +1 -1
  20. package/dist/components/LoginModal.js +1 -1
  21. package/dist/components/MultipleAuthProviders.js +1 -1
  22. package/dist/components/NetworkStatusIndicator.js +1 -1
  23. package/dist/components/PasswordStrengthIndicator.js +1 -1
  24. package/dist/components/PasswordUpdateDialog.js +1 -1
  25. package/dist/components/RateLimitAlert.js +1 -1
  26. package/dist/components/index.js +1 -1
  27. package/dist/constants.js +1 -1
  28. package/dist/hooks/useAccountLinking.js +1 -1
  29. package/dist/hooks/useAuthMethodToggle.js +1 -1
  30. package/dist/hooks/useAuthPartner.js +1 -1
  31. package/dist/hooks/useDeleteAccount.js +1 -1
  32. package/dist/hooks/useEmailLinkAuth.js +1 -1
  33. package/dist/hooks/useEmailLinkForm.js +1 -1
  34. package/dist/hooks/useFedCM.js +1 -1
  35. package/dist/hooks/useGoogleOneTap.js +1 -1
  36. package/dist/hooks/useNetworkStatus.js +1 -1
  37. package/dist/index.js +1 -1
  38. package/dist/tsconfig.tsbuildinfo +1 -1
  39. package/dist/useAuth.js +1 -1
  40. package/package.json +1 -1
@@ -1 +1 @@
1
- "use client";import{useState as o}from"react";import{useAuth as f}from"../useAuth";function A(){const c=f("deleteAccount"),[r,e]=o(!1),[u,t]=o(!1),[i,n]=o(!1),[m,l]=o(null);return{showConfirmDialog:r,showPasswordDialog:u,isDeleting:i,error:m,startDeleteFlow:()=>{l(null),e(!0)},confirmDelete:async D=>{n(!0),l(null);try{await c(D),e(!1),t(!1)}catch(a){const s=a.message||a.message;s==="REQUIRES_PASSWORD"?(e(!1),t(!0)):s==="REAUTH_CANCELLED"?(e(!1),t(!1)):l(s||"Failed to delete account")}finally{n(!1)}},cancel:()=>{e(!1),t(!1),l(null)}}}export{A as useDeleteAccount};
1
+ "use client";import{useState as l}from"react";import{useAuth as m}from"../useAuth";function E(){const r=m("deleteAccount"),[c,e]=l(!1),[f,s]=l(!1),[i,a]=l(!1),[u,t]=l(null);return{showConfirmDialog:c,showPasswordDialog:f,isDeleting:i,error:u,startDeleteFlow:()=>{t(null),e(!0)},confirmDelete:async D=>{a(!0),t(null);try{await r(D),e(!1),s(!1)}catch(n){const o=n.message||n.message;o==="REQUIRES_PASSWORD"?(e(!1),s(!0)):o==="REAUTH_CANCELLED"?(e(!1),s(!1)):t(o||"Failed to delete account")}finally{a(!1)}},cancel:()=>{e(!1),s(!1),t(null)}}}export{E as useDeleteAccount};
@@ -1 +1 @@
1
- "use client";import{useEffect as E,useState as t,useCallback as I}from"react";import{handleError as h,isDev as s}from"@donotdev/core";import{useAuth as l}from"../useAuth";function o(){const r=l("isSignInWithEmailLink"),a=l("signInWithEmailLink"),[m,e]=t(!1),[c,n]=t(null),u=r();E(()=>{if(typeof window<"u"){const i=localStorage.getItem("emailForSignIn");i&&n(i)}},[]);const f=I(async i=>{if(!i){s();return}e(!0);try{s(),(await a(i))?.success&&(localStorage.removeItem("emailForSignIn"),n(null))}catch(g){h(g)}finally{e(!1)}},[a]);return{isEmailLink:u,isProcessing:m,email:c,completeEmailLinkSignIn:f}}var k=o;export{k as default,o as useEmailLinkAuth};
1
+ "use client";import{useEffect as g,useState as l,useCallback as E}from"react";import{handleError as k,isDev as o}from"@donotdev/core";import{useAuth as r}from"../useAuth";function h(){const a=r("isSignInWithEmailLink"),n=r("signInWithEmailLink"),[m,e]=l(!1),[c,t]=l(null),u=a();g(()=>{if(typeof window<"u"){const i=localStorage.getItem("emailForSignIn");i&&t(i)}},[]);const f=E(async i=>{if(!i){o();return}e(!0);try{o(),(await n(i))?.success&&(localStorage.removeItem("emailForSignIn"),t(null))}catch(s){k(s)}finally{e(!1)}},[n]);return{isEmailLink:u,isProcessing:m,email:c,completeEmailLinkSignIn:f}}var d=h;export{d as default,h as useEmailLinkAuth};
@@ -1 +1 @@
1
- "use client";import{useState as r,useCallback as l}from"react";import{handleError as w}from"@donotdev/core";import{useAuth as f}from"../useAuth";function S(g={}){const t=f("sendSignInLinkToEmail"),E=f("isAvailable"),{onSuccess:s,onError:o,actionCodeSettings:m}=g,[e,h]=r(""),[u,d]=r(!1),[p,c]=r(!1),[k,n]=r(null),a=e.trim().length>0&&e.includes("@"),v=a&&!u&&E,y=l(()=>{n(null)},[]),L=l(async F=>{if(F.preventDefault(),!a){n("Please enter a valid email address");return}d(!0),n(null);try{typeof window<"u"&&localStorage.setItem("emailForSignIn",e.trim()),await t(e.trim(),m),c(!0),s?.()}catch(i){const I=i instanceof Error?i.message:"Failed to send sign-in link";n(I),o?.(i),w(i)}finally{d(!1)}},[e,a,t,m,s,o]),b=l(()=>{c(!1),n(null)},[]);return{email:e,setEmail:h,isLoading:u,isSent:p,error:k,handleSendLink:L,handleResend:b,clearError:y,isValid:a,canSubmit:v}}var A=S;export{A as default,S as useEmailLinkForm};
1
+ "use client";import{useState as i,useCallback as r}from"react";import{handleError as w}from"@donotdev/core";import{useAuth as f}from"../useAuth";function A(g={}){const o=f("sendSignInLinkToEmail"),S=f("isAvailable"),{onSuccess:a,onError:l,actionCodeSettings:c}=g,[e,E]=i(""),[d,u]=i(!1),[p,m]=i(!1),[h,n]=i(null),t=e.trim().length>0&&e.includes("@"),k=t&&!d&&S,I=r(()=>{n(null)},[]),L=r(async v=>{if(v.preventDefault(),!t){n("Please enter a valid email address");return}u(!0),n(null);try{typeof window<"u"&&localStorage.setItem("emailForSignIn",e.trim()),await o(e.trim(),c),m(!0),a?.()}catch(s){const y=s instanceof Error?s.message:"Failed to send sign-in link";n(y),l?.(s),w(s)}finally{u(!1)}},[e,t,o,c,a,l]),b=r(()=>{m(!1),n(null)},[]);return{email:e,setEmail:E,isLoading:d,isSent:p,error:h,handleSendLink:L,handleResend:b,clearError:I,isValid:t,canSubmit:k}}var T=A;export{T as default,A as useEmailLinkForm};
@@ -1 +1 @@
1
- "use client";import{useState as s,useEffect as h,useMemo as C,useRef as E}from"react";import{handleError as S,isClient as u}from"@donotdev/core";function y({checkGoogleServices:a=!0,onError:i}={}){const[n,l]=s(!1),[m,d]=s(!1),[p,f]=s(null),c=E(i);c.current=i,h(()=>{u()&&(async()=>{try{const e="IdentityCredential"in window;let o=!0;if(a){const t=new Promise(r=>setTimeout(r,2e3));await Promise.race([new Promise(r=>{const w=setInterval(()=>{window.google?.accounts?.id&&(clearInterval(w),r(!0))},100)}),t]),o=!!window.google?.accounts?.id}l(e&&o),d(!0)}catch(e){const o=S(e,{userMessage:"Failed to detect FedCM support",context:{operation:"fedcm_detection"},severity:"warning"});f(o),d(!0),c.current?.(o)}})()},[a]);const g=C(()=>{if(!u())return{name:"Unknown",isSupported:!1,recommendation:"Loading..."};const e=navigator.userAgent;let o="Unknown",t="Please update your browser";if(e.includes("Chrome/")){const r=parseInt(e.match(/Chrome\/(\d+)/)?.[1]||"0");o=`Chrome ${r}`,t=r>=116?"Supported":"Please update to Chrome 116 or later"}else if(e.includes("Edg/")){const r=parseInt(e.match(/Edg\/(\d+)/)?.[1]||"0");o=`Edge ${r}`,t=r>=116?"Supported":"Please update to Edge 116 or later"}else e.includes("Safari/")&&!e.includes("Chrome")?(o="Safari",t="Not supported yet. Please use Chrome or Edge"):e.includes("Firefox/")&&(o="Firefox",t="Not supported yet. Please use Chrome or Edge");return{name:o,isSupported:n,recommendation:t}},[n]);return{isSupported:n,isReady:m,error:p,browserInfo:g}}export{y as useFedCM};
1
+ "use client";import{useState as i,useEffect as y,useMemo as E,useRef as S}from"react";import{handleError as I,isClient as l}from"@donotdev/core";function F({checkGoogleServices:a=!0,onError:d}={}){const[n,p]=i(!1),[m,u]=i(!1),[f,g]=i(null),c=S(d);c.current=d,y(()=>{if(!l())return;(async()=>{try{const t="IdentityCredential"in window;let e=!0;if(a){const h=new Promise(s=>setTimeout(s,2e3));await Promise.race([new Promise(s=>{const C=setInterval(()=>{window.google?.accounts?.id&&(clearInterval(C),s(!0))},100)}),h]),e=!!window.google?.accounts?.id}p(t&&e),u(!0)}catch(t){const e=I(t,{userMessage:"Failed to detect FedCM support",context:{operation:"fedcm_detection"},severity:"warning"});g(e),u(!0),c.current?.(e)}})()},[a]);const w=E(()=>{if(!l())return{name:"Unknown",isSupported:!1,recommendation:"Loading..."};const r=navigator.userAgent;let t="Unknown",e="Please update your browser";if(r.includes("Chrome/")){const o=parseInt(r.match(/Chrome\/(\d+)/)?.[1]||"0");t=`Chrome ${o}`,e=o>=116?"Supported":"Please update to Chrome 116 or later"}else if(r.includes("Edg/")){const o=parseInt(r.match(/Edg\/(\d+)/)?.[1]||"0");t=`Edge ${o}`,e=o>=116?"Supported":"Please update to Edge 116 or later"}else r.includes("Safari/")&&!r.includes("Chrome")?(t="Safari",e="Not supported yet. Please use Chrome or Edge"):r.includes("Firefox/")&&(t="Firefox",e="Not supported yet. Please use Chrome or Edge");return{name:t,isSupported:n,recommendation:e}},[n]);return{isSupported:n,isReady:m,error:f,browserInfo:w}}export{F as useFedCM};
@@ -1 +1 @@
1
- "use client";import{useState as G,useEffect as L,useRef as f,useCallback as j,startTransition as _,useMemo as B}from"react";import{useIsDark as te}from"@donotdev/components";import{handleError as g,getOAuthClientId as oe,getEnabledAuthPartners as re,isClient as ne,useTranslation as ae,useScriptLoader as ie}from"@donotdev/core";import{useAuth as J}from"../useAuth";import{useFedCM as se}from"./useFedCM";function ce({clientId:K,autoSelect:x=!0,cancelOnTapOutside:v=!0,promptParentId:y,disabled:l=!1,onSuccess:C,onError:i,allowedParentOrigins:z,cspNonce:S,clientOnly:R=!1}={}){const{t:n}=ae("auth"),T=J("user"),A=J("signInWithGoogleCredential"),I=te(),s=K||oe("google"),E=re().includes("google"),{isSupported:r,isReady:d,error:F,browserInfo:U}=se({checkGoogleServices:!0,onError:t=>{const o=g(t,{userMessage:n("auth.fedcmNotSupported","Your browser does not support Google One Tap"),context:{operation:"fedcm_detection"},severity:"warning"});i?.(o)}}),{isLoading:V,isLoaded:O,error:P,isReady:q,load:X,loadTriggered:Z}=ie("https://accounts.google.com/gsi/client",{enabled:E&&!!s&&!l&&d&&r,nonce:S,checkExisting:!0,isLoaded:()=>!!window.google?.accounts?.id,onError:t=>{const o=g(t,{userMessage:n("auth.googleScriptLoadError","Failed to load Google Identity Services"),context:{operation:"google_script_load"},severity:"error"});i?.(o)}}),[b,$]=G(!1),[N,W]=G(null),Q=f(null),a=f(!1),c=f(null),D=f(0),[H,p]=G(!1),m="gsi_hide_until",w=600*1e3,M=B(()=>E&&!!s&&!l&&!T&&r&&(R?b:!0)&&!H,[E,s,l,T,r,R,b,H]),ee=B(()=>!r&&d?new Error(n("auth.fedcmRequired","Google One Tap requires a modern browser (Chrome 116+ or Edge 116+)")):P||F||N,[P,F,N,r,d,n]),h=j(async t=>{try{if(!t||typeof t!="string")throw new Error("Invalid credential format");await A(t),_(()=>{C?.(t)})}catch(o){const e=g(o,{userMessage:n("auth.googleOneTapError","Google One Tap authentication failed"),context:{operation:"google_one_tap_signin",credentialLength:t?.length||0},severity:"error"});throw _(()=>{W(e)}),i?.(e),e}},[A,C,i,n]),k=j(()=>{if(!ne()||!q||!s||!window.google?.accounts?.id||!r||a.current)return;const t=Date.now();if(!(t-D.current<w&&D.current>0))try{a.current=!0,D.current=t;const o={client_id:s,callback:async e=>{try{await h(e.credential)}catch(Y){g(Y,{userMessage:"Google One Tap credential handling failed",context:{operation:"google_one_tap_callback"},severity:"error"})}},auto_select:x,cancel_on_tap_outside:v,context:"signin",ux_mode:"popup",itp_support:!0,state:I?"dark":"light",use_fedcm_for_prompt:!0,allowed_parent_origins:z,csp_nonce:S,moment_callback:e=>{const Y=e.getMomentType();if(e.isDisplayMoment?.()){if(!e.isDisplayed?.()&&e.getNotDisplayedReason){a.current=!1;try{const u=Date.now()+w;localStorage.setItem(m,String(u)),p(!0)}catch{}}}else if(e.isSkippedMoment?.()){a.current=!1;try{const u=Date.now()+w;localStorage.setItem(m,String(u)),p(!0)}catch{}}else if(e.isDismissedMoment?.()){a.current=!1;try{const u=Date.now()+w;localStorage.setItem(m,String(u)),p(!0)}catch{}}}};y&&(o.prompt_parent_id=y),window.google.accounts.id.initialize(o),c.current&&window.clearTimeout(c.current),c.current=window.setTimeout(()=>{window.google?.accounts?.id?.prompt(e=>{e?.credential&&h(e.credential)}),c.current=null},100)}catch(o){const e=g(o,{userMessage:n("auth.googleOneTapInitError","Failed to initialize Google One Tap"),context:{operation:"google_one_tap_initialize",fedcmSupported:r},severity:"error"});_(()=>{W(e)}),i?.(e),a.current=!1}},[q,s,r,x,v,y,I,h,i,z,S,n]);return L(()=>{if(typeof window<"u"){_(()=>{$(!0)});try{const t=Number(localStorage.getItem(m)||0);p(t>Date.now())}catch{}}},[]),L(()=>{O&&!l&&M&&d&&k()},[O,l,M,d,k]),L(()=>()=>{c.current&&window.clearTimeout(c.current),a.current=!1},[]),{isLoaded:O,isLoading:V,error:ee,user:T,isDark:I,fedcmSupported:r,isHydrated:b,containerRef:Q,initialize:k,handleCredential:h,shouldShow:M,browserInfo:U,triggerLoad:X,loadTriggered:Z}}export{ce as useGoogleOneTap};
1
+ "use client";import{useState as b,useEffect as k,useRef as _,useCallback as K,startTransition as y,useMemo as j}from"react";import{useIsDark as re}from"@donotdev/components";import{handleError as p,getOAuthClientId as oe,getEnabledAuthPartners as ne,isClient as ie,useTranslation as se,useScriptLoader as ae}from"@donotdev/core";import{useAuth as B}from"../useAuth";import{useFedCM as ce}from"./useFedCM";function me({clientId:J,autoSelect:v=!0,cancelOnTapOutside:x=!0,promptParentId:T,disabled:u=!1,onSuccess:O,onError:s,allowedParentOrigins:z,cspNonce:S,clientOnly:A=!1}={}){const{t:o}=se("auth"),E=B("user"),N=B("signInWithGoogleCredential"),L=re(),a=J||oe("google"),I=ne().includes("google"),{isSupported:r,isReady:d,error:U,browserInfo:Q}=ce({checkGoogleServices:!0,onError:e=>{const l=p(e,{userMessage:o("auth.fedcmNotSupported","Your browser does not support Google One Tap"),context:{operation:"fedcm_detection"},severity:"warning"});s?.(l)}}),{isLoading:V,isLoaded:D,error:F,isReady:P,load:X,loadTriggered:Z}=ae("https://accounts.google.com/gsi/client",{enabled:I&&!!a&&!u&&d&&r,nonce:S,checkExisting:!0,isLoaded:()=>!!window.google?.accounts?.id,onError:e=>{const l=p(e,{userMessage:o("auth.googleScriptLoadError","Failed to load Google Identity Services"),context:{operation:"google_script_load"},severity:"error"});s?.(l)}}),[M,$]=b(!1),[W,q]=b(null),ee=_(null),i=_(!1),c=_(null),C=_(0),[H,f]=b(!1),m="gsi_hide_until",h=600*1e3,G=j(()=>I&&!!a&&!u&&!E&&r&&(A?M:!0)&&!H,[I,a,u,E,r,A,M,H]),te=j(()=>!r&&d?new Error(o("auth.fedcmRequired","Google One Tap requires a modern browser (Chrome 116+ or Edge 116+)")):F||U||W,[F,U,W,r,d,o]),w=K(async e=>{try{if(!e||typeof e!="string")throw new Error("Invalid credential format");await N(e),y(()=>{O?.(e)})}catch(l){const n=p(l,{userMessage:o("auth.googleOneTapError","Google One Tap authentication failed"),context:{operation:"google_one_tap_signin",credentialLength:e?.length||0},severity:"error"});throw y(()=>{q(n)}),s?.(n),n}},[N,O,s,o]),R=K(()=>{if(!ie()||!P||!a||!window.google?.accounts?.id||!r||i.current)return;const e=Date.now();if(!(e-C.current<h&&C.current>0))try{i.current=!0,C.current=e;const n={client_id:a,callback:async t=>{try{await w(t.credential)}catch(Y){p(Y,{userMessage:"Google One Tap credential handling failed",context:{operation:"google_one_tap_callback"},severity:"error"})}},auto_select:v,cancel_on_tap_outside:x,context:"signin",ux_mode:"popup",itp_support:!0,state:L?"dark":"light",use_fedcm_for_prompt:!0,allowed_parent_origins:z,csp_nonce:S,moment_callback:t=>{const Y=t.getMomentType();if(t.isDisplayMoment?.()){if(!t.isDisplayed?.()){if(t.getNotDisplayedReason){i.current=!1;try{const g=Date.now()+h;localStorage.setItem(m,String(g)),f(!0)}catch{}}}}else if(t.isSkippedMoment?.()){i.current=!1;try{const g=Date.now()+h;localStorage.setItem(m,String(g)),f(!0)}catch{}}else if(t.isDismissedMoment?.()){i.current=!1;try{const g=Date.now()+h;localStorage.setItem(m,String(g)),f(!0)}catch{}}}};T&&(n.prompt_parent_id=T),window.google.accounts.id.initialize(n),c.current&&window.clearTimeout(c.current),c.current=window.setTimeout(()=>{window.google?.accounts?.id?.prompt(t=>{t?.credential&&w(t.credential)}),c.current=null},100)}catch(n){const t=p(n,{userMessage:o("auth.googleOneTapInitError","Failed to initialize Google One Tap"),context:{operation:"google_one_tap_initialize",fedcmSupported:r},severity:"error"});y(()=>{q(t)}),s?.(t),i.current=!1}},[P,a,r,v,x,T,L,w,s,z,S,o]);return k(()=>{if(typeof window<"u"){y(()=>{$(!0)});try{const e=Number(localStorage.getItem(m)||0);f(e>Date.now())}catch{}}},[]),k(()=>{D&&!u&&G&&d&&R()},[D,u,G,d,R]),k(()=>()=>{c.current&&window.clearTimeout(c.current),i.current=!1},[]),{isLoaded:D,isLoading:V,error:te,user:E,isDark:L,fedcmSupported:r,isHydrated:M,containerRef:ee,initialize:R,handleCredential:w,shouldShow:G,browserInfo:Q,triggerLoad:X,loadTriggered:Z}}export{me as useGoogleOneTap};
@@ -1 +1 @@
1
- "use client";import{useState as r,useEffect as w}from"react";import{isClient as s}from"@donotdev/core";function l(){const[n,o]=r(()=>s()?navigator.onLine:!0),[e,f]=r("unknown");return w(()=>{if(!s())return;const i=()=>o(!0),t=()=>o(!1),a=()=>{if("connection"in navigator){const c=navigator.connection;f(c.effectiveType||"unknown")}};return window.addEventListener("online",i),window.addEventListener("offline",t),a(),()=>{window.removeEventListener("online",i),window.removeEventListener("offline",t)}},[]),{online:n,connectionType:e,isSlowConnection:e==="slow-2g"||e==="2g",isOnline:n,isOffline:!n}}export{l as useNetworkStatus};
1
+ "use client";import{useState as s,useEffect as u}from"react";import{isClient as c}from"@donotdev/core";function O(){const[n,o]=s(()=>c()?navigator.onLine:!0),[e,r]=s("unknown");return u(()=>{if(!c())return;const t=()=>o(!0),i=()=>o(!1),f=()=>{if("connection"in navigator){const l=navigator.connection;r(l.effectiveType||"unknown")}};return window.addEventListener("online",t),window.addEventListener("offline",i),f(),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",i)}},[]),{online:n,connectionType:e,isSlowConnection:e==="slow-2g"||e==="2g",isOnline:n,isOffline:!n}}export{O as useNetworkStatus};
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- import{useAuth as t}from"./useAuth";import{useDeleteAccount as e}from"./hooks/useDeleteAccount";import{getAuthState as a,subscribeToAuth as o}from"./authHelpers";import{AuthPartnerButton as s,ConfirmDeleteDialog as u,FeatureGuard as r,GoogleOneTap as i,LoginModal as h,MultipleAuthProviders as l,ReauthDialog as A}from"./components";import{getAuthMethod as g}from"./constants";export{s as AuthPartnerButton,u as ConfirmDeleteDialog,r as FeatureGuard,i as GoogleOneTap,h as LoginModal,l as MultipleAuthProviders,A as ReauthDialog,g as getAuthMethod,a as getAuthState,o as subscribeToAuth,t as useAuth,e as useDeleteAccount};
1
+ import{useAuth as o}from"./useAuth";import{useDeleteAccount as u}from"./hooks/useDeleteAccount";import{getAuthState as h,subscribeToAuth as l}from"./authHelpers";import{AuthPartnerButton as p,ConfirmDeleteDialog as A,FeatureGuard as f,GoogleOneTap as g,LoginModal as m,MultipleAuthProviders as n,ReauthDialog as s}from"./components";import{getAuthMethod as d}from"./constants";export{p as AuthPartnerButton,A as ConfirmDeleteDialog,f as FeatureGuard,g as GoogleOneTap,m as LoginModal,n as MultipleAuthProviders,s as ReauthDialog,d as getAuthMethod,h as getAuthState,l as subscribeToAuth,o as useAuth,u as useDeleteAccount};