@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.
- package/dist/esm/config/index.d.ts +2 -1
- package/dist/esm/index.js +35 -36
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interfaces/configInterface.d.ts +2 -0
- package/dist/esm/interfaces/jobInterface.d.ts +1 -0
- package/dist/esm/services/axiosInstances.service.d.ts +1 -0
- package/dist/index.d.ts +3 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -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;
|