hedgequantx 1.2.44 → 1.2.45

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": "1.2.44",
3
+ "version": "1.2.45",
4
4
  "description": "Prop Futures Algo Trading CLI - Connect to Topstep, Alpha Futures, and other prop firms",
5
5
  "main": "src/app.js",
6
6
  "bin": {
package/src/app.js CHANGED
@@ -355,8 +355,6 @@ const rithmicMenu = async () => {
355
355
 
356
356
  try {
357
357
  const service = new RithmicService(selectedPropfirm.key);
358
- // Debug: log password length to check if $ is eaten
359
- console.log(chalk.gray(`[DEBUG] Password length: ${credentials.password.length}, ends with: ${credentials.password.slice(-2)}`));
360
358
  const result = await service.login(credentials.username, credentials.password);
361
359
 
362
360
  if (result.success) {
@@ -150,6 +150,9 @@ class RithmicConnection extends EventEmitter {
150
150
  onLoginResponse(data) {
151
151
  try {
152
152
  const res = proto.decode('ResponseLogin', data);
153
+
154
+ // Debug: log full response
155
+ console.log('[DEBUG] Login response rpCode:', JSON.stringify(res.rpCode));
153
156
 
154
157
  if (res.rpCode?.[0] === '0') {
155
158
  this.state = 'LOGGED_IN';