better E2E encryption, nicer UI, bug fixes, more
This commit is contained in:
@@ -1,5 +1,13 @@
|
||||
import { writable, type Writable } from 'svelte/store';
|
||||
import { ConnectionState } from '../types/websocket';
|
||||
|
||||
export let room: Writable<string | null> = writable(null);
|
||||
export let connectionState: Writable<ConnectionState> = writable(ConnectionState.DISCONNECTED);
|
||||
export interface Room {
|
||||
id: string | null;
|
||||
connectionState: ConnectionState;
|
||||
}
|
||||
|
||||
export const room: Writable<Room> = writable({
|
||||
id: null,
|
||||
connectionState: ConnectionState.DISCONNECTED,
|
||||
key: null,
|
||||
});
|
||||
Reference in New Issue
Block a user