fix(SmartCertManager): Preserve certificate manager update callback during route updates

This commit is contained in:
2025-05-19 13:23:16 +00:00
parent e317fd9d7e
commit 6d3e72c948
7 changed files with 504 additions and 235 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/smartproxy',
version: '19.3.1',
version: '19.3.2',
description: 'A powerful proxy package with unified route-based configuration for high traffic management. Features include SSL/TLS support, flexible routing patterns, WebSocket handling, advanced security options, and automatic ACME certificate management.'
}

View File

@ -72,14 +72,6 @@ export class SmartCertManager {
this.networkProxy = networkProxy;
}
/**
* Get the current state of the certificate manager
*/
public getState(): { challengeRouteActive: boolean } {
return {
challengeRouteActive: this.challengeRouteActive
};
}
/**
* Set the ACME state manager
@ -648,5 +640,14 @@ export class SmartCertManager {
public getAcmeOptions(): { email?: string; useProduction?: boolean; port?: number } | undefined {
return this.acmeOptions;
}
/**
* Get certificate manager state
*/
public getState(): { challengeRouteActive: boolean } {
return {
challengeRouteActive: this.challengeRouteActive
};
}
}

File diff suppressed because it is too large Load Diff