Browse Source

fix imports of session

merge-requests/2/merge
Paul Tirk 1 year ago
parent
commit
5bef83239a
  1. 9
      src/classes/Session.ts

9
src/classes/Session.ts

@ -1,7 +1,10 @@
import WebSocket from 'ws';
import {v4 as uuid} from 'uuid';
import {IRoomRequestData, BackendApiRequestHelper} from './BackendApiRequestHelper';
import {MessageType, IClientMessage, MessageRecipient, IServerMessage, IMessageSessionRecipient, IMessageUserRecipient} from '../types/Events';
import {BackendApiRequestHelper} from './BackendApiRequestHelper';
import {MessageType, IClientMessage, IServerMessage, IMessageSessionRecipient} from '../types/Events';
import {ClientMessageType} from '../types/SignalingMessages';
import {IBackendRoomRequest} from '../types/BackendRequests';
export class Session {
@ -145,7 +148,7 @@ export class Session {
const action = data.roomid ? 'join' : 'leave';
const sendData: IRoomRequestData = {
const sendData: IBackendRoomRequest['room'] = {
version: '1.0',
userid: this.ncUserId,
sessionid: sessionId,

Loading…
Cancel
Save