From ba997d312bf449a694df5f9acbca25a77558271d Mon Sep 17 00:00:00 2001 From: nanov Date: Tue, 30 Apr 2024 03:05:31 +0300 Subject: [PATCH 1/3] fix: correct rock post signature --- lib/Client.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Client.js b/lib/Client.js index 48d97c0..335fbd2 100644 --- a/lib/Client.js +++ b/lib/Client.js @@ -215,9 +215,9 @@ module.exports = class Client { .data(r) .persist(); - rock.post( - this.url, - { + rock({ + method: 'POST', + url: this.url, body: r, headers: { 'content-type': 'text/xml;charset=UTF-8' }, }, From 475fc5828900f1dc24a33283309d0f38b365bfac Mon Sep 17 00:00:00 2001 From: nanov Date: Tue, 30 Apr 2024 03:06:39 +0300 Subject: [PATCH 2/3] chore: align licensces between package.json and LICENSE.MD --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cfd2473..493270a 100644 --- a/package.json +++ b/package.json @@ -57,7 +57,7 @@ "url": "https://github.com/Herrie82" } ], - "license": "GPL-3.0-only", + "license": "MIT", "dependencies": { "@xmldom/xmldom": "^0.8.10", "handlebars": "^4.7.8", From 231830addc5d29fe158963a0fc8477b04bf05fc5 Mon Sep 17 00:00:00 2001 From: nanov Date: Tue, 30 Apr 2024 03:08:25 +0300 Subject: [PATCH 3/3] chore: bump version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 493270a..5617d2a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ebics-client", - "version": "4.0.0", + "version": "4.1.0", "description": "Node.js ISO 20022 Compliant EBICS Client", "main": "index.js", "files": [