Skip to content

Commit

Permalink
🔧 Release 1.2.6
Browse files Browse the repository at this point in the history
Header de SDK alterado para indicar que o SDK utilizado é do padrão Efí
  • Loading branch information
joao-muniz-efi committed Sep 24, 2024
1 parent 87667e3 commit 0baefd8
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dist/cjs/index.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions dist/esm/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/endpoints.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 0baefd8

Please sign in to comment.