@varia-bly/variably-sdk
Version:
Official JavaScript/TypeScript SDK for Variably feature flags, experimentation, LLM experiments with React hooks, and real-time dynamic configurations
32 lines • 1.52 kB
JavaScript
/**
* Variably JavaScript/TypeScript SDK
* Official SDK for feature flags and experimentation
*/
// Core client for feature flags and analytics
export { VariablyClient, createClient, createClientFromEnv } from './client';
// Dynamic configuration client with real-time updates
export { DynamicConfigClient } from './dynamic-config-client';
// WebSocket client for real-time updates
export { WebSocketClient } from './websocket-client';
// Error types
export { VariablyError, NetworkError, AuthenticationError, ValidationError } from './errors';
// Cache management
export { CacheManager, MemoryCache, BrowserCache } from './cache';
// Advanced analytics and statistical analysis
export { StatisticalAnalysis } from './statistical-analysis';
// Real-time alerting system
export { RealTimeAlerting } from './alerting';
// Auto-tracking capabilities
export { AutoTracker } from './auto-tracker';
// REST client for direct API access (includes streaming)
export { VariablyRESTClient, createRESTClient, createRESTClientFromEnv, PromptContextBuilder } from './rest-client';
// LLM capabilities
export { VariablyLLMClient } from './llm-client';
// Backwards compatibility alias
export { VariablyLLMClient as LLMClient } from './llm-client';
// React Hooks for LLM experiments
export { useLLMPrompt, useLLMStreaming, useConversation, useLLMEvaluation, useLLMClient } from './react-hooks';
// Re-export for convenience
import { VariablyClient } from './client';
export default VariablyClient;
//# sourceMappingURL=index.js.map