Build / build (push) Has been cancelled
After deeper analysis of matrix-js-sdk internals, the original EncryptedContent implementation is correct. The SDK's Rust crypto layer handles retry automatically: 1. Events are added to eventsPendingKey when decryption fails 2. When new room keys arrive, onRoomKey() retries all pending events 3. attemptDecryption emits MatrixEventEvent.Decrypted on success 4. The existing handleDecrypted listener picks this up and re-renders The real decryption issues are likely: - Key backup not restoring properly (Cinny #2203) - Megolm sessions never shared to new devices - Cross-signing verification not triggering key share - Sliding sync delaying event delivery vs key delivery The EncryptedContent component was not the problem.
134 lines
4.2 KiB
JSON
134 lines
4.2 KiB
JSON
{
|
|
"name": "sable",
|
|
"version": "1.13.1",
|
|
"description": "An almost stable Matrix client",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"fmt": "prettier --write .",
|
|
"fmt:check": "prettier --check .",
|
|
"typecheck": "tsc",
|
|
"test": "vitest",
|
|
"test:ui": "vitest --ui",
|
|
"test:run": "vitest run",
|
|
"test:coverage": "vitest run --coverage",
|
|
"knip": "knip",
|
|
"tunnel": "cloudflared tunnel --url http://localhost:8080",
|
|
"knope": "knope",
|
|
"document-change": "knope document-change",
|
|
"postinstall": "node scripts/install-knope.js"
|
|
},
|
|
"keywords": [],
|
|
"author": "7w1",
|
|
"license": "AGPL-3.0-only",
|
|
"dependencies": {
|
|
"@arborium/arborium": "^2.16.0",
|
|
"@atlaskit/pragmatic-drag-and-drop": "^1.7.7",
|
|
"@atlaskit/pragmatic-drag-and-drop-auto-scroll": "^1.4.0",
|
|
"@atlaskit/pragmatic-drag-and-drop-hitbox": "^1.1.0",
|
|
"@fontsource-variable/nunito": "5.2.7",
|
|
"@fontsource/space-mono": "5.2.9",
|
|
"@phosphor-icons/react": "^2.1.10",
|
|
"@sentry/react": "^10.43.0",
|
|
"@tanstack/react-query": "^5.90.21",
|
|
"@tanstack/react-query-devtools": "^5.91.3",
|
|
"@tanstack/react-virtual": "^3.13.19",
|
|
"@use-gesture/react": "10.3.1",
|
|
"@vanilla-extract/css": "^1.18.0",
|
|
"@vanilla-extract/recipes": "^0.5.7",
|
|
"@vanilla-extract/vite-plugin": "^5.1.4",
|
|
"await-to-js": "^3.0.0",
|
|
"badwords-list": "^2.0.1-4",
|
|
"blurhash": "^2.0.5",
|
|
"browser-encrypt-attachment": "^0.3.0",
|
|
"chroma-js": "^3.2.0",
|
|
"classnames": "^2.5.1",
|
|
"dayjs": "^1.11.19",
|
|
"domhandler": "^5.0.3",
|
|
"dompurify": "^3.3.3",
|
|
"emojibase": "^15.3.1",
|
|
"emojibase-data": "^15.3.2",
|
|
"eslint-plugin-react": "7.37.5",
|
|
"eventemitter3": "^5.0.4",
|
|
"file-saver": "^2.0.5",
|
|
"focus-trap-react": "^10.3.1",
|
|
"folds": "^2.6.2",
|
|
"framer-motion": "12.34.3",
|
|
"html-dom-parser": "^5.1.8",
|
|
"html-react-parser": "^4.2.10",
|
|
"i18next": "^25.8.13",
|
|
"i18next-browser-languagedetector": "^8.2.1",
|
|
"i18next-http-backend": "^2.7.3",
|
|
"immer": "^9.0.21",
|
|
"is-hotkey": "^0.2.0",
|
|
"jotai": "^2.18.0",
|
|
"linkify-react": "^4.3.2",
|
|
"linkifyjs": "^4.3.2",
|
|
"matrix-js-sdk": "^38.4.0",
|
|
"matrix-widget-api": "^1.16.1",
|
|
"pdfjs-dist": "^5.4.624",
|
|
"react": "^18.3.1",
|
|
"react-aria": "^3.46.0",
|
|
"react-blurhash": "^0.3.0",
|
|
"react-colorful": "^5.6.1",
|
|
"react-dom": "^18.3.1",
|
|
"react-google-recaptcha": "^2.1.0",
|
|
"react-i18next": "^16.5.4",
|
|
"react-range": "^1.10.0",
|
|
"react-router-dom": "^6.30.3",
|
|
"slate": "^0.123.0",
|
|
"slate-dom": "^0.123.0",
|
|
"slate-history": "^0.113.1",
|
|
"slate-react": "^0.123.0",
|
|
"ua-parser-js": "^1.0.41",
|
|
"virtua": "^0.48.8",
|
|
"workbox-precaching": "^7.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cloudflare/vite-plugin": "^1.26.0",
|
|
"@esbuild-plugins/node-globals-polyfill": "^0.2.3",
|
|
"@eslint/compat": "2.0.2",
|
|
"@eslint/js": "9.39.3",
|
|
"@rollup/plugin-inject": "^5.0.5",
|
|
"@rollup/plugin-wasm": "^6.2.2",
|
|
"@sableclient/sable-call-embedded": "v1.1.4",
|
|
"@sentry/vite-plugin": "^5.1.1",
|
|
"@testing-library/jest-dom": "^6.9.1",
|
|
"@testing-library/react": "^16.3.2",
|
|
"@testing-library/user-event": "^14.6.1",
|
|
"@types/chroma-js": "^3.1.2",
|
|
"@types/file-saver": "^2.0.7",
|
|
"@types/is-hotkey": "^0.1.10",
|
|
"@types/node": "24.10.13",
|
|
"@types/react": "^18.3.28",
|
|
"@types/react-dom": "^18.3.7",
|
|
"@types/react-google-recaptcha": "^2.1.9",
|
|
"@types/ua-parser-js": "^0.7.39",
|
|
"@vitejs/plugin-react": "^5.1.4",
|
|
"@vitest/coverage-v8": "^4.1.0",
|
|
"@vitest/ui": "^4.1.0",
|
|
"buffer": "^6.0.3",
|
|
"cloudflared": "^0.7.1",
|
|
"eslint": "9.39.3",
|
|
"eslint-config-airbnb-extended": "3.0.1",
|
|
"eslint-config-prettier": "10.1.8",
|
|
"eslint-plugin-prettier": "5.5.5",
|
|
"globals": "17.3.0",
|
|
"jsdom": "^29.0.0",
|
|
"knip": "5.85.0",
|
|
"prettier": "3.8.1",
|
|
"typescript": "^5.9.3",
|
|
"vite": "^7.3.1",
|
|
"vite-plugin-compression2": "2.5.0",
|
|
"vite-plugin-pwa": "^1.2.0",
|
|
"vite-plugin-static-copy": "^3.2.0",
|
|
"vite-plugin-svgr": "4.5.0",
|
|
"vite-plugin-top-level-await": "^1.6.0",
|
|
"vitest": "^4.1.0",
|
|
"wrangler": "^4.70.0"
|
|
}
|
|
} |