fern-api 0.23.1-rc3 → 0.23.1-rc4
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/bundle.cjs +9 -5
- package/package.json +1 -1
package/bundle.cjs
CHANGED
|
@@ -890250,7 +890250,7 @@ var AccessTokenPosthogManager = class {
|
|
|
890250
890250
|
properties: {
|
|
890251
890251
|
...event,
|
|
890252
890252
|
...event.properties,
|
|
890253
|
-
version: "0.23.1-
|
|
890253
|
+
version: "0.23.1-rc4",
|
|
890254
890254
|
usingAccessToken: true
|
|
890255
890255
|
}
|
|
890256
890256
|
});
|
|
@@ -890312,7 +890312,7 @@ var UserPosthogManager = class {
|
|
|
890312
890312
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
890313
890313
|
event: "CLI",
|
|
890314
890314
|
properties: {
|
|
890315
|
-
version: "0.23.1-
|
|
890315
|
+
version: "0.23.1-rc4",
|
|
890316
890316
|
...event,
|
|
890317
890317
|
...event.properties
|
|
890318
890318
|
}
|
|
@@ -908838,7 +908838,6 @@ async function parse3({ workspace, taskContext }) {
|
|
|
908838
908838
|
globalHeaders: [],
|
|
908839
908839
|
groups: {}
|
|
908840
908840
|
};
|
|
908841
|
-
console.log("workspace.specs", JSON.stringify(workspace.specs));
|
|
908842
908841
|
for (const spec of workspace.specs) {
|
|
908843
908842
|
const contents = (await (0, import_promises25.readFile)(spec.absoluteFilepath)).toString();
|
|
908844
908843
|
if (contents.includes("openapi") || contents.includes("swagger")) {
|
|
@@ -914780,10 +914779,10 @@ var CliContext = class {
|
|
|
914780
914779
|
return "fern-api";
|
|
914781
914780
|
}
|
|
914782
914781
|
getPackageVersion() {
|
|
914783
|
-
if ("0.23.1-
|
|
914782
|
+
if ("0.23.1-rc4" == null) {
|
|
914784
914783
|
this.logger.error("CLI_VERSION is not defined");
|
|
914785
914784
|
}
|
|
914786
|
-
return "0.23.1-
|
|
914785
|
+
return "0.23.1-rc4";
|
|
914787
914786
|
}
|
|
914788
914787
|
getCliName() {
|
|
914789
914788
|
if ("fern" == null) {
|
|
@@ -915561,6 +915560,11 @@ function convertResponse2(irResponse) {
|
|
|
915561
915560
|
type: "stream",
|
|
915562
915561
|
shape: { type: "reference", value: convertTypeReference(streamingResponse.payload) }
|
|
915563
915562
|
};
|
|
915563
|
+
} else if (streamingResponse.type === "sse") {
|
|
915564
|
+
return {
|
|
915565
|
+
type: "stream",
|
|
915566
|
+
shape: { type: "reference", value: convertTypeReference(streamingResponse.payload) }
|
|
915567
|
+
};
|
|
915564
915568
|
}
|
|
915565
915569
|
return void 0;
|
|
915566
915570
|
},
|