@heroku/heroku-cli-util 10.0.0 → 10.1.0

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,6 +3,7 @@ import { AmbiguousError } from './errors/ambiguous.js';
3
3
  import { NotFound } from './errors/not-found.js';
4
4
  import { AddOnWithRelatedData, ExtendedAddonAttachment, Link } from './types/pg/data-api.js';
5
5
  import { ConnectionDetails, ConnectionDetailsWithAttachment, TunnelConfig } from './types/pg/tunnel.js';
6
+ import DatabaseResolver from './utils/pg/databases.js';
6
7
  import getHost from './utils/pg/host.js';
7
8
  import { prompt } from './ux/prompt.js';
8
9
  import { styledHeader } from './ux/styled-header.js';
@@ -26,6 +27,7 @@ export declare const utils: {
26
27
  NotFound: typeof NotFound;
27
28
  };
28
29
  pg: {
30
+ DatabaseResolver: typeof DatabaseResolver;
29
31
  fetcher: {
30
32
  database(heroku: APIClient, appId: string, attachmentId?: string, namespace?: string): Promise<ConnectionDetailsWithAttachment>;
31
33
  };
package/dist/index.js CHANGED
@@ -26,6 +26,7 @@ export const utils = {
26
26
  NotFound, // This should be NotFoundError for consistency, but we're keeping it for backwards compatibility
27
27
  },
28
28
  pg: {
29
+ DatabaseResolver,
29
30
  fetcher: {
30
31
  database(heroku, appId, attachmentId, namespace) {
31
32
  const databaseResolver = new DatabaseResolver(heroku);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@heroku/heroku-cli-util",
4
- "version": "10.0.0",
4
+ "version": "10.1.0",
5
5
  "description": "Set of helpful CLI utilities",
6
6
  "author": "Heroku",
7
7
  "license": "ISC",