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