diff --git a/changelog.md b/changelog.md index f9924ea..f75701f 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2025-05-05 - 7.3.3 - fix(SmartAcme) +Remove duplicate challengeHandlers declaration from SmartAcme class + +- Eliminated the redundant private declaration of challengeHandlers since it is already defined as a public property +- Ensures a single source of truth and clearer interface for challenge handler configuration + ## 2025-05-05 - 7.3.2 - fix(test) Add missing checkWetherDomainIsSupported implementation to DummyHandler for interface compliance in tests diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 9131312..07bed2a 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/smartacme', - version: '7.3.2', + version: '7.3.3', description: 'A TypeScript-based ACME client for LetsEncrypt certificate management with a focus on simplicity and power.' } diff --git a/ts/smartacme.classes.smartacme.ts b/ts/smartacme.classes.smartacme.ts index 730f6a5..62dd5c6 100644 --- a/ts/smartacme.classes.smartacme.ts +++ b/ts/smartacme.classes.smartacme.ts @@ -64,13 +64,15 @@ export class SmartAcme { // certificate manager for persistence (implements ICertManager) public certmanager: ICertManager; + // configured pluggable ACME challenge handlers + public challengeHandlers: plugins.handlers.IChallengeHandler[]; + + private certmatcher: SmartacmeCertMatcher; // retry/backoff configuration (resolved with defaults) private retryOptions: { retries: number; factor: number; minTimeoutMs: number; maxTimeoutMs: number }; // track pending DNS challenges for graceful shutdown private pendingChallenges: plugins.tsclass.network.IDnsChallenge[] = []; - // configured pluggable ACME challenge handlers - private challengeHandlers: plugins.handlers.IChallengeHandler[]; // priority order of challenge types private challengePriority: string[]; // Map for coordinating concurrent certificate requests