Commit Graph

209 Commits

Author SHA1 Message Date
nanov
9ee2be97c4 chore: changelog 2021-03-30 14:27:22 +03:00
nanov
f9fb6d3dc9 chore: cleanup & bump 2021-03-30 14:26:35 +03:00
nanov
2d580c0d44 merge 2021-03-30 14:24:07 +03:00
nanov
5c8139e1bc bump version 2021-03-30 14:23:52 +03:00
Dimitar Nanov
cecaa782c9
Merge pull request #56 from node-ebics/dependabot/npm_and_yarn/y18n-4.0.1
chore(deps): bump y18n from 4.0.0 to 4.0.1
2021-03-30 14:22:37 +03:00
Dimitar Nanov
3eb997e3df
Merge pull request #53 from Herrie82/herrie/additionalConfigItems
Add additional bank configuration items
2021-03-30 14:22:14 +03:00
nanov
2b35ed072a fix: crypto additional byte check 2021-03-30 14:20:25 +03:00
Herrie
9ef50081ca
Merge branch 'master' into herrie/additionalConfigItems 2021-03-30 11:03:35 +02:00
Herman van Hazendonk
d192e61d29 Add additional bank configuration items
For prettier generation of bank letters and other bits used in examples:

Expand the bank config to include:

* "bankFullName" used in the INI letter's which are sent to the bank.
* "bankShortName" used in the filename for the generated letters and in other places if needed.
* "languageCode" used for determining which template to use for the bank (currently "en" and "de" are supported).
* "storageLocation" can be used to specify a local or network path where to store downloaded files.

* In bankLetter.js: Use the current script folder as output for the bank's letter in HTML format instead of the user/os homedir folder.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2021-03-30 11:02:36 +02:00
dependabot[bot]
0e56947b07
chore(deps): bump y18n from 4.0.0 to 4.0.1
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-30 07:50:28 +00:00
nanov
e6420244dc chore: update deps 2021-03-30 10:36:45 +03:00
Dimitar Nanov
c8220f6d45
Merge pull request #46 from node-ebics/dependabot/npm_and_yarn/xmldom-0.5.0
chore(deps): bump xmldom from 0.3.0 to 0.5.0
2021-03-30 10:29:44 +03:00
nanov
f6dfc73ff2 chore: add https://github.com/Herrie82 to contributors 2021-03-30 09:21:34 +03:00
nanov
6921f8d503 chore: cleanup crypto sign fucntion 2021-03-30 09:20:21 +03:00
Dimitar Nanov
043caedc94
Merge pull request #50 from Herrie82/master
Cryto.js: Nasty workaround for incorrect signature (257 vs 256) and h…
2021-03-30 08:58:35 +03:00
Dimitar Nanov
13f6d03cb2
Merge pull request #51 from Herrie82/herrie/multibank
Examples: Improve config implementation for multibank
2021-03-30 08:53:35 +03:00
Dimitar Nanov
546d371193
Merge pull request #55 from Herrie82/herrie/jpm
README.md: Add J.P. Morgan to tested banks
2021-03-30 08:52:02 +03:00
Herman van Hazendonk
374560b14a README.md: Add J.P. Morgan to tested banks
J.P. Morgan has been tested for their global EBICS channel as well and confirmed to be working.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2021-03-29 14:53:27 +02:00
Herman van Hazendonk
500737dbc7 Remove not needed else statement
Cleanup as per comment
2021-03-29 09:12:23 +02:00
Dimitar Nanov
57a15f0722
Merge pull request #49 from Herrie82/herrie/gazprumm
Add support for Bank GPB AO (Gazprombank Russia)
2021-03-29 09:13:59 +03:00
Dimitar Nanov
bff972f354
Merge pull request #48 from Herrie82/herrie/zipped-camt
Add sample code for zipped CAMT statements
2021-03-29 09:12:36 +03:00
Herman van Hazendonk
de92265c95 Examples: Improve config implementation for multibank.
When using the software with multiple banks, the current config file solution wasn't very flexible. We had some different local implementation at our end. In order to use upstream software directly without any changes, suggesting to merge these changes. For me locally it would mean I can get rid of a lot of local example code which are currently bank and even entity specific and can be made more generic.
This will also allow multiple EBICS connections with the same bank for different entities as well, in case this is needed. In our case we have multiple EBICS connections with the same bank.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2021-03-26 19:57:54 +01:00
Herrie
61581d1af7 Cryto.js: Nasty workaround for incorrect signature (257 vs 256) and hex key length (514 vs 512)
For some unknown reason, the signature gets a length of 257 bytes instead of 256 bytes, and the length of the hex value is 514 bytes instead of 512 bytes.

This works around it, until a proper fix is implemented. The bug seems to be caused by https://github.com/node-ebics/node-ebics-client/blob/master/lib/crypto/Crypto.js#L71 somehow.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2021-03-25 10:07:33 +01:00
Herman van Hazendonk
8af3cb50c5 Add sample code for zipped CAMT statements
Some banks provide zipped CAMT statements, add some example code on how to write these to a file.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2021-03-24 22:14:21 +01:00
Herman van Hazendonk
a628e00b9b Add support for Bank GPB AO (Gazprombank Russia)
Add custom order types (G02, G52, G53, G1R and G1V) and examples for Bank GPB AO (Gazprombank Russia).

Pain.001.001.06 (RUB) - G1R
Pain.001.001.06 (FCY/FX/RLS) - G1V
Pain.002.001.06 - G02
Camt.052.001.05 - G52
Camt.053.001.05 - G53

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2021-03-24 22:13:18 +01:00
dependabot[bot]
b8ec1e228e
chore(deps): bump xmldom from 0.3.0 to 0.5.0
Bumps [xmldom](https://github.com/xmldom/xmldom) from 0.3.0 to 0.5.0.
- [Release notes](https://github.com/xmldom/xmldom/releases)
- [Changelog](https://github.com/xmldom/xmldom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/xmldom/xmldom/compare/0.3.0...0.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-13 02:40:29 +00:00
nanov
f027bc4048 chore: adjust ownership 2021-02-05 20:38:38 +02:00
nanov
a998538316 changelog 2021-02-05 20:30:59 +02:00
nanov
b44ff0f44c chore: bump 2021-02-05 20:29:22 +02:00
Dimitar Nanov
2ba095fbdd
Merge pull request #44 from chrwoizi/master
fix high severity vulnerabilities
2021-01-25 16:21:16 +02:00
chrwoizi
c28a6f7f09 fix high severity vulnerabilities 2021-01-21 11:34:37 +01:00
Dimitar Nanov
0585ecd396
Merge pull request #39 from node-ebics/dependabot/npm_and_yarn/lodash-4.17.19
chore(deps): bump lodash from 4.17.15 to 4.17.19
2020-08-05 19:16:34 +03:00
dependabot[bot]
21a46832fc
chore(deps): bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-18 18:01:50 +00:00
nanov
d5a24f9537 chore: fix dev dependencies voulnarbilities 2020-05-09 13:24:00 +03:00
nanov
a9bbdd95c6 chore: changelog 2020-05-09 13:21:16 +03:00
nanov
acd5a1897c v0.1.6 2020-05-09 13:20:30 +03:00
nanov
bd11a410f1 chore: update deps 2020-05-09 13:19:56 +03:00
Dimitar Nanov
4e5d8c2ea5
Merge pull request #34 from node-ebics/dependabot/npm_and_yarn/acorn-7.1.1
chore(deps): bump acorn from 7.1.0 to 7.1.1
2020-05-09 13:12:43 +03:00
dependabot[bot]
f913f95b64
chore(deps): bump acorn from 7.1.0 to 7.1.1
Bumps [acorn](https://github.com/acornjs/acorn) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/7.1.0...7.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
2020-03-14 11:26:46 +00:00
nanov
f232b81fc3 README.md adjust build status 2020-03-06 06:57:27 +02:00
nanov
3a18b213d5 v0.1.5 2020-03-06 06:51:37 +02:00
nanov
7053a03286 chore: update deps 2020-03-06 06:47:56 +02:00
nanov
be76a52ae5 chore: adjust samples 2020-03-06 06:43:17 +02:00
Dimitar Nanov
99f0bd9622
Merge pull request #33 from chrwoizi/master
feat: Wait until the keys are generated
2020-03-06 05:44:59 +02:00
chrwoizi
e57316c6cb
Wait until the keys are generated
The initialization method should wait until the key file is written because other methods could use the keys-method after initialization.
2020-02-14 11:46:15 +01:00
nanov
4b0bf0eba6 fix(examples): orders ref 2019-12-30 11:36:11 +02:00
nanov
e060863356 fix keyStoragePath 2019-12-30 11:28:33 +02:00
nanov
fb464078dc fix(examples): bankLetter setup 2019-12-30 11:10:48 +02:00
nanov
3d4c94dff8 fix(examples): serverAddress -> url 2019-12-30 11:07:24 +02:00
nanov
e98a1f8cc3 fix: loadConfig in exmaples 2019-12-30 09:37:19 +02:00