Skip to content

Fix the app, improve logging, and update dependencies#2

Merged
GraysonCAdams merged 9 commits intoGraysonCAdams:mainfrom
parkerbxyz:main
Mar 9, 2026
Merged

Fix the app, improve logging, and update dependencies#2
GraysonCAdams merged 9 commits intoGraysonCAdams:mainfrom
parkerbxyz:main

Conversation

@parkerbxyz
Copy link
Contributor

This pull request gets this app back in working order.

  • index.js and mail.js: Organized imports. [1] [2]
  • mail.js: Updated the email parsing logic to correctly identify and extract the order total from emails.
  • mail.js: Reduced console output noise during historical email searches using process.stdout.write. This output now stays on a single line instead of one line per email searched. [1] [2]
  • ynab.js: Updated the fetchTransactions method to only fetch unapproved transactions, added error handling, and improved logging for transaction fetching and caching. [1] [2] [3] [4]
  • package.json: Updated dependencies for cheerio, dotenv, and ynab to their latest versions.

This fixes a timeout error that can occur when importing all transactions in a budget before filtering them.
Order confirmation emails use a new format that requires a change to how order amounts are parsed from them.
@GraysonCAdams GraysonCAdams merged commit a472978 into GraysonCAdams:main Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants