2025-09-18 10:29:03 +05:30
|
|
|
/**
|
|
|
|
|
* @opchan/core - Browser library for opchan
|
|
|
|
|
*/
|
|
|
|
|
|
2025-09-18 11:08:42 +05:30
|
|
|
// Export all types
|
|
|
|
|
export * from './types/forum';
|
|
|
|
|
export * from './types/identity';
|
|
|
|
|
export * from './types/waku';
|
|
|
|
|
|
|
|
|
|
// Export database functionality
|
|
|
|
|
export { LocalDatabase, localDatabase } from './lib/database/LocalDatabase';
|
|
|
|
|
export * from './lib/database/schema';
|
|
|
|
|
|
|
|
|
|
// Export delegation system
|
|
|
|
|
export {
|
|
|
|
|
DelegationManager,
|
|
|
|
|
delegationManager,
|
|
|
|
|
DelegationStorage,
|
|
|
|
|
DelegationCrypto
|
|
|
|
|
} from './lib/delegation';
|
|
|
|
|
export * from './lib/delegation/types';
|
2025-09-18 17:02:11 +05:30
|
|
|
export type { DelegationFullStatus } from './lib/delegation';
|
2025-09-18 11:08:42 +05:30
|
|
|
|
|
|
|
|
// Export forum functionality
|
|
|
|
|
export { ForumActions } from './lib/forum/ForumActions';
|
|
|
|
|
export { RelevanceCalculator } from './lib/forum/RelevanceCalculator';
|
|
|
|
|
export * from './lib/forum/transformers';
|
|
|
|
|
|
|
|
|
|
// Export services
|
|
|
|
|
export { BookmarkService } from './lib/services/BookmarkService';
|
|
|
|
|
export { MessageService } from './lib/services/MessageService';
|
|
|
|
|
export { UserIdentityService } from './lib/services/UserIdentityService';
|
|
|
|
|
export { ordinals } from './lib/services/Ordinals';
|
|
|
|
|
|
|
|
|
|
// Export utilities
|
|
|
|
|
export * from './lib/utils';
|
|
|
|
|
export { MessageValidator } from './lib/utils/MessageValidator';
|
|
|
|
|
export { environment, type EnvironmentConfig } from './lib/utils/environment';
|
|
|
|
|
|
|
|
|
|
// Export Waku networking
|
|
|
|
|
export { default as messageManager } from './lib/waku';
|
|
|
|
|
export * from './lib/waku/network';
|
|
|
|
|
|
|
|
|
|
// Export wallet functionality
|
|
|
|
|
export { WalletManager, walletManager } from './lib/wallet';
|
|
|
|
|
export * from './lib/wallet/config';
|
2025-09-18 17:02:11 +05:30
|
|
|
export * from './lib/wallet/types';
|
|
|
|
|
|
|
|
|
|
// Primary client API
|
|
|
|
|
export { OpChanClient, type OpChanClientConfig } from './client/OpChanClient';
|