npm package diff
Package: @forge/cli-shared
Versions: 6.6.2-next.5 - 6.6.2-next.6
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,12 +1,11 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
-exports.assertiveAppConfigProvider = exports.adjustLegacyAppId = exports.appConfigKey = exports.appConfigShape = void 0;
+exports.assertiveConfigAppIdProvider = 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';
@@ -19,8 +18,6 @@
id: (0, ari_1.appIdToAriString)(legacyAppDetails.id)
};
}
exports.adjustLegacyAppId = adjustLegacyAppId;
-const assertiveAppConfigProvider = (appConfigReader) => () => (0, config_1.assertive)(appConfigReader)
- .readConfigSectionOrThrow(ui_1.Text.config.missing, ui_1.Text.config.invalid)
- .then(adjustLegacyAppId);
-exports.assertiveAppConfigProvider = assertiveAppConfigProvider;
+const assertiveConfigAppIdProvider = (appConfigReader) => () => (0, config_1.assertive)(appConfigReader).readConfigAppIdOrThrow().then(adjustLegacyAppId);
+exports.assertiveConfigAppIdProvider = assertiveConfigAppIdProvider;