npm package diff

Package: @forge/cli-shared

Versions: 6.7.0-next.10 - 6.7.0-next.11

File: package/out/apps/app-config.js

Index: package/out/apps/app-config.js
===================================================================
--- package/out/apps/app-config.js
+++ package/out/apps/app-config.js
@@ -1,11 +1,12 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
-exports.assertiveConfigAppIdProvider = exports.adjustLegacyAppId = exports.appConfigKey = exports.appConfigShape = void 0;
+exports.assertiveAppConfigProvider = exports.adjustLegacyAppId = exports.appConfigKey = exports.appConfigShape = void 0;
 const tslib_1 = require("tslib");
 const t = tslib_1.__importStar(require("io-ts"));
 const ari_1 = require("../ari");
 const config_1 = require("../config");
+const ui_1 = require("../ui");
 exports.appConfigShape = t.type({
     id: t.string
 });
 exports.appConfigKey = 'app';
@@ -18,6 +19,8 @@
         id: (0, ari_1.appIdToAriString)(legacyAppDetails.id)
     };
 }
 exports.adjustLegacyAppId = adjustLegacyAppId;
-const assertiveConfigAppIdProvider = (appConfigReader) => () => (0, config_1.assertive)(appConfigReader).readConfigAppIdOrThrow().then(adjustLegacyAppId);
-exports.assertiveConfigAppIdProvider = assertiveConfigAppIdProvider;
+const assertiveAppConfigProvider = (appConfigReader) => () => (0, config_1.assertive)(appConfigReader)
+    .readConfigSectionOrThrow(ui_1.Text.config.missing, ui_1.Text.config.invalid)
+    .then(adjustLegacyAppId);
+exports.assertiveAppConfigProvider = assertiveAppConfigProvider;