From 0baefd84bad993eed36c41e870ac0916669e380e Mon Sep 17 00:00:00 2001 From: joao-muniz-efi Date: Tue, 24 Sep 2024 16:57:31 +0000 Subject: [PATCH] =?UTF-8?q?:wrench:=20Release=201.2.6=20Header=20de=20SDK?= =?UTF-8?q?=20alterado=20para=20indicar=20que=20o=20SDK=20utilizado=20?= =?UTF-8?q?=C3=A9=20do=20padr=C3=A3o=20Ef=C3=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dist/cjs/index.cjs | 4 ++-- dist/esm/index.mjs | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- src/lib/endpoints.js | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dist/cjs/index.cjs b/dist/cjs/index.cjs index aba6aeb..84d7890 100644 --- a/dist/cjs/index.cjs +++ b/dist/cjs/index.cjs @@ -579,7 +579,7 @@ var exports$1 = { } }; var description = "Module for integration with Efi Bank API"; -var version = "1.2.3"; +var version = "1.2.6"; var author = "Efi Bank - Consultoria Técnica | João Vitor Oliveira | João Lucas"; var license = "MIT"; var repository = "efipay/sdk-node-apis-efi"; @@ -782,7 +782,7 @@ class Endpoints { method: 'POST', url: this.baseUrl + this.authRoute.route, headers: { - 'api-sdk': 'node-' + sdkPackage.version + 'api-sdk': 'efi-node-' + sdkPackage.version }, data: { grant_type: 'client_credentials' diff --git a/dist/esm/index.mjs b/dist/esm/index.mjs index 8dc13d8..fc19eba 100644 --- a/dist/esm/index.mjs +++ b/dist/esm/index.mjs @@ -570,7 +570,7 @@ var exports = { } }; var description = "Module for integration with Efi Bank API"; -var version = "1.2.3"; +var version = "1.2.6"; var author = "Efi Bank - Consultoria Técnica | João Vitor Oliveira | João Lucas"; var license = "MIT"; var repository = "efipay/sdk-node-apis-efi"; @@ -773,7 +773,7 @@ class Endpoints { method: 'POST', url: this.baseUrl + this.authRoute.route, headers: { - 'api-sdk': 'node-' + sdkPackage.version + 'api-sdk': 'efi-node-' + sdkPackage.version }, data: { grant_type: 'client_credentials' diff --git a/package-lock.json b/package-lock.json index c0843dd..e5819d7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "sdk-node-apis-efi", - "version": "1.2.5", + "version": "1.2.6", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "sdk-node-apis-efi", - "version": "1.2.5", + "version": "1.2.6", "license": "MIT", "dependencies": { "axios": "^1.2.2", diff --git a/package.json b/package.json index 168ec5f..6bd3ed3 100755 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ } }, "description": "Module for integration with Efi Bank API", - "version": "1.2.5", + "version": "1.2.6", "author": "Efi Bank - Consultoria Técnica | João Vitor Oliveira | João Lucas", "license": "MIT", "repository": "efipay/sdk-node-apis-efi", diff --git a/src/lib/endpoints.js b/src/lib/endpoints.js index 69d0e0d..2f7d2ef 100644 --- a/src/lib/endpoints.js +++ b/src/lib/endpoints.js @@ -165,7 +165,7 @@ class Endpoints { method: 'POST', url: this.baseUrl + this.authRoute.route, headers: { - 'api-sdk': 'node-' + sdkPackage.version, + 'api-sdk': 'efi-node-' + sdkPackage.version, }, data: { grant_type: 'client_credentials',