@fern-api/fern-api-dev 4.62.3-1-g4f6e811596d → 4.62.3
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/cli.cjs +8 -16
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -602754,7 +602754,7 @@ var AccessTokenPosthogManager = class {
|
|
|
602754
602754
|
properties: {
|
|
602755
602755
|
...event,
|
|
602756
602756
|
...event.properties,
|
|
602757
|
-
version: "4.62.3
|
|
602757
|
+
version: "4.62.3",
|
|
602758
602758
|
usingAccessToken: true
|
|
602759
602759
|
}
|
|
602760
602760
|
});
|
|
@@ -602805,7 +602805,7 @@ var UserPosthogManager = class {
|
|
|
602805
602805
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
602806
602806
|
event: "CLI",
|
|
602807
602807
|
properties: {
|
|
602808
|
-
version: "4.62.3
|
|
602808
|
+
version: "4.62.3",
|
|
602809
602809
|
...event,
|
|
602810
602810
|
...event.properties,
|
|
602811
602811
|
usingAccessToken: false,
|
|
@@ -603850,17 +603850,9 @@ function constructAuth0Url({ origin: origin2, auth0Domain: auth0Domain2, auth0Cl
|
|
|
603850
603850
|
|
|
603851
603851
|
// ../login/lib/auth0-login/resolveSsoConnection.js
|
|
603852
603852
|
async function resolveSsoConnection({ dashboardBaseUrl, email: email3 }) {
|
|
603853
|
-
|
|
603854
|
-
|
|
603855
|
-
|
|
603856
|
-
headers: { "Content-Type": "application/json" }
|
|
603857
|
-
});
|
|
603858
|
-
} catch (error50) {
|
|
603859
|
-
if (axios_default.isAxiosError(error50) && error50.response?.status === 404) {
|
|
603860
|
-
throw new Error(`No SSO connection associated with email: ${email3}`);
|
|
603861
|
-
}
|
|
603862
|
-
throw error50;
|
|
603863
|
-
}
|
|
603853
|
+
const response = await axios_default.post(`${dashboardBaseUrl}/api/sso/resolve`, { email: email3 }, {
|
|
603854
|
+
headers: { "Content-Type": "application/json" }
|
|
603855
|
+
});
|
|
603864
603856
|
const responseData = response.data;
|
|
603865
603857
|
if (typeof responseData !== "object" || responseData == null) {
|
|
603866
603858
|
throw new Error("Invalid response format from SSO resolve endpoint");
|
|
@@ -840101,7 +840093,7 @@ var import_path54 = __toESM(require("path"), 1);
|
|
|
840101
840093
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
840102
840094
|
var LOGS_FOLDER_NAME = "logs";
|
|
840103
840095
|
function getCliSource() {
|
|
840104
|
-
const version7 = "4.62.3
|
|
840096
|
+
const version7 = "4.62.3";
|
|
840105
840097
|
return `cli@${version7}`;
|
|
840106
840098
|
}
|
|
840107
840099
|
var DebugLogger = class {
|
|
@@ -851209,7 +851201,7 @@ var LegacyDocsPublisher = class {
|
|
|
851209
851201
|
previewId,
|
|
851210
851202
|
disableTemplates: void 0,
|
|
851211
851203
|
skipUpload,
|
|
851212
|
-
cliVersion: "4.62.3
|
|
851204
|
+
cliVersion: "4.62.3"
|
|
851213
851205
|
});
|
|
851214
851206
|
if (taskContext.getResult() === TaskResult.Failure) {
|
|
851215
851207
|
return { success: false };
|
|
@@ -924509,7 +924501,7 @@ var CliContext = class {
|
|
|
924509
924501
|
if (false) {
|
|
924510
924502
|
this.logger.error("CLI_VERSION is not defined");
|
|
924511
924503
|
}
|
|
924512
|
-
return "4.62.3
|
|
924504
|
+
return "4.62.3";
|
|
924513
924505
|
}
|
|
924514
924506
|
getCliName() {
|
|
924515
924507
|
if (false) {
|
package/package.json
CHANGED