hedgequantx 2.6.71 → 2.6.72

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": "hedgequantx",
3
- "version": "2.6.71",
3
+ "version": "2.6.72",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -984,9 +984,7 @@ const setupDeviceFlowOAuth = async (provider, config) => {
984
984
 
985
985
  console.log(makeLine(chalk.yellow('DEVICE FLOW AUTHENTICATION')));
986
986
  console.log(makeLine(''));
987
- console.log(makeLine(chalk.white('1. OPEN THIS URL IN YOUR BROWSER:')));
988
- console.log(makeLine(''));
989
- console.log(makeLine(chalk.cyan(deviceResult.verificationUri || deviceResult.verificationUriComplete)));
987
+ console.log(makeLine(chalk.white('1. OPEN THE URL BELOW IN YOUR BROWSER')));
990
988
  console.log(makeLine(''));
991
989
  console.log(makeLine(chalk.white('2. ENTER THIS CODE WHEN PROMPTED:')));
992
990
  console.log(makeLine(''));
@@ -999,6 +997,14 @@ const setupDeviceFlowOAuth = async (provider, config) => {
999
997
 
1000
998
  drawBoxFooter(boxWidth);
1001
999
 
1000
+ // Display URL outside the box for easy copy-paste
1001
+ const verificationUrl = deviceResult.verificationUriComplete || deviceResult.verificationUri;
1002
+ console.log();
1003
+ console.log(chalk.yellow(' OPEN THIS URL IN YOUR BROWSER:'));
1004
+ console.log();
1005
+ console.log(chalk.cyan(` ${verificationUrl}`));
1006
+ console.log();
1007
+
1002
1008
  // Poll for token
1003
1009
  const pollSpinner = ora({ text: 'WAITING FOR AUTHORIZATION...', color: 'cyan' }).start();
1004
1010