@myinterview/widget-react 1.1.12 → 1.1.13

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.
@@ -49,7 +49,7 @@ export interface IWidgetConfig {
49
49
  styleUrls?: string | string[];
50
50
  fontsUrls?: string | string[];
51
51
  }
52
- export type IClientWidgetConfig = Omit<IWidgetConfig, 'job' | 'config'> & {
52
+ export type IClientWidgetConfig = Omit<IWidgetConfig, 'job' | 'config' | 'event_id'> & {
53
53
  job: IClientJob;
54
54
  config: IClientConfig;
55
55
  };
@@ -1,6 +1,6 @@
1
1
  import { IWidgetConfigRequest, IWidgetConfigResponse } from '../interfaces/configInterface';
2
2
  import { IVideo, ALL_VIDEO_FILE_TYPES, IVideoDimensions } from '../interfaces/videoInterface';
3
- export declare const createVideo: (widgetConfig: IWidgetConfigRequest) => Promise<IWidgetConfigResponse>;
3
+ export declare const createVideo: (widgetConfig: IWidgetConfigRequest, event_id?: string) => Promise<IWidgetConfigResponse>;
4
4
  export declare const getVideo: (videoId: string) => Promise<IWidgetConfigResponse>;
5
5
  export declare const updateVideo: ({ video_id, started, completed, uploaded, bandwidth }: IVideo) => Promise<IWidgetConfigResponse>;
6
6
  export declare const updateVideoFile: (videoId: string, videoFile: ALL_VIDEO_FILE_TYPES) => Promise<IWidgetConfigResponse>;
package/dist/index.d.ts CHANGED
@@ -214,7 +214,7 @@ interface IWidgetConfig {
214
214
  styleUrls?: string | string[];
215
215
  fontsUrls?: string | string[];
216
216
  }
217
- type IClientWidgetConfig = Omit<IWidgetConfig, 'job' | 'config'> & {
217
+ type IClientWidgetConfig = Omit<IWidgetConfig, 'job' | 'config' | 'event_id'> & {
218
218
  job: IClientJob;
219
219
  config: IClientConfig;
220
220
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myinterview/widget-react",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "myInterview widget v3",
5
5
  "module": "dist/esm/index.js",
6
6
  "main": "dist/cjs/index.js",