@tmlmobilidade/external 20260605.1458.26 → 20260605.1715.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -50,9 +50,9 @@ export class FertagusAuthClient {
50
50
  // Make the POST request to the Authentication API through the SSH tunnel,
51
51
  // and handle the response, extracting the access token or throwing an error if the request fails.
52
52
  const requestBody = new URLSearchParams({
53
+ client_id: process.env.FERTAGUS_AUTH_USERNAME,
54
+ client_secret: process.env.FERTAGUS_AUTH_PASSWORD,
53
55
  grant_type: 'client_credentials',
54
- password: process.env.FERTAGUS_AUTH_PASSWORD,
55
- username: process.env.FERTAGUS_AUTH_USERNAME,
56
56
  }).toString();
57
57
  const response = await fetch(process.env.FERTAGUS_AUTH_URL, {
58
58
  body: requestBody,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/external",
3
- "version": "20260605.1458.26",
3
+ "version": "20260605.1715.34",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"