@opexa/portal-components 0.0.545 → 0.0.547

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.
@@ -16,8 +16,8 @@ export function SessionWatcher() {
16
16
  onSuccess() {
17
17
  router.refresh();
18
18
  toaster.warning({
19
- title: 'Session expired',
20
- description: 'Your session has expired. Please sign in again to continue.',
19
+ title: 'Logged Out',
20
+ description: 'Account accessed from a different device or browser.',
21
21
  });
22
22
  },
23
23
  });
@@ -44,7 +44,7 @@ export function useIdFrontImageField(props) {
44
44
  // const desktop = useMediaQuery('(min-width: 1024px)');
45
45
  const camera = useCamera({
46
46
  video: {
47
- facingMode: 'user',
47
+ facingMode: 'environment',
48
48
  },
49
49
  async transform(data) {
50
50
  const guideRect = guideRef.current?.getBoundingClientRect();
@@ -46,7 +46,7 @@ export function useSelfieImageField(props) {
46
46
  const [validatingFace, setValidatingFace] = useState(false);
47
47
  const camera = useCamera({
48
48
  video: {
49
- facingMode: 'environment',
49
+ facingMode: 'user',
50
50
  },
51
51
  async transform(data) {
52
52
  if (validatingFace)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opexa/portal-components",
3
- "version": "0.0.545",
3
+ "version": "0.0.547",
4
4
  "exports": {
5
5
  "./ui/*": {
6
6
  "types": "./dist/ui/*/index.d.ts",