@tamyla/clodo-framework 2.0.16 → 2.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [2.0.17](https://github.com/tamylaa/clodo-framework/compare/v2.0.16...v2.0.17) (2025-10-12)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * use ConfigurationValidator as static class, not instance ([12caaeb](https://github.com/tamylaa/clodo-framework/commit/12caaeba17426239f98dacd2fdb36ac45a7a496b))
7
+
1
8
  ## [2.0.16](https://github.com/tamylaa/clodo-framework/compare/v2.0.15...v2.0.16) (2025-10-12)
2
9
 
3
10
 
@@ -59,7 +59,9 @@ export class MultiDomainOrchestrator {
59
59
  projectRoot: this.servicePath,
60
60
  dryRun: this.dryRun
61
61
  });
62
- this.configValidator = new ConfigurationValidator();
62
+
63
+ // ConfigurationValidator is a static class - don't instantiate
64
+ // Access via ConfigurationValidator.validate() directly
63
65
 
64
66
  // Legacy compatibility: expose portfolioState for backward compatibility
65
67
  this.portfolioState = this.stateManager.portfolioState;
@@ -214,8 +216,8 @@ export class MultiDomainOrchestrator {
214
216
  const domainState = this.portfolioState.domainStates.get(domain);
215
217
  const config = domainState?.config || {};
216
218
 
217
- // Perform security validation
218
- const validationIssues = this.configValidator.validate(config, this.environment);
219
+ // Perform security validation using static method
220
+ const validationIssues = ConfigurationValidator.validate(config, this.environment);
219
221
  if (validationIssues.length > 0) {
220
222
  console.log(` ⚠️ Found ${validationIssues.length} configuration warnings:`);
221
223
  validationIssues.forEach(issue => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamyla/clodo-framework",
3
- "version": "2.0.16",
3
+ "version": "2.0.17",
4
4
  "description": "Reusable framework for Clodo-style software architecture on Cloudflare Workers + D1",
5
5
  "type": "module",
6
6
  "sideEffects": [