humanbehavior-js
Version:
SDK for HumanBehavior session and event recording
28 lines (20 loc) • 811 B
text/typescript
/**
* Main entry point for the HumanBehavior SDK
*/
import { HumanBehaviorTracker } from './tracker';
// Export everything from the tracker module
export * from './tracker';
// Export everything from the API module
export * from './api';
// Export redaction functionality
export * from './redact';
// Export logger functionality
export * from './utils/logger';
// Installation wizard is exported separately to avoid Node.js dependencies in browser bundles
// Import from 'humanbehavior-js/install-wizard' for Node.js usage
// Note: Default export removed to avoid mixed export warnings
// Use: import { HumanBehaviorTracker } from 'humanbehavior-js'
// For UMD builds, expose the main class globally
if (typeof window !== 'undefined') {
(window as any).HumanBehaviorTracker = HumanBehaviorTracker;
}