@fern-api/fern-api-dev 5.23.3-1418-gde5fef272cf → 5.23.3-1419-g921e421dd77

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.
Files changed (2) hide show
  1. package/cli.cjs +14 -6
  2. package/package.json +1 -1
package/cli.cjs CHANGED
@@ -564079,6 +564079,12 @@ async function tryRunContainer({ logger: logger4, imageName, args, binds, envVar
564079
564079
  if (process.env["FERN_STACK_TRACK"]) {
564080
564080
  envVars["FERN_STACK_TRACK"] = process.env["FERN_STACK_TRACK"];
564081
564081
  }
564082
+ const oidcEnvArgs = ["ACTIONS_ID_TOKEN_REQUEST_URL", "ACTIONS_ID_TOKEN_REQUEST_TOKEN"].flatMap((name2) => {
564083
+ const value2 = process.env[name2];
564084
+ return value2 != null ? ["-e", `${name2}=${value2}`] : [];
564085
+ });
564086
+ const oidcSecret = process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];
564087
+ const secrets = oidcSecret != null ? [oidcSecret] : [];
564082
564088
  const containerArgs = [
564083
564089
  "run",
564084
564090
  "--user",
@@ -564086,6 +564092,7 @@ async function tryRunContainer({ logger: logger4, imageName, args, binds, envVar
564086
564092
  ...pull ? ["--pull", "always"] : [],
564087
564093
  ...platform4 != null ? ["--platform", platform4] : [],
564088
564094
  ...binds.flatMap((bind5) => ["-v", bind5]),
564095
+ ...oidcEnvArgs,
564089
564096
  ...Object.entries(envVars).flatMap(([key2, value2]) => ["-e", `${key2}="${value2}"`]),
564090
564097
  ...Object.entries(ports).flatMap(([hostPort, containerPort]) => ["-p", `${hostPort}:${containerPort}`]),
564091
564098
  removeAfterCompletion ? "--rm" : "",
@@ -564097,6 +564104,7 @@ async function tryRunContainer({ logger: logger4, imageName, args, binds, envVar
564097
564104
  reject: false,
564098
564105
  all: true,
564099
564106
  doNotPipeOutput: true,
564107
+ secrets,
564100
564108
  signal
564101
564109
  });
564102
564110
  const logs4 = stdout + stderr;
@@ -690079,7 +690087,7 @@ var AccessTokenPosthogManager = class {
690079
690087
  properties: {
690080
690088
  ...event,
690081
690089
  ...event.properties,
690082
- version: "5.23.3-1418-gde5fef272cf",
690090
+ version: "5.23.3-1419-g921e421dd77",
690083
690091
  usingAccessToken: true,
690084
690092
  ...getRunIdProperties()
690085
690093
  }
@@ -690145,7 +690153,7 @@ var UserPosthogManager = class {
690145
690153
  distinctId: this.userId ?? await this.getPersistedDistinctId(),
690146
690154
  event: "CLI",
690147
690155
  properties: {
690148
- version: "5.23.3-1418-gde5fef272cf",
690156
+ version: "5.23.3-1419-g921e421dd77",
690149
690157
  ...event,
690150
690158
  ...event.properties,
690151
690159
  usingAccessToken: false,
@@ -871246,7 +871254,7 @@ var LOCAL_STORAGE_FOLDER4 = ".fern-dev";
871246
871254
  var LOGS_FOLDER_NAME = "logs";
871247
871255
  var MAX_LOGS_DIR_SIZE_BYTES = 100 * 1024 * 1024;
871248
871256
  function getCliSource() {
871249
- const version7 = "5.23.3-1418-gde5fef272cf";
871257
+ const version7 = "5.23.3-1419-g921e421dd77";
871250
871258
  return `cli@${version7}`;
871251
871259
  }
871252
871260
  var DebugLogger = class {
@@ -903829,7 +903837,7 @@ var LegacyDocsPublisher = class {
903829
903837
  previewId,
903830
903838
  disableTemplates: void 0,
903831
903839
  skipUpload,
903832
- cliVersion: "5.23.3-1418-gde5fef272cf",
903840
+ cliVersion: "5.23.3-1419-g921e421dd77",
903833
903841
  loginCommand: "fern auth login"
903834
903842
  });
903835
903843
  if (taskContext.getResult() === TaskResult.Failure) {
@@ -970355,7 +970363,7 @@ function getAutomationContextFromEnv() {
970355
970363
  config_branch: process.env.FERN_CONFIG_BRANCH,
970356
970364
  config_pr_number: process.env.FERN_CONFIG_PR_NUMBER,
970357
970365
  trigger: process.env.GITHUB_EVENT_NAME,
970358
- cli_version: "5.23.3-1418-gde5fef272cf"
970366
+ cli_version: "5.23.3-1419-g921e421dd77"
970359
970367
  };
970360
970368
  }
970361
970369
  function isAutomationMode() {
@@ -971187,7 +971195,7 @@ var CliContext = class _CliContext {
971187
971195
  if (false) {
971188
971196
  this.logger.error("CLI_VERSION is not defined");
971189
971197
  }
971190
- return "5.23.3-1418-gde5fef272cf";
971198
+ return "5.23.3-1419-g921e421dd77";
971191
971199
  }
971192
971200
  getCliName() {
971193
971201
  if (false) {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.23.3-1418-gde5fef272cf",
2
+ "version": "5.23.3-1419-g921e421dd77",
3
3
  "repository": {
4
4
  "type": "git",
5
5
  "url": "git+https://github.com/fern-api/fern.git",