@ashray.mehta/statement-converter 1.4.10 → 1.5.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.
@@ -46,11 +46,11 @@ class N26Adapter extends TransactionAdapter_1.TransactionAdapter {
46
46
  return __awaiter(this, void 0, void 0, function* () {
47
47
  const workBook = XLSX.read(xlsxData, { raw: true, type: 'array' });
48
48
  const sheet = workBook.Sheets[workBook.SheetNames[0]];
49
- const addressForTransactionDate = XLSXUtil_1.XLSXUtil.findText(sheet, "Date");
50
- const addressForDescription = XLSXUtil_1.XLSXUtil.findText(sheet, "Payment reference");
49
+ const addressForTransactionDate = XLSXUtil_1.XLSXUtil.findText(sheet, "Booking Date");
50
+ const addressForDescription = XLSXUtil_1.XLSXUtil.findText(sheet, "Payment Reference");
51
51
  const addressForAmount = XLSXUtil_1.XLSXUtil.findText(sheet, "Amount (EUR)");
52
- const addressForPayee = XLSXUtil_1.XLSXUtil.findText(sheet, "Payee");
53
- const addressForCategory = XLSXUtil_1.XLSXUtil.findText(sheet, "Transaction type");
52
+ const addressForPayee = XLSXUtil_1.XLSXUtil.findText(sheet, "Partner Name");
53
+ const addressForCategory = XLSXUtil_1.XLSXUtil.findText(sheet, "Type");
54
54
  const startingRow = addressForTransactionDate.r + 1;
55
55
  const range = XLSX.utils.decode_range(sheet['!ref']);
56
56
  const rangeEnd = range.e;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ashray.mehta/statement-converter",
3
- "version": "1.4.10",
3
+ "version": "1.5.0",
4
4
  "description": "Library to convert statements from frequently used banks to QIF.",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "license": "ISC",
22
22
  "dependencies": {
23
- "@types/lodash": "4.17.6",
23
+ "@types/lodash": "4.17.10",
24
24
  "lodash-es": "4.17.21",
25
25
  "moment": "2.30.1",
26
26
  "multi-number-parse": "1.1.0",
@@ -29,16 +29,16 @@
29
29
  "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz"
30
30
  },
31
31
  "devDependencies": {
32
- "@types/chai": "4.3.16",
33
- "@types/globalize": "1.5.0",
34
- "@types/mocha": "8.2.0",
32
+ "@types/chai": "5.0.0",
33
+ "@types/globalize": "1.5.5",
34
+ "@types/mocha": "10.0.9",
35
35
  "@types/moment": "2.13.0",
36
- "@types/node": "20.14.10",
37
- "@types/yargs": "17.0.32",
36
+ "@types/node": "22.7.5",
37
+ "@types/yargs": "17.0.33",
38
38
  "chai": "5.1.1",
39
- "mocha": "10.4.0",
40
- "ts-node": "10.9.1",
41
- "tsx": "4.16.2",
42
- "typescript": "5.5.3"
39
+ "mocha": "10.7.3",
40
+ "ts-node": "10.9.2",
41
+ "tsx": "4.19.1",
42
+ "typescript": "5.6.3"
43
43
  }
44
44
  }