@myinterview/widget-react 1.0.3 → 1.0.4

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.
@@ -11,6 +11,7 @@ export interface IOnCompleteCallback {
11
11
  export interface IOnError {
12
12
  messageType: IMessageType;
13
13
  }
14
+ export declare type IEnv = 'dev' | 'staging' | 'production';
14
15
  interface IConfig {
15
16
  auth: string;
16
17
  onWidgetClicked?: () => void;
@@ -22,6 +23,7 @@ interface IConfig {
22
23
  overlay?: string;
23
24
  introVideo?: string;
24
25
  introVideoTitle?: string;
26
+ env?: IEnv;
25
27
  }
26
28
  export interface IWidgetConfig {
27
29
  video?: IVideo;
@@ -18,4 +18,5 @@ export interface IJob {
18
18
  old_jobID?: string;
19
19
  apiKey?: string;
20
20
  company_id?: string;
21
+ jobID?: string;
21
22
  }
@@ -1,3 +1,4 @@
1
1
  export declare const videoAxiosInstance: import("axios").AxiosInstance;
2
2
  export declare const s3AxiosInstance: import("axios").AxiosInstance;
3
3
  export declare const updateVideoAxiosAuth: (auth: string) => void;
4
+ export declare const updateVideoAxiosBaseURL: (url: string) => void;
package/dist/index.d.ts CHANGED
@@ -35,6 +35,7 @@ interface IJob {
35
35
  old_jobID?: string;
36
36
  apiKey?: string;
37
37
  company_id?: string;
38
+ jobID?: string;
38
39
  }
39
40
 
40
41
  interface IVideoPlatformOS {
@@ -96,6 +97,7 @@ interface IOnCompleteCallback {
96
97
  interface IOnError {
97
98
  messageType: IMessageType;
98
99
  }
100
+ declare type IEnv = 'dev' | 'staging' | 'production';
99
101
  interface IConfig {
100
102
  auth: string;
101
103
  onWidgetClicked?: () => void;
@@ -107,6 +109,7 @@ interface IConfig {
107
109
  overlay?: string;
108
110
  introVideo?: string;
109
111
  introVideoTitle?: string;
112
+ env?: IEnv;
110
113
  }
111
114
  interface IWidgetConfig {
112
115
  video?: IVideo;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myinterview/widget-react",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "myInterview widget v3",
5
5
  "module": "dist/esm/index.js",
6
6
  "files": [