fix(smartproxy): Update dependency versions (@push.rocks/smartacme to ^7.2.4, @push.rocks/smartnetwork to ^4.0.1, ws to ^8.18.2) and export common types via index.ts for easier imports.

This commit is contained in:
2025-05-04 12:21:02 +00:00
parent 73f3dfcad4
commit f72f884eda
6 changed files with 42 additions and 26 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/smartproxy',
version: '10.0.2',
version: '10.0.3',
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.'
}

View File

@ -1,3 +1,5 @@
import * as plugins from '../plugins.js';
/**
* Shared types for certificate management and domain options
*/
@ -86,4 +88,6 @@ export interface IAcmeOptions {
certificateStore?: string; // Directory to store certificates
skipConfiguredCerts?: boolean; // Skip domains with existing certificates
domainForwards?: IDomainForwardConfig[]; // Domain-specific forwarding configs
}
}
export interface IReverseProxyConfig extends plugins.tsclass.network.IReverseProxyConfig {}

View File

@ -5,3 +5,6 @@ export * from './redirect/classes.redirect.js';
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 };