mirror of
https://github.com/vector-im/element-call.git
synced 2026-07-24 19:19:21 +00:00
es2024 and array buffer adaptions
This commit is contained in:
@@ -44,7 +44,7 @@ export class MatrixKeyProvider extends BaseKeyProvider {
|
|||||||
encryptionKeyIndex: number,
|
encryptionKeyIndex: number,
|
||||||
participantId: string,
|
participantId: string,
|
||||||
): void => {
|
): void => {
|
||||||
createKeyMaterialFromBuffer(encryptionKey).then(
|
createKeyMaterialFromBuffer(encryptionKey.buffer as ArrayBuffer).then(
|
||||||
(keyMaterial) => {
|
(keyMaterial) => {
|
||||||
this.onSetEncryptionKey(keyMaterial, participantId, encryptionKeyIndex);
|
this.onSetEncryptionKey(keyMaterial, participantId, encryptionKeyIndex);
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
"target": "es2022",
|
"target": "es2022",
|
||||||
"module": "es2022",
|
"module": "es2022",
|
||||||
"jsx": "react-jsx",
|
"jsx": "react-jsx",
|
||||||
"lib": ["es2022", "dom", "dom.iterable"],
|
"lib": ["es2024", "dom", "dom.iterable"],
|
||||||
|
|
||||||
// From Matrix-JS-SDK
|
// From Matrix-JS-SDK
|
||||||
"strict": true,
|
"strict": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user