@myinterview/widget-react 1.1.34-development-2caedc5 → 1.1.34-development-0a405fc

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.34-development-2caedc5",
3
+ "version": "1.1.34-development-0a405fc",
4
4
  "description": "myInterview widget v3",
5
5
  "module": "dist/esm/index.js",
6
6
  "main": "dist/cjs/index.js",
@@ -15,12 +15,12 @@
15
15
  "@sentry/tracing": "7.83.0",
16
16
  "@types/ua-parser-js": "^0.7.37",
17
17
  "@xstate/react": "3.2.2",
18
- "axios": "0.27.2",
18
+ "axios": "1.6.0",
19
19
  "babel-plugin-named-asset-import": "0.3.8",
20
20
  "bfj": "7.0.2",
21
21
  "browserslist": "4.21.5",
22
22
  "camelcase": "6.3.0",
23
- "crypto-js": "4.1.1",
23
+ "crypto-js": "4.2.0",
24
24
  "css-minimizer-webpack-plugin": "3.4.1",
25
25
  "detect-incognito": "1.0.0",
26
26
  "dotenv": "10.0.0",
@@ -44,10 +44,10 @@
44
44
  "react-shadow": "20.0.0",
45
45
  "react-use-intercom": "2.1.0",
46
46
  "resolve": "1.22.0",
47
- "resolve-url-loader": "4.0.0",
47
+ "resolve-url-loader": "5.0.0",
48
48
  "rxjs": "7.8.1",
49
- "semver": "7.5.1",
50
- "ua-parser-js": "^1.0.36",
49
+ "semver": "7.5.2",
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"
@@ -84,7 +84,7 @@
84
84
  ]
85
85
  },
86
86
  "devDependencies": {
87
- "@babel/core": "^7.16.0",
87
+ "@babel/core": "^7.23.5",
88
88
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
89
89
  "@rollup/plugin-babel": "^6.0.2",
90
90
  "@rollup/plugin-commonjs": "^22.0.1",
@@ -106,7 +106,7 @@
106
106
  "@typescript-eslint/eslint-plugin": "^5.19.0",
107
107
  "@typescript-eslint/parser": "^5.30.0",
108
108
  "babel-jest": "^27.4.2",
109
- "babel-loader": "^8.3.0",
109
+ "babel-loader": "^9.1.3",
110
110
  "babel-preset-react-app": "^10.0.1",
111
111
  "case-sensitive-paths-webpack-plugin": "^2.4.0",
112
112
  "classnames": "^2.3.1",