@startanaicompany/cli 1.4.3 → 1.4.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@startanaicompany/cli",
3
- "version": "1.4.3",
3
+ "version": "1.4.4",
4
4
  "description": "Official CLI for StartAnAiCompany.com - Deploy AI recruitment sites with ease",
5
5
  "main": "src/index.js",
6
6
  "bin": {
@@ -82,16 +82,8 @@ async function register(options) {
82
82
  logger.newline();
83
83
  logger.field('Email', email);
84
84
 
85
- // Show session token or API key info
86
- if (result.session_token) {
87
- logger.field('Session Token', result.session_token.substring(0, 20) + '...');
88
- if (result.expires_at) {
89
- const expirationDate = new Date(result.expires_at);
90
- logger.field('Expires', expirationDate.toLocaleDateString());
91
- }
92
- } else if (result.api_key) {
93
- logger.field('API Key', result.api_key.substring(0, 20) + '...');
94
- }
85
+ // Session token is automatically saved, no need to show it
86
+ // User will get their API key after verification
95
87
 
96
88
  } catch (error) {
97
89
  spin.fail('Registration failed');
@@ -66,10 +66,10 @@ async function verify(code) {
66
66
  logger.success('Your account is now verified!');
67
67
  logger.info('You can now create and deploy applications.');
68
68
 
69
- // Show API key if provided
69
+ // Show API key if provided (FULL key, not truncated)
70
70
  if (result.api_key) {
71
71
  logger.newline();
72
- logger.field('API Key', result.api_key.substring(0, 20) + '...');
72
+ logger.field('API Key', result.api_key);
73
73
  logger.warn('Save your API key securely. It will not be shown again.');
74
74
  }
75
75