atris 3.80.0 → 3.80.1

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/commands/auth.js CHANGED
@@ -737,7 +737,7 @@ async function loginAtris(options = {}) {
737
737
 
738
738
  openBrowser(loginUrl);
739
739
 
740
- const code = await promptUser('CLI code: ');
740
+ const code = await promptUser('CLI code: ', { secret: true });
741
741
  if (!code) {
742
742
  console.error('Error: Code is required.');
743
743
  process.exit(1);
@@ -774,7 +774,7 @@ async function loginAtris(options = {}) {
774
774
  } else if (methodChoice === '2') {
775
775
  console.log('\nGet your token from: https://atris.ai/auth/cli\n');
776
776
 
777
- const tokenInput = await promptUser('API token: ');
777
+ const tokenInput = await promptUser('API token: ', { secret: true });
778
778
 
779
779
  if (!tokenInput) {
780
780
  console.error('Error: Token is required.');