@privy-io/expo
Version:
Expo client for the Privy Auth API
2 lines (1 loc) • 2.24 kB
JavaScript
import{a as it,b as pt,c as ut,d as nt,e as ht,f as ft,g as st,h as at}from"./chunk-QSWCX5XI.js";import{A as T,B as V,C as X,D as Y,E as Z,F as _,G as $,H as E,I as tt,J as ot,K as et,L as i,M as rt,a as P,b as g,c as L,d as W,e as v,f as N,g as R,h as k,i as C,j as I,k as U,l as w,m as F,n as S,o as G,p as B,q as H,r as b,s as j,t as q,u as z,v as D,w as J,x as K,y as M,z as Q}from"./chunk-Z7JAOTRP.js";import{e as r,g as y,n as a,o as m,p as x,q as c,r as d,s as A,t as O,u as l}from"./chunk-VCDHJV7C.js";import"./chunk-OWCFWPAL.js";export*from"@privy-io/js-sdk-core";import t from"react";var dt=({loading:p,error:o,unauthenticated:u,children:n})=>{let{isReady:h,error:e}=i(),f=r();if(!h)return t.createElement(t.Fragment,null,p);if(e&&o){let s=typeof o=="function"?o(e):o;return t.createElement(t.Fragment,null,s)}return f?t.createElement(t.Fragment,null,n):t.createElement(t.Fragment,null,u)};export{dt as AuthBoundary,A as PrivyContext,l as PrivyProvider,c as SecureStorageAdapter,d as createPrivyClient,O as getAccessToken,st as hasError,it as isConnected,ut as isConnecting,ft as isCreating,nt as isDisconnected,ht as isNotCreated,pt as isReconnecting,at as needsRecovery,rt as useAuthorizationSignature,Z as useCreateGuestAccount,et as useEmbeddedBitcoinWallet,tt as useEmbeddedEthereumWallet,ot as useEmbeddedSolanaWallet,V as useEmbeddedWallet,X as useEmbeddedWalletStateChange,H as useHeadlessDelegatedActions,Y as useIdentityToken,R as useLinkEmail,C as useLinkSMS,D as useLinkWithCrossApp,U as useLinkWithFarcaster,m as useLinkWithOAuth,P as useLinkWithSiwe,W as useLinkWithSiws,z as useLoginWithCrossApp,k as useLoginWithEmail,F as useLoginWithFarcaster,S as useLoginWithFarcasterV2,a as useLoginWithOAuth,I as useLoginWithSMS,g as useLoginWithSiwe,v as useLoginWithSiws,$ as useMfa,E as useMfaEnrollment,x as useOAuthFlow,B as useOAuthTokens,y as useOnNeedsRecovery,i as usePrivy,L as usePrivyClient,T as useRecoverEmbeddedWallet,_ as useRegisterMfaListener,M as useSendTransactionWithCrossApp,b as useSessionSigners,Q as useSetEmbeddedWalletRecovery,J as useSignMessageWithCrossApp,K as useSignTypedDataWithCrossApp,w as useUnlinkFarcaster,G as useUnlinkOAuth,N as useUnlinkWallet,j as useUpdateEmail,q as useUpdatePhone};