element-call-Github/package.json

130 lines
4.6 KiB
JSON
Raw Normal View History

2021-07-17 05:22:03 +08:00
{
2024-05-27 20:29:15 +08:00
"name": "element-call",
2021-07-17 05:22:03 +08:00
"version": "0.0.0",
2022-10-10 21:19:10 +08:00
"type": "module",
2021-07-17 05:22:03 +08:00
"scripts": {
"dev": "vite",
"build": "NODE_OPTIONS=--max-old-space-size=16384 vite build",
2021-12-24 04:45:00 +08:00
"serve": "vite preview",
"prettier:check": "prettier -c .",
"prettier:format": "prettier -w .",
"lint": "yarn lint:types && yarn lint:eslint",
"lint:eslint": "eslint --max-warnings 0 src",
"lint:eslint-fix": "eslint --max-warnings 0 src --fix",
2022-10-10 21:19:10 +08:00
"lint:types": "tsc",
2022-10-24 22:53:55 +08:00
"i18n": "node_modules/i18next-parser/bin/cli.js",
"i18n:check": "node_modules/i18next-parser/bin/cli.js --fail-on-warnings --fail-on-update",
"test": "vitest",
"test:coverage": "vitest run --coverage",
"backend": "docker-compose -f backend-docker-compose.yml up"
2021-07-17 05:22:03 +08:00
},
"dependencies": {
2022-01-22 05:21:23 +08:00
"@juggle/resize-observer": "^3.3.1",
"@livekit/components-core": "^0.10.0",
2024-02-21 21:56:04 +08:00
"@livekit/components-react": "^2.0.0",
2022-12-22 02:46:19 +08:00
"@matrix-org/olm": "https://gitlab.matrix.org/api/v4/projects/27/packages/npm/@matrix-org/olm/-/@matrix-org/olm-3.2.14.tgz",
"@opentelemetry/api": "^1.4.0",
"@opentelemetry/context-zone": "^1.9.1",
"@opentelemetry/exporter-jaeger": "^1.9.1",
"@opentelemetry/exporter-trace-otlp-http": "^0.48.0",
"@opentelemetry/instrumentation-document-load": "^0.38.0",
"@opentelemetry/instrumentation-user-interaction": "^0.36.0",
"@opentelemetry/sdk-trace-web": "^1.9.1",
"@radix-ui/react-dialog": "^1.0.4",
2023-12-02 06:43:09 +08:00
"@radix-ui/react-slider": "^1.1.2",
"@radix-ui/react-visually-hidden": "^1.0.3",
2021-12-04 03:45:29 +08:00
"@react-aria/button": "^3.3.4",
"@react-aria/focus": "^3.5.0",
2021-12-04 08:42:29 +08:00
"@react-aria/menu": "^3.3.0",
2021-12-04 03:45:29 +08:00
"@react-aria/overlays": "^3.7.3",
2021-12-07 09:34:10 +08:00
"@react-aria/select": "^3.6.0",
"@react-aria/tabs": "^3.1.0",
2021-12-15 14:00:00 +08:00
"@react-aria/tooltip": "^3.1.3",
2021-12-04 03:45:29 +08:00
"@react-aria/utils": "^3.10.0",
"@react-rxjs/core": "^0.10.7",
2022-04-08 05:22:36 +08:00
"@react-spring/web": "^9.4.4",
2021-12-04 08:42:29 +08:00
"@react-stately/collections": "^3.3.4",
2021-12-07 09:34:10 +08:00
"@react-stately/select": "^3.1.3",
2021-12-15 14:00:00 +08:00
"@react-stately/tooltip": "^3.0.5",
2021-12-04 08:42:29 +08:00
"@react-stately/tree": "^3.2.0",
"@sentry/react": "^7.0.0",
"@sentry/tracing": "^7.0.0",
"@types/lodash": "^4.14.199",
2022-04-08 05:22:36 +08:00
"@use-gesture/react": "^10.2.11",
"@vector-im/compound-design-tokens": "^1.0.0",
"@vector-im/compound-web": "^3.0.0",
"@vitejs/plugin-basic-ssl": "^1.0.1",
"@vitejs/plugin-react": "^4.0.1",
"buffer": "^6.0.3",
2021-07-31 07:55:25 +08:00
"classnames": "^2.3.1",
2021-07-17 05:22:03 +08:00
"events": "^3.3.0",
2023-09-26 00:28:17 +08:00
"i18next": "^23.0.0",
"i18next-browser-languagedetector": "^7.0.0",
"i18next-http-backend": "^2.0.0",
2024-02-21 22:05:05 +08:00
"livekit-client": "^2.0.2",
"lodash": "^4.17.21",
Knocking support (#2281) * Add joining with knock room creation flow. Also add `WaitForInviteView` after knocking. And appropriate error views when knock failed or gets rejected. Signed-off-by: Timo K <toger5@hotmail.de> * Refactor encryption information. We had lots of enums and booleans to describe the encryption situation. Now we only use the `EncryptionSystem` "enum" which contains the additional information like sharedKey. (and we don't use the isRoomE2EE function that is somewhat confusing since it checks `return widget === null && !room.getCanonicalAlias();` which is only indirectly related to e2ee) Signed-off-by: Timo K <toger5@hotmail.de> * Update recent list. - Don't use deprecated `groupCallEventHander` anymore (it used the old `m.call` state event.) - make the recent list reactive (getting removed from a call removes the item from the list) - support having rooms without shared secret but actual matrix encryption in the recent list - change the share link creation button so that we create a link with pwd for sharedKey rooms and with `perParticipantE2EE=true` for matrix encrypted rooms. Signed-off-by: Timo K <toger5@hotmail.de> * fix types Signed-off-by: Timo K <toger5@hotmail.de> * patch js-sdk for linter Signed-off-by: Timo K <toger5@hotmail.de> * ignore ts expect error Signed-off-by: Timo K <toger5@hotmail.de> * Fix error in widget mode. We cannot call client.getRoomSummary in widget mode. The code path needs to throw before reaching this call. (In general we should never call getRoomSummary if getRoom returns a room) Signed-off-by: Timo K <toger5@hotmail.de> * tempDemo Signed-off-by: Timo K <toger5@hotmail.de> * remove wait for invite view Signed-off-by: Timo K <toger5@hotmail.de> * yarn i18n Signed-off-by: Timo K <toger5@hotmail.de> * reset back mute participant count * add logic to show error view when getting removed * include reason whenever someone gets removed from a call. * fix activeRoom not beeing early enough * fix lints * add comment about encryption situation Signed-off-by: Timo K <toger5@hotmail.de> * Fix lockfile * Use (unmerged!) RoomSummary type from the js-sdk Temporarily change the js-sdk dependency to the PR branch that provides that type * review Signed-off-by: Timo K <toger5@hotmail.de> * review (remove participant count unknown) Signed-off-by: Timo K <toger5@hotmail.de> * remove error for unencrypted calls (allow intentional unencrypted calls) Signed-off-by: Timo K <toger5@hotmail.de> * update js-sdk Signed-off-by: Timo K <toger5@hotmail.de> --------- Signed-off-by: Timo K <toger5@hotmail.de> Co-authored-by: Andrew Ferrazzutti <andrewf@element.io>
2024-04-23 21:15:13 +08:00
"matrix-js-sdk": "github:matrix-org/matrix-js-sdk#e874468ba3e84819cf4b342d2e66af67ab4cf804",
2023-03-22 23:33:50 +08:00
"matrix-widget-api": "^1.3.1",
2022-01-05 08:00:13 +08:00
"normalize.css": "^8.0.1",
2022-02-02 07:11:06 +08:00
"pako": "^2.0.4",
"postcss-preset-env": "^9.0.0",
"posthog-js": "^1.29.0",
"react": "18",
"react-dom": "18",
2024-01-09 12:36:32 +08:00
"react-i18next": "^14.0.0",
2021-12-04 03:45:29 +08:00
"react-router-dom": "^5.2.0",
2022-01-22 05:21:23 +08:00
"react-use-clipboard": "^1.0.7",
2022-02-16 04:46:58 +08:00
"react-use-measure": "^2.1.1",
"rxjs": "^7.8.1",
"sdp-transform": "^2.14.1",
"tinyqueue": "^2.0.3",
"unique-names-generator": "^4.6.0",
"uuid": "9",
2024-02-02 08:32:24 +08:00
"vaul": "^0.9.0"
2021-07-17 05:22:03 +08:00
},
"devDependencies": {
2021-12-24 04:45:00 +08:00
"@babel/core": "^7.16.5",
"@babel/preset-env": "^7.22.20",
"@babel/preset-react": "^7.22.15",
"@babel/preset-typescript": "^7.23.0",
"@react-spring/rafz": "^9.7.3",
"@react-types/dialog": "^3.5.5",
"@sentry/vite-plugin": "^2.0.0",
"@testing-library/react": "^14.0.0",
2023-09-28 05:34:41 +08:00
"@testing-library/user-event": "^14.5.1",
"@types/content-type": "^1.1.5",
"@types/dom-screen-wake-lock": "^1.0.1",
2023-08-31 21:31:12 +08:00
"@types/dompurify": "^3.0.2",
"@types/grecaptcha": "^3.0.4",
2023-10-24 09:26:02 +08:00
"@types/node": "^20.0.0",
"@types/react-router-dom": "^5.3.3",
"@types/request": "^2.48.8",
"@types/sdp-transform": "^2.4.5",
"@types/uuid": "9",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
2023-09-19 23:16:27 +08:00
"babel-loader": "^9.0.0",
"babel-plugin-transform-vite-meta-env": "^1.0.3",
2022-05-03 22:32:16 +08:00
"eslint": "^8.14.0",
2022-05-06 18:32:09 +08:00
"eslint-config-google": "^0.14.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-deprecate": "^0.8.2",
2022-05-06 18:32:09 +08:00
"eslint-plugin-import": "^2.26.0",
2022-05-03 22:32:16 +08:00
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-matrix-org": "^1.2.1",
2022-05-03 22:32:16 +08:00
"eslint-plugin-react": "^7.29.4",
"eslint-plugin-react-hooks": "^4.5.0",
"eslint-plugin-unicorn": "^51.0.0",
2023-09-26 00:22:46 +08:00
"i18next-parser": "^8.0.0",
"jsdom": "^24.0.0",
2023-10-11 22:38:05 +08:00
"prettier": "^3.0.0",
2021-09-30 05:34:29 +08:00
"sass": "^1.42.1",
"typescript": "^5.1.6",
"typescript-eslint-language-service": "^5.0.5",
2023-12-01 17:52:51 +08:00
"vite": "^5.0.0",
2022-02-03 13:48:44 +08:00
"vite-plugin-html-template": "^1.1.0",
"vite-plugin-svgr": "^4.0.0",
"vitest": "^1.2.2"
2021-07-17 05:22:03 +08:00
}
}