icoa-cli 2.14.2 → 2.14.4

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.
@@ -7,7 +7,7 @@ export const DEMO_SESSION = {
7
7
  examId: 'demo-free',
8
8
  examName: 'ICOA Demo Exam — Free Practice',
9
9
  startedAt: '',
10
- durationMinutes: 30,
10
+ durationMinutes: 0, // 0 = no time limit for demo
11
11
  questionCount: 30,
12
12
  country: 'ALL',
13
13
  };
@@ -30,6 +30,8 @@ export function getExamDeadline() {
30
30
  const state = getExamState();
31
31
  if (!state)
32
32
  return null;
33
+ if (!state.session.durationMinutes)
34
+ return null; // 0 = no time limit
33
35
  const start = new Date(state.session.startedAt).getTime();
34
36
  return new Date(start + state.session.durationMinutes * 60 * 1000);
35
37
  }
package/dist/repl.js CHANGED
@@ -183,6 +183,8 @@ export async function startRepl(program, resumeMode) {
183
183
  console.log(chalk.gray(' ─────────────────────────────────────────────'));
184
184
  console.log(chalk.bold.cyan(' demo') + chalk.gray(' Free practice exam (30 questions)'));
185
185
  console.log(chalk.white(' exam <token>') + chalk.gray(' Enter exam with access token'));
186
+ console.log(chalk.white(' lang es') + chalk.gray(' Switch language (15 supported)'));
187
+ console.log(chalk.gray(' e.g. lang es (Español), lang zh, lang fr'));
186
188
  console.log(chalk.gray(' ─────────────────────────────────────────────'));
187
189
  console.log();
188
190
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "icoa-cli",
3
- "version": "2.14.2",
3
+ "version": "2.14.4",
4
4
  "description": "ICOA CLI — The world's first CLI-native CTF competition terminal",
5
5
  "type": "module",
6
6
  "bin": {