fern-api 0.30.8-rc0 → 0.30.8-rc1
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 -4
- package/package.json +1 -1
package/bundle.cjs
CHANGED
|
@@ -1031327,7 +1031327,7 @@ var AccessTokenPosthogManager = class {
|
|
|
1031327
1031327
|
properties: {
|
|
1031328
1031328
|
...event,
|
|
1031329
1031329
|
...event.properties,
|
|
1031330
|
-
version: "0.30.8-
|
|
1031330
|
+
version: "0.30.8-rc1",
|
|
1031331
1031331
|
usingAccessToken: true
|
|
1031332
1031332
|
}
|
|
1031333
1031333
|
});
|
|
@@ -1031389,7 +1031389,7 @@ var UserPosthogManager = class {
|
|
|
1031389
1031389
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
1031390
1031390
|
event: "CLI",
|
|
1031391
1031391
|
properties: {
|
|
1031392
|
-
version: "0.30.8-
|
|
1031392
|
+
version: "0.30.8-rc1",
|
|
1031393
1031393
|
...event,
|
|
1031394
1031394
|
...event.properties
|
|
1031395
1031395
|
}
|
|
@@ -1057329,10 +1057329,10 @@ var CliContext = class {
|
|
|
1057329
1057329
|
return "fern-api";
|
|
1057330
1057330
|
}
|
|
1057331
1057331
|
getPackageVersion() {
|
|
1057332
|
-
if ("0.30.8-
|
|
1057332
|
+
if ("0.30.8-rc1" == null) {
|
|
1057333
1057333
|
this.logger.error("CLI_VERSION is not defined");
|
|
1057334
1057334
|
}
|
|
1057335
|
-
return "0.30.8-
|
|
1057335
|
+
return "0.30.8-rc1";
|
|
1057336
1057336
|
}
|
|
1057337
1057337
|
getCliName() {
|
|
1057338
1057338
|
if ("fern" == null) {
|
|
@@ -1064705,6 +1064705,9 @@ var _ApiDefinitionHolder2 = class {
|
|
|
1064705
1064705
|
return isSubpackage2(pkg2) ? pkg2.subpackageId : ROOT_PACKAGE_ID;
|
|
1064706
1064706
|
}
|
|
1064707
1064707
|
getSubpackage(subpackageId) {
|
|
1064708
|
+
if (subpackageId == null) {
|
|
1064709
|
+
return void 0;
|
|
1064710
|
+
}
|
|
1064708
1064711
|
return subpackageId === ROOT_PACKAGE_ID ? this.api.rootPackage : this.api.subpackages[subpackageId.startsWith("subpackage_") ? subpackageId : `subpackage_${subpackageId}`];
|
|
1064709
1064712
|
}
|
|
1064710
1064713
|
resolveSubpackage(pkg2) {
|