hedgequantx 2.6.114 → 2.6.115

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.114",
3
+ "version": "2.6.115",
4
4
  "description": "HedgeQuantX - Prop Futures Trading CLI",
5
5
  "main": "src/app.js",
6
6
  "bin": {
@@ -1069,9 +1069,9 @@ const setupProxyOAuth = async (provider, config) => {
1069
1069
  const submitSpinner = ora({ text: 'Submitting callback...', color: 'cyan' }).start();
1070
1070
  try {
1071
1071
  await proxyManager.submitCallback(callbackUrl.trim(), provider.id);
1072
- submitSpinner.text = 'Verifying authorization...';
1073
- await new Promise(resolve => setTimeout(resolve, 1000));
1074
- await proxyManager.waitForAuth(authState, 10000, () => {});
1072
+ // Callback succeeded - CLIProxyAPI handles the token exchange
1073
+ // No need to poll waitForAuth, the callback endpoint already did everything
1074
+ await new Promise(resolve => setTimeout(resolve, 500));
1075
1075
  authSuccess = true;
1076
1076
  submitSpinner.succeed('Authorization successful!');
1077
1077
  } catch (submitError) {