diff --git a/changelog.md b/changelog.md index 6e78b43..98461f7 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,12 @@ # Changelog +## 2025-05-04 - 10.0.5 - fix(exports/types) +Refactor exports and remove duplicate IReverseProxyConfig interface + +- Removed redundant IReverseProxyConfig extension from ts/common/types.ts +- Updated ts/index.ts to export networkproxy via index.js instead of classes.np.networkproxy.js +- Simplified module exports to avoid duplicate interface definitions + ## 2025-05-04 - 10.0.4 - fix(core) Refactor module exports and update packageManager version in package.json diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 29ba8c9..c63c2c7 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smartproxy', - version: '10.0.4', + version: '10.0.5', 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.' } diff --git a/ts/common/types.ts b/ts/common/types.ts index fc48161..a0937a1 100644 --- a/ts/common/types.ts +++ b/ts/common/types.ts @@ -89,5 +89,3 @@ export interface IAcmeOptions { skipConfiguredCerts?: boolean; // Skip domains with existing certificates domainForwards?: IDomainForwardConfig[]; // Domain-specific forwarding configs } - -export interface IReverseProxyConfig extends plugins.tsclass.network.IReverseProxyConfig {} \ No newline at end of file diff --git a/ts/index.ts b/ts/index.ts index 895179c..60131ae 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -1,5 +1,5 @@ export * from './nfttablesproxy/classes.nftablesproxy.js'; -export * from './networkproxy/classes.np.networkproxy.js'; +export * from './networkproxy/index.js'; export * from './port80handler/classes.port80handler.js'; export * from './redirect/classes.redirect.js'; export * from './smartproxy/classes.smartproxy.js';