Skip to content

Commit bc951dc

Browse files
committed
Release 1.0.1: Correção da rota PixSend
1 parent e01c302 commit bc951dc

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ coverage/
88
.idea/
99
examples/open-accounts/
1010
examples/pix/split/
11-
package-lock.json
11+
package-lock.json
12+
dist/

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sdk-typescript-apis-efi",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "Module for integration with EfiPay API",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export default {
243243
method: 'get',
244244
},
245245
pixSend: {
246-
route: '/v2/pix/:idEnvio',
246+
route: '/v2/gn/pix/:idEnvio',
247247
method: 'put',
248248
},
249249
pixSendDetail: {

src/endpoints.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ class Endpoints {
5555
this.options.agent = this.agent;
5656
}
5757
} catch (error) {
58-
throw new Error(`FALHA AO LER O CERTIFICADO`);
58+
throw new Error(`FALHA AO LER O CERTIFICADO. \nVerifique se o caminho informado está correto: ${this.options.certificate}\n`);
5959
}
6060
}
6161

0 commit comments

Comments
 (0)