@tmlmobilidade/ssh 20260513.1432.15 → 20260513.1532.47

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.
package/dist/index.d.ts CHANGED
@@ -11,12 +11,12 @@ export interface SshTunnelServiceOptions {
11
11
  }
12
12
  export declare class SshTunnelService {
13
13
  private static _instance;
14
- get server(): Server | undefined;
15
14
  private _server;
16
15
  private config;
17
16
  private options;
18
17
  private retries;
19
18
  constructor(config: SshConfig, options?: SshTunnelServiceOptions);
19
+ get server(): Server | undefined;
20
20
  /**
21
21
  * Get the singleton instance of SshTunnelService.
22
22
  */
package/dist/index.js CHANGED
@@ -4,9 +4,6 @@ import { createTunnel } from 'tunnel-ssh';
4
4
  /* * */
5
5
  export class SshTunnelService {
6
6
  static _instance;
7
- get server() {
8
- return this._server;
9
- }
10
7
  _server;
11
8
  config;
12
9
  options;
@@ -16,6 +13,9 @@ export class SshTunnelService {
16
13
  if (options)
17
14
  this.options = options;
18
15
  }
16
+ get server() {
17
+ return this._server;
18
+ }
19
19
  /**
20
20
  * Get the singleton instance of SshTunnelService.
21
21
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/ssh",
3
- "version": "20260513.1432.15",
3
+ "version": "20260513.1532.47",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"