@tmlmobilidade/external 20260723.1550.37 → 20260723.2301.15

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.
@@ -1,6 +1,6 @@
1
1
  /* * */
2
2
  import { Logger } from '@tmlmobilidade/logger';
3
- import { goSshTunnel } from '@tmlmobilidade/ssh';
3
+ import { cpSshTunnel } from '@tmlmobilidade/ssh';
4
4
  import { asyncSingletonProxy } from '@tmlmobilidade/utils';
5
5
  import https from 'node:https';
6
6
  /* * */
@@ -122,7 +122,7 @@ export class CPAuthClient {
122
122
  throw new Error('Missing CP_AUTH_CLIENT_ID or CP_AUTH_CLIENT_SECRET environment variables.');
123
123
  }
124
124
  if (!this.tunnel) {
125
- this.tunnel = goSshTunnel({ dstAddr: process.env.CP_AUTH_HOST, dstPort: 443 });
125
+ this.tunnel = cpSshTunnel({ dstAddr: process.env.CP_AUTH_HOST, dstPort: 443 });
126
126
  await this.tunnel.connect();
127
127
  }
128
128
  Logger.info({ message: '[CPAuthClient] Setting up SSH Tunnel...' });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/external",
3
- "version": "20260723.1550.37",
3
+ "version": "20260723.2301.15",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"