israeli-banks-actual-budget-importer 1.6.1 → 1.7.0
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/CHANGELOG.md +7 -0
- package/package.json +1 -1
- package/src/utils.ts +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [1.7.0](https://github.com/tomerh2001/israeli-banks-actual-budget-importer/compare/v1.6.1...v1.7.0) (2025-12-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* add logging for first 5 scraped transactions ([47dc4e9](https://github.com/tomerh2001/israeli-banks-actual-budget-importer/commit/47dc4e956395edcddc3779fe252bc15b9ce9d3ca))
|
|
7
|
+
|
|
1
8
|
## [1.6.1](https://github.com/tomerh2001/israeli-banks-actual-budget-importer/compare/v1.6.0...v1.6.1) (2025-12-04)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/utils.ts
CHANGED
|
@@ -49,6 +49,10 @@ export async function scrapeAndImportTransactions({companyId, bank}: ScrapeTrans
|
|
|
49
49
|
|
|
50
50
|
const accountBalance = result.accounts![0].balance!;
|
|
51
51
|
const payees: PayeeEntity[] = await actual.getPayees();
|
|
52
|
+
|
|
53
|
+
// Print first 5 scraped transactions for debugging
|
|
54
|
+
log('SCRAPED_TRANSACTIONS_SAMPLE', {sample: transactions.slice(0, 5)});
|
|
55
|
+
|
|
52
56
|
const mappedTransactions = transactions.map(async x => ({
|
|
53
57
|
date: moment(x.date).format('YYYY-MM-DD'),
|
|
54
58
|
amount: actual.utils.amountToInteger(x.chargedAmount),
|