@myinterview/widget-react 1.1.33 → 1.1.34-development-976900f

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.
@@ -1,3 +1,4 @@
1
+ import { IBrowser, IDevice } from 'ua-parser-js';
1
2
  import { ANSWER_TYPES } from './jobInterface';
2
3
  export interface IVideoDimensions {
3
4
  width: number;
@@ -18,6 +19,8 @@ export interface IVideoPlatform {
18
19
  ua: string;
19
20
  version?: string;
20
21
  os: IVideoPlatformOS;
22
+ device: IDevice;
23
+ browser: IBrowser;
21
24
  }
22
25
  export interface IVideoFile {
23
26
  completed: boolean;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import React$1, { CSSProperties } from 'react';
2
+ import { IDevice, IBrowser } from 'ua-parser-js';
2
3
 
3
4
  declare const enum ANSWER_TYPES {
4
5
  VIDEO = "video",
@@ -110,6 +111,8 @@ interface IVideoPlatform {
110
111
  ua: string;
111
112
  version?: string;
112
113
  os: IVideoPlatformOS;
114
+ device: IDevice;
115
+ browser: IBrowser;
113
116
  }
114
117
  interface IVideoFile {
115
118
  completed: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myinterview/widget-react",
3
- "version": "1.1.33",
3
+ "version": "1.1.34-development-976900f",
4
4
  "description": "myInterview widget v3",
5
5
  "module": "dist/esm/index.js",
6
6
  "main": "dist/cjs/index.js",
@@ -11,8 +11,8 @@
11
11
  "dependencies": {
12
12
  "@cloudflare/stream-react": "^1.8.0",
13
13
  "@myinterview/component-library": "1.0.45",
14
- "@sentry/react": "7.52.1",
15
- "@sentry/tracing": "7.52.1",
14
+ "@sentry/react": "7.83.0",
15
+ "@sentry/tracing": "7.83.0",
16
16
  "@types/ua-parser-js": "^0.7.37",
17
17
  "@xstate/react": "3.2.2",
18
18
  "axios": "0.27.2",
@@ -47,7 +47,7 @@
47
47
  "resolve-url-loader": "4.0.0",
48
48
  "rxjs": "7.8.1",
49
49
  "semver": "7.5.1",
50
- "ua-parser-js": "^1.0.36",
50
+ "ua-parser-js": "^2.0.0-beta.1",
51
51
  "web-vitals": "2.1.4",
52
52
  "workbox-webpack-plugin": "6.5.4",
53
53
  "xstate": "4.37.2"