@oxyhq/services
Version:
32 lines • 1.71 kB
TypeScript
/**
* Client-only UI exports (tree-shakeable)
*
* Import from this module for client-side bundles where tree-shaking is important.
* These are direct exports without runtime detection overhead.
*
* @example
* import { OxyProvider, useOxy, Avatar } from '@oxyhq/services/ui/client';
*/
export { default as OxyProvider } from './components/OxyProvider';
export { default as WebOxyProvider } from './components/WebOxyProvider';
export { default as OxySignInButton } from './components/OxySignInButton';
export { default as OxyLogo } from './components/OxyLogo';
export { default as Avatar } from './components/Avatar';
export { default as FollowButton } from './components/FollowButton';
export { default as OxyPayButton } from './components/OxyPayButton';
export { FontLoader, setupFonts } from './components/FontLoader';
export { OxyIcon } from './components/icon';
export { useOxy } from './context/OxyContext';
export { useAuth } from './hooks/useAuth';
export type { AuthState, AuthActions, UseAuthReturn } from './hooks/useAuth';
export { useFollow } from './hooks';
export { useStorage } from './hooks/useStorage';
export type { UseStorageOptions, UseStorageResult } from './hooks/useStorage';
export { default as ProfileScreen } from './screens/ProfileScreen';
export { useAuthStore } from './stores/authStore';
export { useAccountStore } from './stores/accountStore';
export { fontFamilies, fontStyles } from './styles/fonts';
export { toast } from '../lib/sonner';
export { handleAuthError, isInvalidSessionError, isTimeoutOrNetworkError, extractErrorMessage, } from './utils/errorHandlers';
export type { HandleAuthErrorOptions } from './utils/errorHandlers';
//# sourceMappingURL=client.d.ts.map