fix(core): Refactor module exports and update packageManager version in package.json
This commit is contained in:
		| @@ -3,6 +3,6 @@ | ||||
|  */ | ||||
| export const commitinfo = { | ||||
|   name: '@push.rocks/smartproxy', | ||||
|   version: '10.0.3', | ||||
|   version: '10.0.4', | ||||
|   description: 'A powerful proxy package that effectively handles high traffic, with features such as SSL/TLS support, port proxying, WebSocket handling, dynamic routing with authentication options, and automatic ACME certificate management.' | ||||
| } | ||||
|   | ||||
| @@ -6,5 +6,4 @@ export * from './smartproxy/classes.smartproxy.js'; | ||||
| export * from './smartproxy/classes.pp.snihandler.js'; | ||||
| export * from './smartproxy/classes.pp.interfaces.js'; | ||||
|  | ||||
| import * as types from './common/types.js'; | ||||
| export { types }; | ||||
| export * from './common/types.js'; | ||||
|   | ||||
| @@ -1,5 +1,5 @@ | ||||
| import * as plugins from '../plugins.js'; | ||||
| import type { IPortProxySettings, IDomainConfig } from './classes.pp.interfaces.js'; | ||||
|  | ||||
| import { ConnectionManager } from './classes.pp.connectionmanager.js'; | ||||
| import { SecurityManager } from './classes.pp.securitymanager.js'; | ||||
| import { DomainConfigManager } from './classes.pp.domainconfigmanager.js'; | ||||
| @@ -13,6 +13,9 @@ import { CertProvisioner } from './classes.pp.certprovisioner.js'; | ||||
| import type { ICertificateData } from '../common/types.js'; | ||||
| import { buildPort80Handler } from '../common/acmeFactory.js'; | ||||
|  | ||||
| import type { IPortProxySettings, IDomainConfig } from './classes.pp.interfaces.js'; | ||||
| export type { IPortProxySettings, IDomainConfig }; | ||||
|  | ||||
| /** | ||||
|  * SmartProxy - Main class that coordinates all components | ||||
|  */ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user