@heroku/heroku-cli-util 9.1.3-beta.5 → 9.1.3-beta.6

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
@@ -3,7 +3,7 @@ import { AmbiguousError } from './errors/ambiguous';
3
3
  import { NotFound } from './errors/not-found';
4
4
  import { AddOnWithRelatedData, ExtendedAddonAttachment, Link } from './types/pg/data-api';
5
5
  import { ConnectionDetails, ConnectionDetailsWithAttachment, TunnelConfig } from './types/pg/tunnel';
6
- import { getPsqlConfigs } from './utils/pg/bastion';
6
+ import { getPsqlConfigs, sshTunnel } from './utils/pg/bastion';
7
7
  import DatabaseResolver from './utils/pg/databases';
8
8
  import getHost from './utils/pg/host';
9
9
  import PsqlService from './utils/pg/psql';
@@ -42,6 +42,7 @@ export declare const utils: {
42
42
  psql: {
43
43
  exec(connectionDetails: ConnectionDetailsWithAttachment, query: string, psqlCmdArgs?: string[]): Promise<string>;
44
44
  getPsqlConfigs: typeof getPsqlConfigs;
45
+ sshTunnel: typeof sshTunnel;
45
46
  };
46
47
  };
47
48
  };
package/dist/index.js CHANGED
@@ -48,6 +48,7 @@ exports.utils = {
48
48
  return psqlService.execQuery(query, psqlCmdArgs);
49
49
  },
50
50
  getPsqlConfigs: bastion_1.getPsqlConfigs,
51
+ sshTunnel: bastion_1.sshTunnel,
51
52
  },
52
53
  },
53
54
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heroku/heroku-cli-util",
3
- "version": "9.1.3-beta.5",
3
+ "version": "9.1.3-beta.6",
4
4
  "description": "Set of helpful CLI utilities",
5
5
  "author": "Heroku",
6
6
  "license": "ISC",