fern-api 0.16.42 → 0.16.43-rc0
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 +11 -5
- package/package.json +1 -1
package/bundle.cjs
CHANGED
|
@@ -740296,7 +740296,7 @@ var AccessTokenPosthogManager = class {
|
|
|
740296
740296
|
properties: {
|
|
740297
740297
|
...event,
|
|
740298
740298
|
...event.properties,
|
|
740299
|
-
version: "0.16.
|
|
740299
|
+
version: "0.16.43-rc0",
|
|
740300
740300
|
usingAccessToken: true
|
|
740301
740301
|
}
|
|
740302
740302
|
});
|
|
@@ -740358,7 +740358,7 @@ var UserPosthogManager = class {
|
|
|
740358
740358
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
740359
740359
|
event: "CLI",
|
|
740360
740360
|
properties: {
|
|
740361
|
-
version: "0.16.
|
|
740361
|
+
version: "0.16.43-rc0",
|
|
740362
740362
|
...event,
|
|
740363
740363
|
...event.properties
|
|
740364
740364
|
}
|
|
@@ -756003,6 +756003,7 @@ function convertStreamingOperation({ operationContext, context, streamingExtensi
|
|
|
756003
756003
|
}
|
|
756004
756004
|
}
|
|
756005
756005
|
function getRequestBody2({ context, operation, streamingExtension, isStreaming }) {
|
|
756006
|
+
var _a2;
|
|
756006
756007
|
if (operation.requestBody == null) {
|
|
756007
756008
|
return void 0;
|
|
756008
756009
|
}
|
|
@@ -756015,13 +756016,18 @@ function getRequestBody2({ context, operation, streamingExtension, isStreaming }
|
|
|
756015
756016
|
if (resolvedRequstBodySchema.allOf == null && resolvedRequstBodySchema.properties == null) {
|
|
756016
756017
|
return void 0;
|
|
756017
756018
|
}
|
|
756019
|
+
let streamingProperty = (_a2 = resolvedRequstBodySchema.properties) == null ? void 0 : _a2[streamingExtension.streamConditionProperty];
|
|
756020
|
+
if (streamingProperty != null && isReferenceObject(streamingProperty)) {
|
|
756021
|
+
streamingProperty = void 0;
|
|
756022
|
+
}
|
|
756018
756023
|
const requestBodySchemaWithLiteralProperty = {
|
|
756019
756024
|
...resolvedRequstBodySchema,
|
|
756020
756025
|
properties: {
|
|
756021
756026
|
...resolvedRequstBodySchema.properties,
|
|
756022
756027
|
[streamingExtension.streamConditionProperty]: {
|
|
756023
756028
|
type: "boolean",
|
|
756024
|
-
"x-fern-boolean-literal": isStreaming
|
|
756029
|
+
"x-fern-boolean-literal": isStreaming,
|
|
756030
|
+
...streamingProperty ?? {}
|
|
756025
756031
|
}
|
|
756026
756032
|
},
|
|
756027
756033
|
required: [...resolvedRequstBodySchema.required ?? [], streamingExtension.streamConditionProperty]
|
|
@@ -765937,10 +765943,10 @@ var CliContext = class {
|
|
|
765937
765943
|
return "fern-api";
|
|
765938
765944
|
}
|
|
765939
765945
|
getPackageVersion() {
|
|
765940
|
-
if ("0.16.
|
|
765946
|
+
if ("0.16.43-rc0" == null) {
|
|
765941
765947
|
this.logger.error("CLI_VERSION is not defined");
|
|
765942
765948
|
}
|
|
765943
|
-
return "0.16.
|
|
765949
|
+
return "0.16.43-rc0";
|
|
765944
765950
|
}
|
|
765945
765951
|
getCliName() {
|
|
765946
765952
|
if ("fern" == null) {
|