acsi-core 0.1.1 → 0.1.2

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.
@@ -15,6 +15,7 @@ export declare const DATE_MIN_VALUE = "0001-01-01T00:00:00+00:00";
15
15
  export declare const DATE_TIME_MIN_VALUE = "0001-01-01T00:00:00";
16
16
  export declare const EXAM_CHANNEL = "presence-exam-channel";
17
17
  export declare const EXAM_STUDENT_CHANNEL = "EXAM-CHANNEL-{examCode}-STUDENT-{studentId}";
18
+ export declare const DefaultErrorMessage = "an_unexpected_error_has_occurred";
18
19
  export declare const getAccessToken: () => string | null;
19
20
  export declare const getAcademyDomain: () => string | null;
20
21
  export declare const encodeParams: (params: any) => string;
@@ -0,0 +1 @@
1
+ export declare const getErrorMessage: (error: any, defaultErrorMessage?: string | undefined) => string;
@@ -0,0 +1,3 @@
1
+ export declare const icons: {
2
+ ErrorRedIcon: string;
3
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "acsi-core",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Contains core components && functions for acsi-core project",
5
5
  "author": "brss",
6
6
  "license": "MIT",
@@ -27,7 +27,7 @@
27
27
  "react-google-recaptcha-v3": "^1.10.1",
28
28
  "react-i18next": "^14.0.0",
29
29
  "react-icons": "^4.12.0",
30
- "react-select": "^5.8.0",
30
+ "react-select": "^5.9.0",
31
31
  "react-toastify": "^9.1.3",
32
32
  "reactstrap": "^9.2.1",
33
33
  "yup": "^1.3.3"