israeli-banks-actual-budget-importer 1.7.3 → 1.7.4
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 +0 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.7.4](https://github.com/tomerh2001/israeli-banks-actual-budget-importer/compare/v1.7.3...v1.7.4) (2025-12-04)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* remove unnecessary reconciliation removal logic when balances are in sync ([0fcc569](https://github.com/tomerh2001/israeli-banks-actual-budget-importer/commit/0fcc56977394265502dd871bc0973a05e614fffe))
|
|
7
|
+
|
|
1
8
|
## [1.7.3](https://github.com/tomerh2001/israeli-banks-actual-budget-importer/compare/v1.7.2...v1.7.3) (2025-12-04)
|
|
2
9
|
|
|
3
10
|
|
package/package.json
CHANGED
package/src/utils.ts
CHANGED
|
@@ -97,16 +97,6 @@ export async function scrapeAndImportTransactions({companyId, bank}: ScrapeTrans
|
|
|
97
97
|
diff: balanceDiff,
|
|
98
98
|
});
|
|
99
99
|
|
|
100
|
-
// If balances are already in sync, remove any existing reconciliation and exit.
|
|
101
|
-
if (existingReconciliation && balanceDiff === 0) {
|
|
102
|
-
stdout.mute();
|
|
103
|
-
await actual.deleteTransaction(existingReconciliation.id);
|
|
104
|
-
stdout.unmute();
|
|
105
|
-
log(`RECONCILIATION_REMOVED, since ${currentBalance.toLocaleString()} === ${accountBalance.toLocaleString()}`, {transactionId: existingReconciliation.id});
|
|
106
|
-
|
|
107
|
-
return;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
100
|
const reconciliationTxn = {
|
|
111
101
|
account: bank.actualAccountId,
|
|
112
102
|
date: moment().format('YYYY-MM-DD'),
|