@myinterview/widget-react 1.1.47 → 1.1.49-development-4577eb9

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.
@@ -38,6 +38,7 @@ interface IConfig {
38
38
  forcedView?: IViews;
39
39
  useSafeUpload?: boolean;
40
40
  useLightDom?: boolean;
41
+ antiCheat?: boolean;
41
42
  }
42
43
  export type IClientConfig = Omit<IConfig, 'practiceQuestions'> & {
43
44
  practiceQuestions?: IClientQuestion[];
@@ -21,6 +21,7 @@ export interface IQuestionTextAnswer extends IQuestion {
21
21
  config?: {
22
22
  minChars?: number;
23
23
  maxChars?: number;
24
+ antiCheat?: boolean;
24
25
  };
25
26
  }
26
27
  export interface IMultipleChoiceOptionDefinition {
package/dist/index.d.ts CHANGED
@@ -24,6 +24,7 @@ interface IQuestionTextAnswer extends IQuestion {
24
24
  config?: {
25
25
  minChars?: number;
26
26
  maxChars?: number;
27
+ antiCheat?: boolean;
27
28
  };
28
29
  }
29
30
  interface IMultipleChoiceOptionDefinition {
@@ -208,6 +209,7 @@ interface IConfig {
208
209
  forcedView?: IViews;
209
210
  useSafeUpload?: boolean;
210
211
  useLightDom?: boolean;
212
+ antiCheat?: boolean;
211
213
  }
212
214
  type IClientConfig = Omit<IConfig, 'practiceQuestions'> & {
213
215
  practiceQuestions?: IClientQuestion[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myinterview/widget-react",
3
- "version": "1.1.47",
3
+ "version": "1.1.49-development-4577eb9",
4
4
  "description": "myInterview widget v3",
5
5
  "module": "dist/esm/index.js",
6
6
  "main": "dist/cjs/index.js",