Commit Graph

195 Commits

Author SHA1 Message Date
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
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
nanov
c5e59414f3 changelog 2019-12-18 16:54:58 +02:00
nanov
5e73d3ce5e bump 2019-12-18 16:53:18 +02:00
nanov
c7e739f767 lock 2019-12-18 16:49:26 +02:00
nanov
478571e447 chore: update deps 2019-12-18 16:49:20 +02:00
nanov
f6dfdf4c40 feat: generalize examples 2019-12-18 16:48:05 +02:00
Dimitar Nanov
fcbf4ca165
Merge pull request #28 from Herrie82/herrie/config
examples: Externalize configuration values and allow for multiple env…
2019-12-18 10:37:02 +02:00
nanov
6187902ae5 chore: transfer to new repository 2019-12-16 14:28:35 +02:00
Dimitar Nanov
65658ab131
Merge pull request #29 from Herrie82/herrie/send-XG1
Add XG1 order type and example
2019-12-13 10:36:30 +02:00
Herrie
d38460011c Add XG1 order type and example
XG1 order type is used for ISO XML 20022 CGI (Common Global Implementation) which should be a unified format that works within a country (irrespective of bank).

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2019-11-29 14:38:46 +01:00
Dimitar Nanov
b9058fac93
Merge pull request #27 from Herrie82/herrie/SupportedBank
README.md: Add Bank GPB International S.A. to supported bank list
2019-11-29 14:14:10 +02:00
Herrie
c3d3decd6a examples: Externalize configuration values and allow for multiple environments
In order to more easily manage testing of various order types as well as production, development etc. environments, externalize this config values.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2019-11-29 13:12:15 +01:00
Herrie
a5b65f815e README.md: Add Bank GPB International S.A. to supported bank list
I was able to test DKI, INI, HAA, HAC, HEV, HVD, STA, VMK, XG1 with Bank GPB International S.A., so I think we're good to add it to the supported bank list.

Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
2019-11-29 11:46:53 +01:00
nanov
5f57a072ea chore: changelog 2019-11-26 18:25:29 +02:00
nanov
f95ecc60b8 chore: changelog 2019-11-26 18:24:35 +02:00