fix(SmartAcme): Remove duplicate challengeHandlers declaration from SmartAcme class
This commit is contained in:
		@@ -1,5 +1,11 @@
 | 
				
			|||||||
# Changelog
 | 
					# 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)
 | 
					## 2025-05-05 - 7.3.2 - fix(test)
 | 
				
			||||||
Add missing checkWetherDomainIsSupported implementation to DummyHandler for interface compliance in tests
 | 
					Add missing checkWetherDomainIsSupported implementation to DummyHandler for interface compliance in tests
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -3,6 +3,6 @@
 | 
				
			|||||||
 */
 | 
					 */
 | 
				
			||||||
export const commitinfo = {
 | 
					export const commitinfo = {
 | 
				
			||||||
  name: '@push.rocks/smartacme',
 | 
					  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.'
 | 
					  description: 'A TypeScript-based ACME client for LetsEncrypt certificate management with a focus on simplicity and power.'
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -64,13 +64,15 @@ export class SmartAcme {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  // certificate manager for persistence (implements ICertManager)
 | 
					  // certificate manager for persistence (implements ICertManager)
 | 
				
			||||||
  public certmanager: ICertManager;
 | 
					  public certmanager: ICertManager;
 | 
				
			||||||
 | 
					  // configured pluggable ACME challenge handlers
 | 
				
			||||||
 | 
					  public challengeHandlers: plugins.handlers.IChallengeHandler<any>[];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  private certmatcher: SmartacmeCertMatcher;
 | 
					  private certmatcher: SmartacmeCertMatcher;
 | 
				
			||||||
  // retry/backoff configuration (resolved with defaults)
 | 
					  // retry/backoff configuration (resolved with defaults)
 | 
				
			||||||
  private retryOptions: { retries: number; factor: number; minTimeoutMs: number; maxTimeoutMs: number };
 | 
					  private retryOptions: { retries: number; factor: number; minTimeoutMs: number; maxTimeoutMs: number };
 | 
				
			||||||
  // track pending DNS challenges for graceful shutdown
 | 
					  // track pending DNS challenges for graceful shutdown
 | 
				
			||||||
  private pendingChallenges: plugins.tsclass.network.IDnsChallenge[] = [];
 | 
					  private pendingChallenges: plugins.tsclass.network.IDnsChallenge[] = [];
 | 
				
			||||||
  // configured pluggable ACME challenge handlers
 | 
					 | 
				
			||||||
  private challengeHandlers: plugins.handlers.IChallengeHandler<any>[];
 | 
					 | 
				
			||||||
  // priority order of challenge types
 | 
					  // priority order of challenge types
 | 
				
			||||||
  private challengePriority: string[];
 | 
					  private challengePriority: string[];
 | 
				
			||||||
  // Map for coordinating concurrent certificate requests
 | 
					  // Map for coordinating concurrent certificate requests
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user