touchstudy-core 0.1.6 → 0.1.7

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.
@@ -9,6 +9,7 @@ export declare const PUSHER_CONFIG: {
9
9
  cluster: string;
10
10
  key: string;
11
11
  };
12
- export declare const EXAM_CHANNEL = "EXAM-CHANNEL";
12
+ export declare const EXAM_CHANNEL = "presence-exam-channel";
13
+ export declare const EXAM_STUDENT_CHANNEL = "EXAM-CHANNEL-{examCode}-STUDENT-{studentId}";
13
14
  export declare const getAccessToken: () => string | null;
14
15
  export declare const encodeParams: (params: any) => string;
@@ -4,8 +4,6 @@ export interface INavigateProps {
4
4
  export declare enum ExamEvent {
5
5
  StartExam = "start-exam",
6
6
  TerminateExam = "terminate-exam",
7
- JoinExam = "join-exam",
8
7
  AddExtraDuration = "add-extra-duration-exam",
9
- TeacherDisconnectChannel = "teacher-disconnect-channel",
10
- StudentDisconnectChannel = "student-disconnect-channel"
8
+ TeacherKickOutStudent = "teacher-kick-out-student"
11
9
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "touchstudy-core",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Contains core components && functions for TouchStudy project",
5
5
  "author": "brss",
6
6
  "license": "MIT",
@@ -24,6 +24,7 @@
24
24
  "react-google-recaptcha-v3": "^1.10.1",
25
25
  "react-i18next": "^14.0.0",
26
26
  "react-icons": "^4.12.0",
27
+ "react-select": "^5.8.0",
27
28
  "reactstrap": "^9.2.1",
28
29
  "yup": "^1.3.3"
29
30
  },