@fern-api/fern-api-dev 3.31.0 → 3.31.1
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 +7 -6
- package/package.json +1 -1
package/cli.cjs
CHANGED
|
@@ -1413665,7 +1413665,7 @@ var AccessTokenPosthogManager = class {
|
|
|
1413665
1413665
|
properties: {
|
|
1413666
1413666
|
...event,
|
|
1413667
1413667
|
...event.properties,
|
|
1413668
|
-
version: "3.31.
|
|
1413668
|
+
version: "3.31.1",
|
|
1413669
1413669
|
usingAccessToken: true
|
|
1413670
1413670
|
}
|
|
1413671
1413671
|
});
|
|
@@ -1413764,7 +1413764,7 @@ var UserPosthogManager = class {
|
|
|
1413764
1413764
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
1413765
1413765
|
event: "CLI",
|
|
1413766
1413766
|
properties: {
|
|
1413767
|
-
version: "3.31.
|
|
1413767
|
+
version: "3.31.1",
|
|
1413768
1413768
|
...event,
|
|
1413769
1413769
|
...event.properties,
|
|
1413770
1413770
|
usingAccessToken: false,
|
|
@@ -1493831,7 +1493831,7 @@ var CliContext = class {
|
|
|
1493831
1493831
|
if (false) {
|
|
1493832
1493832
|
this.logger.error("CLI_VERSION is not defined");
|
|
1493833
1493833
|
}
|
|
1493834
|
-
return "3.31.
|
|
1493834
|
+
return "3.31.1";
|
|
1493835
1493835
|
}
|
|
1493836
1493836
|
getCliName() {
|
|
1493837
1493837
|
if (false) {
|
|
@@ -1588688,7 +1588688,7 @@ var import_path35 = __toESM(require("path"), 1);
|
|
|
1588688
1588688
|
var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
|
|
1588689
1588689
|
var LOGS_FOLDER_NAME = "logs";
|
|
1588690
1588690
|
function getCliSource() {
|
|
1588691
|
-
const version6 = "3.31.
|
|
1588691
|
+
const version6 = "3.31.1";
|
|
1588692
1588692
|
return `cli@${version6}`;
|
|
1588693
1588693
|
}
|
|
1588694
1588694
|
var DebugLogger = class {
|
|
@@ -1628857,12 +1628857,13 @@ async function uploadDynamicIRs({ dynamicIRs, dynamicIRUploadUrls, context: cont
|
|
|
1628857
1628857
|
for (const [language, source2] of Object.entries(dynamicIRUploadUrls)) {
|
|
1628858
1628858
|
const dynamicIR = dynamicIRs[language]?.dynamicIR;
|
|
1628859
1628859
|
if (dynamicIR) {
|
|
1628860
|
+
const jsonBody = JSON.stringify(dynamicIR);
|
|
1628860
1628861
|
const response = await fetch(source2.uploadUrl, {
|
|
1628861
1628862
|
method: "PUT",
|
|
1628862
|
-
body:
|
|
1628863
|
+
body: jsonBody,
|
|
1628863
1628864
|
headers: {
|
|
1628864
1628865
|
"Content-Type": "application/octet-stream",
|
|
1628865
|
-
"Content-Length":
|
|
1628866
|
+
"Content-Length": Buffer.byteLength(jsonBody, "utf8").toString()
|
|
1628866
1628867
|
}
|
|
1628867
1628868
|
});
|
|
1628868
1628869
|
if (response.ok) {
|
package/package.json
CHANGED