@oxyhq/services
Version:
46 lines (38 loc) • 1.67 kB
JavaScript
;
/**
* 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';
*/
// Components
export { default as OxyProvider } from "./components/OxyProvider.js";
export { default as WebOxyProvider } from "./components/WebOxyProvider.js";
export { default as OxySignInButton } from "./components/OxySignInButton.js";
export { default as OxyLogo } from "./components/OxyLogo.js";
export { default as Avatar } from "./components/Avatar.js";
export { default as FollowButton } from "./components/FollowButton.js";
export { default as OxyPayButton } from "./components/OxyPayButton.js";
export { FontLoader, setupFonts } from "./components/FontLoader.js";
export { OxyIcon } from "./components/icon/index.js";
// Context
export { useOxy } from "./context/OxyContext.js";
// Hooks
export { useAuth } from "./hooks/useAuth.js";
export { useFollow } from "./hooks/index.js";
export { useStorage } from "./hooks/useStorage.js";
// Screens
export { default as ProfileScreen } from "./screens/ProfileScreen.js";
// Stores
export { useAuthStore } from "./stores/authStore.js";
export { useAccountStore } from "./stores/accountStore.js";
// Styles
export { fontFamilies, fontStyles } from "./styles/fonts.js";
// Toast
export { toast } from '../lib/sonner';
// Error handler utilities
export { handleAuthError, isInvalidSessionError, isTimeoutOrNetworkError, extractErrorMessage } from "./utils/errorHandlers.js";
//# sourceMappingURL=client.js.map