2025-05-09 17:00:27 +00:00
|
|
|
/**
|
|
|
|
* SmartProxy main module exports
|
|
|
|
*/
|
|
|
|
|
|
|
|
// Legacy exports (to maintain backward compatibility)
|
2025-05-09 21:21:28 +00:00
|
|
|
// Migrated to the new proxies structure
|
|
|
|
export * from './proxies/nftables-proxy/index.js';
|
2025-05-09 21:52:46 +00:00
|
|
|
export * from './proxies/network-proxy/index.js';
|
2025-05-09 17:10:19 +00:00
|
|
|
// Export port80handler elements selectively to avoid conflicts
|
|
|
|
export {
|
|
|
|
Port80Handler,
|
2025-05-09 21:52:46 +00:00
|
|
|
Port80HandlerError as HttpError,
|
2025-05-09 17:10:19 +00:00
|
|
|
ServerError,
|
|
|
|
CertificateError
|
2025-05-09 21:52:46 +00:00
|
|
|
} from './http/port80/port80-handler.js';
|
2025-05-09 17:10:19 +00:00
|
|
|
// Use re-export to control the names
|
|
|
|
export { Port80HandlerEvents } from './certificate/events/certificate-events.js';
|
|
|
|
|
2025-04-04 17:15:50 +00:00
|
|
|
export * from './redirect/classes.redirect.js';
|
2025-05-09 21:21:28 +00:00
|
|
|
export * from './proxies/smart-proxy/index.js';
|
2025-05-09 17:00:27 +00:00
|
|
|
// Original: export * from './smartproxy/classes.pp.snihandler.js'
|
|
|
|
// Now we export from the new module
|
|
|
|
export { SniHandler } from './tls/sni/sni-handler.js';
|
2025-05-09 21:21:28 +00:00
|
|
|
// Original: export * from './smartproxy/classes.pp.interfaces.js'
|
|
|
|
// Now we export from the new module
|
|
|
|
export * from './proxies/smart-proxy/models/interfaces.js';
|
2025-05-04 12:21:02 +00:00
|
|
|
|
2025-05-09 17:00:27 +00:00
|
|
|
// Core types and utilities
|
|
|
|
export * from './core/models/common-types.js';
|
2025-05-09 14:15:45 +00:00
|
|
|
|
2025-05-09 17:00:27 +00:00
|
|
|
// Modular exports for new architecture
|
|
|
|
export * as forwarding from './forwarding/index.js';
|
|
|
|
export * as certificate from './certificate/index.js';
|
2025-05-09 17:10:19 +00:00
|
|
|
export * as tls from './tls/index.js';
|
|
|
|
export * as http from './http/index.js';
|