icoa-cli 2.14.2 → 2.14.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "icoa-cli",
3
- "version": "2.14.2",
3
+ "version": "2.14.3",
4
4
  "description": "ICOA CLI — The world's first CLI-native CTF competition terminal",
5
5
  "type": "module",
6
6
  "bin": {