@hubspot/local-dev-lib 3.6.0 → 3.6.1-beta.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.
@@ -23,7 +23,6 @@ declare class _CLIConfiguration {
23
23
  getDefaultAccountOverrideFilePath(): string | null;
24
24
  getCWDAccountOverride(): string | number | null;
25
25
  getAccountIndex(accountId: number): number;
26
- getConfigForAccount(accountId?: number): CLIAccount_NEW | null;
27
26
  getConfigAccounts(): Array<CLIAccount_NEW> | null;
28
27
  isAccountInConfig(nameOrId: string | number): boolean;
29
28
  getAndLoadConfigIfNeeded(options?: CLIOptions): CLIConfig_NEW;
@@ -234,13 +234,6 @@ class _CLIConfiguration {
234
234
  ? this.config.accounts.findIndex(account => account.accountId === accountId)
235
235
  : -1;
236
236
  }
237
- getConfigForAccount(accountId) {
238
- if (this.config) {
239
- return (this.config.accounts.find(account => account.accountId === accountId) ||
240
- null);
241
- }
242
- return null;
243
- }
244
237
  getConfigAccounts() {
245
238
  if (this.config) {
246
239
  return this.config.accounts || null;
package/config/index.js CHANGED
@@ -108,7 +108,7 @@ function configFileExists(useHiddenConfig) {
108
108
  exports.configFileExists = configFileExists;
109
109
  function getAccountConfig(accountId) {
110
110
  if (CLIConfiguration_1.CLIConfiguration.isActive()) {
111
- return CLIConfiguration_1.CLIConfiguration.getConfigForAccount(accountId);
111
+ return CLIConfiguration_1.CLIConfiguration.getAccount(accountId);
112
112
  }
113
113
  return config_DEPRECATED.getAccountConfig(accountId) || null;
114
114
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hubspot/local-dev-lib",
3
- "version": "3.6.0",
3
+ "version": "3.6.1-beta.0",
4
4
  "description": "Provides library functionality for HubSpot local development tooling, including the HubSpot CLI",
5
5
  "repository": {
6
6
  "type": "git",