2025-05-09 17:00:27 +00:00
|
|
|
/**
|
|
|
|
|
* SmartProxy main module exports
|
|
|
|
|
*/
|
|
|
|
|
|
2026-02-09 10:55:46 +00:00
|
|
|
// Export SmartProxy elements
|
|
|
|
|
export { SmartProxy } from './proxies/smart-proxy/index.js';
|
2025-06-03 16:21:09 +00:00
|
|
|
export { SharedRouteManager as RouteManager } from './core/routing/route-manager.js';
|
2026-02-09 10:55:46 +00:00
|
|
|
|
2025-05-18 16:30:23 +00:00
|
|
|
// Export smart-proxy models
|
|
|
|
|
export type { ISmartProxyOptions, IConnectionRecord, IRouteConfig, IRouteMatch, IRouteAction, IRouteTls, IRouteContext } from './proxies/smart-proxy/models/index.js';
|
|
|
|
|
export type { TSmartProxyCertProvisionObject } from './proxies/smart-proxy/models/interfaces.js';
|
2025-05-13 12:48:41 +00:00
|
|
|
export * from './proxies/smart-proxy/utils/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-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-18 16:30:23 +00:00
|
|
|
// Export IAcmeOptions from one place only
|
|
|
|
|
export type { IAcmeOptions } from './proxies/smart-proxy/models/interfaces.js';
|
|
|
|
|
|
2025-05-09 17:00:27 +00:00
|
|
|
// Modular exports for new architecture
|
2025-05-09 17:10:19 +00:00
|
|
|
export * as tls from './tls/index.js';
|
2025-07-21 19:40:01 +00:00
|
|
|
export * as routing from './routing/index.js';
|
2025-07-21 22:37:45 +00:00
|
|
|
export * as detection from './detection/index.js';
|
2026-02-09 10:55:46 +00:00
|
|
|
export * as protocols from './protocols/index.js';
|