@myinterview/widget-react 1.1.24-export-ref-actions → 1.1.25-development-aadf19b

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.
@@ -66,8 +66,4 @@ export interface IWidgetConfigRequest {
66
66
  candidate?: ICandidate;
67
67
  job?: IJob;
68
68
  }
69
- export interface IWidgetRef {
70
- open: () => void;
71
- close: () => void;
72
- }
73
69
  export {};
package/dist/index.d.ts CHANGED
@@ -1,5 +1,25 @@
1
1
  import React$1, { CSSProperties } from 'react';
2
2
 
3
+ interface ICandidate {
4
+ candidate_id?: string;
5
+ email: string;
6
+ username?: string;
7
+ phone?: string;
8
+ video_id?: string;
9
+ redirectUrl?: string;
10
+ additionalData?: object;
11
+ disableResume?: boolean;
12
+ reapply?: boolean;
13
+ enableNotifications?: boolean;
14
+ apiKey?: string;
15
+ company_id?: string;
16
+ }
17
+
18
+ interface ICompany {
19
+ name: string;
20
+ shouldShowWaterMark: boolean;
21
+ }
22
+
3
23
  declare const enum ANSWER_TYPES {
4
24
  VIDEO = "video",
5
25
  TEXT = "text",
@@ -71,26 +91,6 @@ type IClientJob = Omit<IJob, 'questions'> & {
71
91
  questions?: IClientQuestion[];
72
92
  };
73
93
 
74
- interface ICandidate {
75
- candidate_id?: string;
76
- email: string;
77
- username?: string;
78
- phone?: string;
79
- video_id?: string;
80
- redirectUrl?: string;
81
- additionalData?: object;
82
- disableResume?: boolean;
83
- reapply?: boolean;
84
- enableNotifications?: boolean;
85
- apiKey?: string;
86
- company_id?: string;
87
- }
88
-
89
- interface ICompany {
90
- name: string;
91
- shouldShowWaterMark: boolean;
92
- }
93
-
94
94
  interface IVideoDimensions {
95
95
  width: number;
96
96
  height: number;
@@ -221,14 +221,7 @@ type IClientWidgetConfig = Omit<IWidgetConfig, 'job' | 'config' | 'event_id'> &
221
221
  job: IClientJob;
222
222
  config: IClientConfig;
223
223
  };
224
- interface IWidgetRef {
225
- open: () => void;
226
- close: () => void;
227
- }
228
224
 
229
- declare const Widget: React$1.ForwardRefExoticComponent<Omit<IWidgetConfig, "config" | "event_id" | "job"> & {
230
- job: IClientJob;
231
- config: IClientConfig;
232
- } & React$1.RefAttributes<IWidgetRef>>;
225
+ declare const Widget: React$1.FC<IClientWidgetConfig>;
233
226
 
234
- export { IClientWidgetConfig, IWidgetConfig, IWidgetRef, Widget };
227
+ export { IClientWidgetConfig, IWidgetConfig, Widget };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myinterview/widget-react",
3
- "version": "1.1.24-export-ref-actions",
3
+ "version": "1.1.25-development-aadf19b",
4
4
  "description": "myInterview widget v3",
5
5
  "module": "dist/esm/index.js",
6
6
  "main": "dist/cjs/index.js",