israeli-banks-actual-budget-importer 1.6.0 → 1.6.1

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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [1.6.1](https://github.com/tomerh2001/israeli-banks-actual-budget-importer/compare/v1.6.0...v1.6.1) (2025-12-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * update transaction notes to use memo instead of status ([1483fdb](https://github.com/tomerh2001/israeli-banks-actual-budget-importer/commit/1483fdbd35c2e23106ab561926df79797c5b09f8))
7
+
1
8
  # [1.6.0](https://github.com/tomerh2001/israeli-banks-actual-budget-importer/compare/v1.5.3...v1.6.0) (2025-12-02)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.6.0",
2
+ "version": "1.6.1",
3
3
  "name": "israeli-banks-actual-budget-importer",
4
4
  "module": "index.ts",
5
5
  "type": "module",
package/src/utils.ts CHANGED
@@ -54,10 +54,13 @@ export async function scrapeAndImportTransactions({companyId, bank}: ScrapeTrans
54
54
  amount: actual.utils.amountToInteger(x.chargedAmount),
55
55
  payee: _.find(payees, {name: x.description})?.id ?? (await actual.createPayee({name: x.description})),
56
56
  imported_payee: x.description,
57
- notes: x.status,
57
+ notes: x.memo,
58
58
  imported_id: `${x.identifier}-${moment(x.date).format('YYYY-MM-DD HH:mm:ss')}`,
59
59
  }));
60
60
 
61
+ // Print first 5 mapped transactions for debugging
62
+ log('MAPPED_TRANSACTIONS_SAMPLE', {sample: await Promise.all(mappedTransactions.slice(0, 5))});
63
+
61
64
  stdout.mute();
62
65
  const importResult = await actual.importTransactions(bank.actualAccountId, await Promise.all(mappedTransactions), {defaultCleared: true});
63
66
  stdout.unmute();