fern-api 0.31.20 → 0.31.22-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 +5 -5
- package/package.json +1 -1
package/bundle.cjs
CHANGED
|
@@ -1117473,7 +1117473,7 @@ var BATCH_SIZE = 100;
|
|
|
1117473
1117473
|
async function loadBatch(files, absolutePathToFernFolder) {
|
|
1117474
1117474
|
const pairs2 = await Promise.all(files.map(async (file) => {
|
|
1117475
1117475
|
const content5 = await (0, import_promises7.readFile)(file, "utf-8");
|
|
1117476
|
-
return [relativize(absolutePathToFernFolder, file), content5];
|
|
1117476
|
+
return [await relativize(absolutePathToFernFolder, file), content5];
|
|
1117477
1117477
|
}));
|
|
1117478
1117478
|
return Object.fromEntries(pairs2);
|
|
1117479
1117479
|
}
|
|
@@ -1122281,7 +1122281,7 @@ var AccessTokenPosthogManager = class {
|
|
|
1122281
1122281
|
properties: {
|
|
1122282
1122282
|
...event,
|
|
1122283
1122283
|
...event.properties,
|
|
1122284
|
-
version: "0.31.
|
|
1122284
|
+
version: "0.31.22-rc0",
|
|
1122285
1122285
|
usingAccessToken: true
|
|
1122286
1122286
|
}
|
|
1122287
1122287
|
});
|
|
@@ -1122343,7 +1122343,7 @@ var UserPosthogManager = class {
|
|
|
1122343
1122343
|
distinctId: this.userId ?? await this.getPersistedDistinctId(),
|
|
1122344
1122344
|
event: "CLI",
|
|
1122345
1122345
|
properties: {
|
|
1122346
|
-
version: "0.31.
|
|
1122346
|
+
version: "0.31.22-rc0",
|
|
1122347
1122347
|
...event,
|
|
1122348
1122348
|
...event.properties
|
|
1122349
1122349
|
}
|
|
@@ -1149927,10 +1149927,10 @@ var CliContext = class {
|
|
|
1149927
1149927
|
return "fern-api";
|
|
1149928
1149928
|
}
|
|
1149929
1149929
|
getPackageVersion() {
|
|
1149930
|
-
if ("0.31.
|
|
1149930
|
+
if ("0.31.22-rc0" == null) {
|
|
1149931
1149931
|
this.logger.error("CLI_VERSION is not defined");
|
|
1149932
1149932
|
}
|
|
1149933
|
-
return "0.31.
|
|
1149933
|
+
return "0.31.22-rc0";
|
|
1149934
1149934
|
}
|
|
1149935
1149935
|
getCliName() {
|
|
1149936
1149936
|
if ("fern" == null) {
|