@tamyla/clodo-framework 2.0.10 → 2.0.12
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,17 @@
|
|
|
1
|
+
## [2.0.12](https://github.com/tamylaa/clodo-framework/compare/v2.0.11...v2.0.12) (2025-10-12)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* correct zone details property access in auto-discovery ([bfca8af](https://github.com/tamylaa/clodo-framework/commit/bfca8af21a28e96e3fa8809d38de997982723d5a))
|
|
7
|
+
|
|
8
|
+
## [2.0.11](https://github.com/tamylaa/clodo-framework/compare/v2.0.10...v2.0.11) (2025-10-12)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* correct domain selection parsing in auto-discovery ([ea80443](https://github.com/tamylaa/clodo-framework/commit/ea80443bf9968d592f066e7d5d13ee47d6fde889))
|
|
14
|
+
|
|
1
15
|
## [2.0.10](https://github.com/tamylaa/clodo-framework/compare/v2.0.9...v2.0.10) (2025-10-12)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -387,14 +387,17 @@ export class InputCollector {
|
|
|
387
387
|
|
|
388
388
|
// Format zones for display
|
|
389
389
|
const formatted = formatZonesForDisplay(zones);
|
|
390
|
-
|
|
390
|
+
formatted.forEach((line, index) => {
|
|
391
|
+
console.log(chalk.white(` ${index + 1}. ${line}`));
|
|
392
|
+
});
|
|
391
393
|
|
|
392
394
|
// Let user select a domain
|
|
393
395
|
const selection = await this.prompt('\nSelect domain (enter number or name): ');
|
|
394
|
-
const
|
|
395
|
-
if (
|
|
396
|
+
const selectedIndex = parseZoneSelection(selection, zones);
|
|
397
|
+
if (selectedIndex === -1) {
|
|
396
398
|
throw new Error('Invalid domain selection');
|
|
397
399
|
}
|
|
400
|
+
const selectedZone = zones[selectedIndex];
|
|
398
401
|
console.log(chalk.green(`\n✓ Selected: ${selectedZone.name}`));
|
|
399
402
|
|
|
400
403
|
// Get full zone details
|
|
@@ -402,9 +405,10 @@ export class InputCollector {
|
|
|
402
405
|
return {
|
|
403
406
|
domainName: zoneDetails.name,
|
|
404
407
|
zoneId: zoneDetails.id,
|
|
405
|
-
accountId: zoneDetails.
|
|
406
|
-
|
|
407
|
-
|
|
408
|
+
accountId: zoneDetails.accountId,
|
|
409
|
+
// Already flattened in getZoneDetails response
|
|
410
|
+
accountName: zoneDetails.accountName,
|
|
411
|
+
nameServers: zoneDetails.nameServers,
|
|
408
412
|
status: zoneDetails.status
|
|
409
413
|
};
|
|
410
414
|
} catch (error) {
|