siam-ui-utils 2.1.12 → 2.1.14

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.
package/index.d.ts CHANGED
@@ -75,5 +75,5 @@ declare module 'siam-ui-utils' {
75
75
  export function TomarFoto(props);
76
76
 
77
77
  //VIDEO CALL ROOM
78
- export function VideoCallRoom(props);
78
+ export function WherebyRoom(props);
79
79
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "siam-ui-utils",
3
- "version": "2.1.12",
3
+ "version": "2.1.14",
4
4
  "keywords": [
5
5
  "ampf-react",
6
6
  "ampf-utils",
@@ -24,6 +24,7 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@types/react-intl": "^3.0.0",
27
+ "@whereby.com/browser-sdk": "^3.12.18",
27
28
  "events": "^3.3.0",
28
29
  "html5-file-selector": "^2.1.0",
29
30
  "prop-types": "^15.8.1",
@@ -63,8 +64,8 @@
63
64
  "eslint-plugin-react-hooks": "^5.1.0-rc.0",
64
65
  "eslint-plugin-react-refresh": "^0.4.9",
65
66
  "sass-embedded": "^1.79.4",
66
- "vite": "^5.3.4",
67
+ "vite": "^7.0.1",
67
68
  "vite-plugin-eslint": "^1.8.1",
68
- "vitest": "^2.0.5"
69
+ "vitest": "^3.2.4"
69
70
  }
70
71
  }
package/src/App.jsx CHANGED
@@ -9,7 +9,7 @@ import { TomarFoto, DropzoneUploader, DropzoneUploaderDniDigital } from './';
9
9
  import './index.css';
10
10
  import './App.css';
11
11
  import './assets/css/vendor/bootstrap.min.css';
12
- import { VideoCallRoom } from './video-call-room';
12
+ import { WhereByRoom } from './where-by-room';
13
13
 
14
14
  const App = () => {
15
15
  const [open, setOpen] = useState('0');
@@ -71,7 +71,7 @@ const App = () => {
71
71
  <AccordionItem>
72
72
  <AccordionHeader targetId="4">Video Call Room</AccordionHeader>
73
73
  <AccordionBody accordionId="4">
74
- <VideoCallRoom
74
+ <WhereByRoom
75
75
  url="https://whereby.com/test-ampf-room"
76
76
  title="Videollamada de ejemplo"
77
77
  />
package/src/index.js CHANGED
@@ -5,4 +5,4 @@ export * from './CustomBootstrap';
5
5
  export * from './CustomSelectInput';
6
6
  export * from './tomar-foto';
7
7
  export * as IntlMessages from './IntlMessages';
8
- export * from './video-call-room';
8
+ export * from './where-by-room';
@@ -0,0 +1,2 @@
1
+ export const ALERT_TIMEOUT = 5; //5 MINUTOS (alerta de tiempo restante)
2
+ export const SESSION_TIMEOUT = 30; //30 MINUTOS
@@ -1,4 +1,4 @@
1
- export const VideoCallRoom = ({ url, title = 'Videollamada AMPF' }) => {
1
+ export const WhereByRoom = ({ url, title = 'Videollamada AMPF' }) => {
2
2
  return (
3
3
  <iframe
4
4
  src={url}