fern-api 0.19.17 → 0.19.18
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 +7 -7
- package/package.json +1 -1
package/bundle.cjs
CHANGED
|
@@ -832299,7 +832299,7 @@ var AccessTokenPosthogManager = class {
|
|
|
832299
832299
|
properties: {
|
|
832300
832300
|
...event,
|
|
832301
832301
|
...event.properties,
|
|
832302
|
-
version: "0.19.
|
|
832302
|
+
version: "0.19.18",
|
|
832303
832303
|
usingAccessToken: true
|
|
832304
832304
|
}
|
|
832305
832305
|
});
|
|
@@ -832361,7 +832361,7 @@ var UserPosthogManager = class {
|
|
|
832361
832361
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
832362
832362
|
event: "CLI",
|
|
832363
832363
|
properties: {
|
|
832364
|
-
version: "0.19.
|
|
832364
|
+
version: "0.19.18",
|
|
832365
832365
|
...event,
|
|
832366
832366
|
...event.properties
|
|
832367
832367
|
}
|
|
@@ -855966,10 +855966,10 @@ var CliContext = class {
|
|
|
855966
855966
|
return "fern-api";
|
|
855967
855967
|
}
|
|
855968
855968
|
getPackageVersion() {
|
|
855969
|
-
if ("0.19.
|
|
855969
|
+
if ("0.19.18" == null) {
|
|
855970
855970
|
this.logger.error("CLI_VERSION is not defined");
|
|
855971
855971
|
}
|
|
855972
|
-
return "0.19.
|
|
855972
|
+
return "0.19.18";
|
|
855973
855973
|
}
|
|
855974
855974
|
getCliName() {
|
|
855975
855975
|
if ("fern" == null) {
|
|
@@ -860879,6 +860879,9 @@ var ExampleGenerator = class {
|
|
|
860879
860879
|
});
|
|
860880
860880
|
}
|
|
860881
860881
|
generateExampleTypeReference(typeReference, depth) {
|
|
860882
|
+
if (this.exceedsMaxDepth(depth)) {
|
|
860883
|
+
return this.generateExampleUnknown({});
|
|
860884
|
+
}
|
|
860882
860885
|
switch (typeReference.type) {
|
|
860883
860886
|
case "container":
|
|
860884
860887
|
return this.generateExampleContainer(typeReference.container, depth);
|
|
@@ -860924,9 +860927,6 @@ var ExampleGenerator = class {
|
|
|
860924
860927
|
}
|
|
860925
860928
|
}
|
|
860926
860929
|
generateExampleTypeReferenceList(typeReference, depth) {
|
|
860927
|
-
if (this.exceedsMaxDepth(depth)) {
|
|
860928
|
-
return this.generateExampleUnknown({});
|
|
860929
|
-
}
|
|
860930
860930
|
const exampleTypeReference = this.generateExampleTypeReference(typeReference, depth);
|
|
860931
860931
|
return {
|
|
860932
860932
|
jsonExample: [exampleTypeReference.jsonExample],
|