@actual-app/sync-server 25.11.0-nightly.20251016 → 25.11.0-nightly.20251017

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.
@@ -0,0 +1,18 @@
1
+ import Fallback from './integration-bank.js';
2
+ /** @type {import('./bank.interface.js').IBank} */
3
+ export default {
4
+ ...Fallback,
5
+ institutionIds: ['CETELEM_CETMPTP1XXX'],
6
+ /**
7
+ * Sign of transaction amount needs to be flipped for Cetelem Black credit cards
8
+ */
9
+ normalizeTransaction(transaction, booked) {
10
+ const editedTrans = { ...transaction };
11
+ transaction.transactionAmount = {
12
+ // Flip transaction amount sign
13
+ ...transaction.transactionAmount,
14
+ amount: (-parseFloat(transaction.transactionAmount.amount)).toString(),
15
+ };
16
+ return Fallback.normalizeTransaction(transaction, booked, editedTrans);
17
+ },
18
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@actual-app/sync-server",
3
- "version": "25.11.0-nightly.20251016",
3
+ "version": "25.11.0-nightly.20251017",
4
4
  "license": "MIT",
5
5
  "description": "actual syncing server",
6
6
  "bin": {
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@actual-app/crdt": "2.1.0",
31
- "@actual-app/web": "25.11.0-nightly.20251016",
31
+ "@actual-app/web": "25.11.0-nightly.20251017",
32
32
  "bcrypt": "^6.0.0",
33
33
  "better-sqlite3": "^12.4.1",
34
34
  "convict": "^6.2.4",