@myinterview/widget-react 1.1.21-development-5e391f9 → 1.1.21

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.
@@ -76,6 +76,7 @@ export interface IVideo {
76
76
  reminder: number;
77
77
  source: number;
78
78
  };
79
+ region?: 'us' | 'eu' | 'au' | 'london';
79
80
  }
80
81
  export declare const enum VIDEO_STATUS {
81
82
  INCOMPLETED = 0,
@@ -1,6 +1,5 @@
1
1
  export declare const isMobile: boolean;
2
2
  export declare const isAndroid: boolean;
3
- export declare const isIphone: boolean;
4
3
  export declare const isFireFox: boolean;
5
4
  export declare const isSupportedIosDevice: boolean;
6
5
  export declare const isSupportedDevice: boolean;
@@ -11,5 +10,4 @@ type DEVICE_TYPE = {
11
10
  BROWSER: typeof BROWSERS_OPTIONS[number];
12
11
  };
13
12
  export declare const DEVICE: DEVICE_TYPE;
14
- export declare const getIPhoneModel: () => string;
15
13
  export {};
@@ -1,5 +1,6 @@
1
+ import * as Sentry from '@sentry/browser';
1
2
  import { DoneInvokeEvent } from 'xstate';
2
3
  import { Breadcrumb } from '@sentry/types';
3
- export declare const startSentry: () => void;
4
+ export declare const SentryHub: Sentry.Hub;
4
5
  export declare const SentryTrackingFn: (event: DoneInvokeEvent<any>, context: any, name: string, level: 'fatal' | 'error' | 'warning' | 'log' | 'info' | 'debug') => void;
5
6
  export declare const SentryBreadcrumb: ({ type, level, event_id, category, message, data }: Breadcrumb) => void;
package/dist/index.d.ts CHANGED
@@ -166,6 +166,7 @@ interface IVideo {
166
166
  reminder: number;
167
167
  source: number;
168
168
  };
169
+ region?: 'us' | 'eu' | 'au' | 'london';
169
170
  }
170
171
 
171
172
  type IMessageType = 'completed' | 'deadline' | 'applied' | 'inactiveJob';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myinterview/widget-react",
3
- "version": "1.1.21-development-5e391f9",
3
+ "version": "1.1.21",
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.43",
14
- "@sentry/react": "^7.48.0",
15
- "@sentry/tracing": "^7.48.0",
14
+ "@sentry/react": "^7.7.0",
15
+ "@sentry/tracing": "^7.7.0",
16
16
  "@xstate/react": "^3.0.1",
17
17
  "axios": "^0.27.2",
18
18
  "babel-plugin-named-asset-import": "^0.3.8",
@@ -48,7 +48,7 @@
48
48
  "semver": "^7.3.5",
49
49
  "web-vitals": "^2.1.4",
50
50
  "workbox-webpack-plugin": "^6.4.1",
51
- "xstate": "4.37.1"
51
+ "xstate": "^4.33.2"
52
52
  },
53
53
  "scripts": {
54
54
  "start": "REACT_APP_RELEASE=$npm_package_version REACT_APP_ENV=local HTTPS=true node scripts/start.js",
@@ -59,7 +59,7 @@
59
59
  "publish-staging": "REACT_APP_RELEASE=$npm_package_version REACT_APP_ENV=staging rollup -c && npm publish --tag beta",
60
60
  "publish-experimental": "REACT_APP_RELEASE=$npm_package_version REACT_APP_ENV=staging rollup -c && npm publish --tag experimental",
61
61
  "build-experimental": "REACT_APP_RELEASE=$npm_package_version REACT_APP_ENV=staging rollup -c ",
62
- "build-staging": "REACT_APP_RELEASE=$npm_package_version REACT_APP_ENV=staging rollup -c ",
62
+ "build-staging": "REACT_APP_RELEASE=$npm_package_version REACT_APP_ENV=staging rollup -c ",
63
63
  "build-master": "REACT_APP_RELEASE=$npm_package_version REACT_APP_ENV=prod rollup -c ",
64
64
  "test": "node scripts/test.js"
65
65
  },