fern-api 0.15.0-rc82 → 0.15.0-rc83
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 +6 -6
- package/package.json +1 -1
package/bundle.cjs
CHANGED
|
@@ -707949,7 +707949,7 @@ var AccessTokenPosthogManager = class {
|
|
|
707949
707949
|
properties: {
|
|
707950
707950
|
...event,
|
|
707951
707951
|
...event.properties,
|
|
707952
|
-
version: "0.15.0-
|
|
707952
|
+
version: "0.15.0-rc83",
|
|
707953
707953
|
usingAccessToken: true
|
|
707954
707954
|
}
|
|
707955
707955
|
});
|
|
@@ -708011,7 +708011,7 @@ var UserPosthogManager = class {
|
|
|
708011
708011
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
708012
708012
|
event: "CLI",
|
|
708013
708013
|
properties: {
|
|
708014
|
-
version: "0.15.0-
|
|
708014
|
+
version: "0.15.0-rc83",
|
|
708015
708015
|
...event,
|
|
708016
708016
|
...event.properties
|
|
708017
708017
|
}
|
|
@@ -732250,10 +732250,10 @@ var CliContext = class {
|
|
|
732250
732250
|
return "fern-api";
|
|
732251
732251
|
}
|
|
732252
732252
|
getPackageVersion() {
|
|
732253
|
-
if ("0.15.0-
|
|
732253
|
+
if ("0.15.0-rc83" == null) {
|
|
732254
732254
|
this.logger.error("CLI_VERSION is not defined");
|
|
732255
732255
|
}
|
|
732256
|
-
return "0.15.0-
|
|
732256
|
+
return "0.15.0-rc83";
|
|
732257
732257
|
}
|
|
732258
732258
|
getCliName() {
|
|
732259
732259
|
if ("fern" == null) {
|
|
@@ -732800,7 +732800,7 @@ function convertService(irService, ir) {
|
|
|
732800
732800
|
return irService.endpoints.map((irEndpoint) => {
|
|
732801
732801
|
var _a2;
|
|
732802
732802
|
return {
|
|
732803
|
-
availability: irEndpoint.availability != null ?
|
|
732803
|
+
availability: irEndpoint.availability != null ? convertIrAvailability({ availability: irEndpoint.availability }) : irService.availability != null ? convertIrAvailability({ availability: irService.availability }) : void 0,
|
|
732804
732804
|
auth: irEndpoint.auth,
|
|
732805
732805
|
description: irEndpoint.docs ?? void 0,
|
|
732806
732806
|
method: convertHttpMethod(irEndpoint.method),
|
|
@@ -732834,7 +732834,7 @@ function convertService(irService, ir) {
|
|
|
732834
732834
|
};
|
|
732835
732835
|
});
|
|
732836
732836
|
}
|
|
732837
|
-
function
|
|
732837
|
+
function convertIrAvailability({ availability }) {
|
|
732838
732838
|
switch (availability.status) {
|
|
732839
732839
|
case "DEPRECATED":
|
|
732840
732840
|
return import_registry_node3.FernRegistry.api.v1.register.Availability.Deprecated;
|