This repository has been archived on 2023-12-17. You can view files and clone it, but cannot push or open issues or pull requests.
extension/shared/vars.ts

18 lines
405 B
TypeScript

let communicationKey: Uint8Array;
let remoteCommunicationKey: Uint8Array;
export function setCommunicationKey(key: Uint8Array) {
communicationKey = key;
}
export function getCommunicationKey() {
return communicationKey;
}
export function setRemoteCommunicationKey(key: Uint8Array) {
remoteCommunicationKey = key;
}
export function getRemoteCommunicationKey() {
return remoteCommunicationKey;
}